axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4035) wsdl2java code generation problem for ADB
Date Wed, 17 Sep 2008 09:25:44 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631702#action_12631702
] 

Amila Chinthaka Suriarachchi commented on AXIS2-4035:
-----------------------------------------------------

could you please attach your full wsdl file? Or a sample wsdl to show your issue.

> wsdl2java code generation problem for ADB
> -----------------------------------------
>
>                 Key: AXIS2-4035
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4035
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4
>         Environment: win
>            Reporter: Shehan Simen
>            Priority: Critical
>
> I got the following element in a complex type.
>  
> <s:complexType name="ResponseBusinessEntity" mixed="false">
> <s:complexContent mixed="false">
> <s:extension base="tns:ResponseBody">
> <s:sequence>
> <s:choice minOccurs="0" maxOccurs="unbounded">
>                         <s:element name="legalName" type="tns:IndividualName" minOccurs="0"/>
>                         <s:element name="mainName" type="tns:OrganisationName" minOccurs="0"/>
> </s:choice>
> </s:sequence>
>             </s:extension>
>             </s:complexContent>
> </s:complexType>
>  
> The choice is multiple, means an array.  In this case, if I use ADB, it generates a code
which will create a list in endless loop and finally crash memory. If I use xmlbeans, it seems
working fine.
> In short, if there is a choice with maxOccurs="unbounded", ADB client code (stub) generation
will fail.

-- 
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


Mime
View raw message