You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/09/21 16:12:08 UTC

svn commit: r448558 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java

Author: dims
Date: Thu Sep 21 07:12:08 2006
New Revision: 448558

URL: http://svn.apache.org/viewvc?view=rev&rev=448558
Log:
Fix for AXIS2-1173 - Error occured while testing the "Code Generator Tool- Command Line and Ant Task"

Modified:
    webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java?view=diff&rev=448558&r1=448557&r2=448558
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java Thu Sep 21 07:12:08 2006
@@ -1140,6 +1140,7 @@
             }
 
             if (wrapClasses) {
+                rootElt = (Element) globalWrappedDocument.importNode(rootElt, true);
                 //add to the global wrapped document
                 globalWrappedDocument.getDocumentElement().appendChild(rootElt);
             } else {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org