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 "Afkham Azeez (JIRA)" <ji...@apache.org> on 2010/12/22 12:26:04 UTC

[jira] Resolved: (AXIS2-4035) wsdl2java code generation problem for ADB

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

Afkham Azeez resolved AXIS2-4035.
---------------------------------

    Resolution: Fixed

This issue seems to be fixed now since I was able to successfully generate code for the provided WSDL

> wsdl2java code generation problem for ADB
> -----------------------------------------
>
>                 Key: AXIS2-4035
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4035
>             Project: 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.
> You can find the wsdl at http://abr.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx?WSDL

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org