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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/03/15 23:59:29 UTC

[jira] Resolved: (AXIS-1848) wsdl2java

     [ http://issues.apache.org/jira/browse/AXIS-1848?page=history ]
     
Davanum Srinivas resolved AXIS-1848:
------------------------------------

    Resolution: Incomplete

Can you please upload the attachment then i will reopen the bug.

thanks,
dims

> wsdl2java
> ---------
>
>          Key: AXIS-1848
>          URL: http://issues.apache.org/jira/browse/AXIS-1848
>      Project: Axis
>         Type: Bug
>     Reporter: Quansheng Jia
>     Assignee: Davanum Srinivas

>
> Hi;
>  
> I use Axis1.2_RC2 and axis1.2_RC3 to build IFX (Interactive Financial Exchange) base WSDL2Java, I noticed that the tool fail to build correct java bean which mapping to XML schema:
>  
> <xsd:sequence maxOccurs="unbounded">
>  
>  
> For example: for below complex type, correct java bean API for MediaAcctAdjAddRq should be:
>  
> Public void setMediaAcctAdjAddRq(int index, MediaAcctAdjAddRq mediaAcctAdjAddrq)
> {
>       ……
> }
>  
> Public MediaAcctAdjAddRq[] getMediaAcctAdjAddRq()
> {
>       ……                                   
> }
>  
>  
> The tool generate   below incorrect APIs:
>  
> Public void setMediaAcctAdjAddRq(MediaAcctAdjAddRq mediaAcctAdjAddrq)
> {
>       ……
> }
>  
> Public MediaAcctAdjAddRq getMediaAcctAdjAddRq()
> {
>       ……
> }
>  
>  
> You can unzip the attachment and make necessary change on wsdl2java. Run the wsdl2java script and check Java bean, MediaSvcRq_Type.java to review the bug I reported.
>  
>  
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira