cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r555921 - /incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js
Date Fri, 13 Jul 2007 10:01:13 GMT
Author: ffang
Date: Fri Jul 13 03:01:13 2007
New Revision: 555921

URL: http://svn.apache.org/viewvc?view=rev&rev=555921
Log:
[CXF-786] patch for sample js_provider provided by Jeff Zhang

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

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js?view=diff&rev=555921&r1=555920&r2=555921
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/impl.js Fri Jul
13 03:01:13 2007
@@ -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);



Mime
View raw message