[ 
https://issues.apache.org/jira/browse/AXIS2-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amila Chinthaka Suriarachchi reassigned AXIS2-4035:
---------------------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>            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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to