axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Closed: (AXIS-1853) wsdl2java
Date Fri, 22 Apr 2005 15:20:31 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1853?page=all ]
     
Davanum Srinivas closed AXIS-1853:
----------------------------------

    Resolution: Fixed

i think this was fixed. please try latest cvs/nightly and i can reopen the bug if it isn't.

--dims

> wsdl2java
> ---------
>
>          Key: AXIS-1853
>          URL: http://issues.apache.org/jira/browse/AXIS-1853
>      Project: Axis
>         Type: Sub-task
>     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">
>                    <xsd:element ref="MediaAcctAdjAddRq" minOccurs="0"/>
>  
>  
> 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()
> {
>       ……
> }
>  
>  
>  
>  
> Thanks
>  
>  
> Quansheng 
>  
>  
>  
>  
>  
>  
>  
> <xsd:complexType name="MediaSvcRq_Type">
>             <xsd:sequence>
>                   <xsd:element ref="RqUID"/>
>                   <xsd:element ref="MsgRqHdr" minOccurs="0"/>
>                   <xsd:element ref="AsyncRqUID" minOccurs="0"/>
>                   <xsd:element ref="SPName" minOccurs="0"/>
>                   <xsd:sequence maxOccurs="unbounded">
>                         <xsd:element ref="MediaAcctAdjAddRq" minOccurs="0"/>
>                         <xsd:element ref="MediaAcctAdjInqRq" minOccurs="0"/>
>                         <xsd:element ref="MediaAcctAdjAudRq" minOccurs="0"/>
>                         <xsd:element ref="MediaAcctAdjSyncRq" minOccurs="0"/>
>                         <xsd:element ref="MediaAcctAdjRevRq" minOccurs="0"/>
>                         <xsd:element ref="MediaAcctInventoryInqRq" minOccurs="0"/>
>                         <xsd:element ref="MediaAcctInventoryRevRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalObjAddRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalObjModRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalObjInqRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalObjDelRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalObjAudRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalObjStatusModRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalObjAdviseRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalSPObjAddRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalSPObjModRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalSPObjInqRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalSPObjDelRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalSPObjAudRq" minOccurs="0"/>
>                         <xsd:element ref="TerminalSPObjAdviseRq" minOccurs="0"/>
>                         <xsd:element ref="DevInqRq" minOccurs="0"/>
>                         <xsd:element ref="DevAdviseRq" minOccurs="0"/>
>                   </xsd:sequence>
>             </xsd:sequence>
>             <xsd:attribute name="Id" type="xsd:ID"/>
>       </xsd:complexType>

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message