axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pantvaidya, Vishwajit" <vpant...@selectica.com>
Subject [Axis2] Stack overflow error in wsdl2java for wsdl that imports several xsds
Date Thu, 12 Feb 2009 05:03:18 GMT
I am using Axis 1.4.1 WSDL2Java to generate client side stubs for 2 wsdls. Both of these, in
their <types> section, import 7-8 xsd schemas using xsd:import. Code generation for
one of the wsdls goes fine. The other one terminates with following error. Is this a bug?
Any workaround?

     [java] Exception in thread "main" java.lang.StackOverflowError
     [java]       at org.apache.ws.commons.schema.XmlSchema.equals(XmlSchema.java:547)
     [java]       at java.util.Vector.indexOf(Vector.java:364)
     [java]       at java.util.Vector.contains(Vector.java:322)
     [java]       at org.apache.ws.commons.schema.XmlSchema.getElementByName(XmlSchema.java:177)
     [java]       at org.apache.ws.commons.schema.XmlSchema.getElementByName(XmlSchema.java:199)
     [java]       at org.apache.ws.commons.schema.XmlSchema.getElementByName(XmlSchema.java:199)
     [java]       at org.apache.ws.commons.schema.XmlSchema.getElementByName(XmlSchema.java:199)
     [java]       at org.apache.ws.commons.schema.XmlSchema.getElementByName(XmlSchema.java:232)
     [java]       at org.apache.axis2.description.AxisMessage.getSchemaElement(AxisMessage.java:147)
     [java]       at org.apache.axis2.description.AxisMessage.getSchemaElement(AxisMessage.java:158)

Mime
View raw message