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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/07/30 10:21:52 UTC
[jira] Commented: (AXIS2-3021) java.lang.StackOverflowError when
trying to generate code for an Amazon service.
[ https://issues.apache.org/jira/browse/AXIS2-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516326 ]
Amila Chinthaka Suriarachchi commented on AXIS2-3021:
-----------------------------------------------------
This error is because circular element references. which ADB does not support. (unfortunately it is not straight forward to fix this. So this won't be resolved to Axis2 1.3.
this schema contains this element which causes this problem.
<xs:element name="TransactionItem">
<xs:complexType>
<xs:sequence>
<xs:element name="TransactionItemId" type="xs:string"/>
<xs:element name="Quantity" type="xs:string"/>
<xs:element name="UnitPrice" type="tns:Price"/>
<xs:element name="TotalPrice" type="tns:Price"/>
<xs:element name="ASIN" type="xs:string" minOccurs="0"/>
<xs:element name="ChildTransactionItems" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="tns:TransactionItem" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
> java.lang.StackOverflowError when trying to generate code for an Amazon service.
> --------------------------------------------------------------------------------
>
> Key: AXIS2-3021
> URL: https://issues.apache.org/jira/browse/AXIS2-3021
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Environment: Windows XP SP2 / JDK 1.4.12
> Reporter: Cristian Ivascu
> Assignee: Amila Chinthaka Suriarachchi
>
> When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl) I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org