axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pantvaidya, Vishwajit" <vpant...@selectica.com>
Subject RE: [Axis2] Stack overflow error in wsdl2java for wsdl that imports several xsds
Date Tue, 17 Feb 2009 20:28:21 GMT
This error went away when I removed the "-uw" option. Does this mean that "-uw" will not work
for larger wsdls that import several schemas?

- Vish.

________________________________
From: Pantvaidya, Vishwajit [mailto:vpantvai@selectica.com]
Sent: Wednesday, February 11, 2009 9:03 PM
To: axis-user@ws.apache.org
Subject: [Axis2] Stack overflow error in wsdl2java for wsdl that imports several xsds

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