cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r787305 - /cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js
Date Mon, 22 Jun 2009 16:22:25 GMT
Author: sergeyb
Date: Mon Jun 22 16:22:25 2009
New Revision: 787305

URL: http://svn.apache.org/viewvc?rev=787305&view=rev
Log:
Fix for js_provider

Modified:
    cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js

Modified: cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js?rev=787305&r1=787304&r2=787305&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js (original)
+++ cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js Mon Jun 22 16:22:25
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.getOwnerDocument().getImplementation().createDocument(ns4, "ns4:greetMeResponse",
null);
+    var newDoc = document.getImplementation().createDocument(ns4, "ns4:greetMeResponse",
null);
     var el = newDoc.createElementNS(ns4, "ns4:responseType");
     var txt = newDoc.createTextNode("Hi " + name);
     el.insertBefore(txt, null);



Mime
View raw message