cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r817682 - in /cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider: impl.js src/demo/hwDispatch/client/Client.java
Date Tue, 22 Sep 2009 14:49:06 GMT
Author: dkulp
Date: Tue Sep 22 14:49:05 2009
New Revision: 817682

URL: http://svn.apache.org/viewvc?rev=817682&view=rev
Log:
Fix js_provider demo on 2.1

Modified:
    cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/impl.js
    cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/src/demo/hwDispatch/client/Client.java

Modified: cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/impl.js
URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/impl.js?rev=817682&r1=817681&r2=817682&view=diff
==============================================================================
--- cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/impl.js (original)
+++ cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/impl.js Tue
Sep 22 14:49:05 2009
@@ -28,7 +28,7 @@
     var ns4 = "http://apache.org/hello_world_soap_http/types";
     var list = document.getElementsByTagNameNS(ns4, "requestType");
     var name = list.item(0).getFirstChild().getNodeValue();
-    var newDoc = document.getImplementation().createDocument(ns4, "ns4:greetMeResponse",
null);
+    var newDoc = document.getOwnerDocument().getImplementation().createDocument(ns4, "ns4:greetMeResponse",
null);
     var el = newDoc.createElementNS(ns4, "ns4:responseType");
     var txt = newDoc.createTextNode("Hi " + name);
     el.insertBefore(txt, null);

Modified: cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/src/demo/hwDispatch/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/src/demo/hwDispatch/client/Client.java?rev=817682&r1=817681&r2=817682&view=diff
==============================================================================
--- cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/src/demo/hwDispatch/client/Client.java
(original)
+++ cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/js_provider/src/demo/hwDispatch/client/Client.java
Tue Sep 22 14:49:05 2009
@@ -84,7 +84,7 @@
         System.out.println("Invoking server through Dispatch interface using DOMSource in
PAYLOAD Mode");
         DOMSource domRespPayload = dispDOMSrcPayload.invoke(domReqPayload);
         System.out.println("Response from server: "
-                           + domRespPayload.getNode().getFirstChild().getTextContent());
+                           + domRespPayload.getNode().getTextContent());
 
         System.exit(0);
     }



Mime
View raw message