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 am...@apache.org on 2007/08/03 09:14:05 UTC

svn commit: r562359 - /webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java

Author: amilas
Date: Fri Aug  3 00:14:04 2007
New Revision: 562359

URL: http://svn.apache.org/viewvc?view=rev&rev=562359
Log:
commit the patch submitted by upul for Axis2-3043

Modified:
    webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java

Modified: webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java?view=diff&rev=562359&r1=562358&r2=562359
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java (original)
+++ webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java Fri Aug  3 00:14:04 2007
@@ -142,8 +142,8 @@
                         log.debug(saxParseException.getMessage(), saxParseException);
                     }
                 });
-                Document document = schema.getAllSchemas()[0];
-                sc.parseSchema(schema.getTargetNamespace(), document.getDocumentElement());
+
+                sc.parseSchema((InputSource) xmlObjectsVector.get(i));
 
                 // Bind the XML
                 S2JJAXBModel jaxbModel = sc.bind();



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