Dear all,
Thanx for bringing Axis2 to the OSS Community.
I thought I'd port my Axis1 client to Axis2 and started with generating the domain classes with WSDL2Java.
The WSDL is available for all to dl at
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
When I use WSDL2Java to generate the java client domain classes, I get this exception.
C:\Japps\axis2_095\bin>WSDL2Java -uri this.wsdl -o mydir -d xmlbeans -sn AWSECommerceService
Using AXIS2_HOME: C:\Japps\axis2_095
Using JAVA_HOME: C:\JDK\jdk15004
Exception in thread "main" java.lang.StackOverflowError
at java.util.HashMap$ValueIterator.<init>(HashMap.java:815)
at java.util.HashMap$ValueIterator.<init>(HashMap.java:815)
at java.util.HashMap.newValueIterator(HashMap.java:838)
at java.util.HashMap$Values.iterator(HashMap.java:901)
at java.util.AbstractCollection.toArray(AbstractCollection.java:173)
at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.getElementProperties(SchemaTypeImpl.java:778)
at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.findPlainBase64Types(XMLBeansExtension.java:299)
at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.findPlainBase64Types(XMLBeansExtension.java:312)
at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.findPlainBase64Types(XMLBeansExtension.java:312)
at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.findPlainBase64Types(XMLBeansExtension.java:312)
at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.findPlainBase64Types(XMLBeansExtension.java:312)
at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.findPlainBase64Types(XMLBeansExtension.java:312)
repeated zillions of times...
I added the xmlbeans flag because I first got the Unsupported content exception and read the mailing list archive post from dims that suggests to use this flag. I accept that I might be doing sth stupid but still there is an infinite loop pb.
Regards,
Alain
