axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r395482 - /webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPBodyImpl.java
Date Thu, 20 Apr 2006 04:53:16 GMT
Author: ruchithf
Date: Wed Apr 19 21:53:14 2006
New Revision: 395482

URL: http://svn.apache.org/viewcvs?rev=395482&view=rev
Log:
we should use the qulified name when calling createElementNS()

Modified:
    webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPBodyImpl.java

Modified: webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPBodyImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPBodyImpl.java?rev=395482&r1=395481&r2=395482&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPBodyImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPBodyImpl.java
Wed Apr 19 21:53:14 2006
@@ -125,9 +125,9 @@
         if (omSOAPBody.hasFault()) {
             throw new SOAPException("A SOAPFault has been already added to this SOAPBody");
         }
-        SOAPBodyElementImpl childEle =
-                new SOAPBodyElementImpl((ElementImpl) getOwnerDocument().createElementNS(uri,
-                                                                                        
localName));
+        SOAPBodyElementImpl childEle = new SOAPBodyElementImpl(
+                (ElementImpl) getOwnerDocument().createElementNS(uri,
+                        prefix + ":" + localName));
         childEle.element.setUserData(SAAJ_NODE, childEle, null);
         childEle.element.setNamespace(childEle.element.declareNamespace(uri, prefix));
         element.appendChild(childEle.element);



Mime
View raw message