[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-dev
Subject:    [jira] Updated: (AXIS-2026) wsdl2java does not generate array of wrappers for soapenc array nillable
From:       "Hans (JIRA)" <axis-dev () ws ! apache ! org>
Date:       2005-05-31 11:53:57
Message-ID: 1857798506.1117540437188.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

     [ http://issues.apache.org/jira/browse/AXIS-2026?page=all ]

Hans updated AXIS-2026:
-----------------------

    Attachment: patch.zip

Submitted patch  - see attachment.
The sourcefiles in the zip archive are based on the cvs snapshot from 30-May-2005 21:36.

> wsdl2java does not generate array of wrappers for soapenc array nillable elements
> ---------------------------------------------------------------------------------
>
>          Key: AXIS-2026
>          URL: http://issues.apache.org/jira/browse/AXIS-2026
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>  Environment: JDK 1.4.2_06, Linux
>     Reporter: Hans
>  Attachments: patch.zip
>
> For the following structure
> <xsd:complexType name="StructureType">
>     <xsd:all>
>         <xsd:element name="fld" type="s0:intarr" minOccurs="0"/>
>     </xsd:all>
> </xsd:complexType>
> <xsd:complexType name="intarr">
>     <xsd:complexContent>
>         <xsd:restriction base="soapenc:Array">
>             <xsd:sequence>
>                 <xsd:element name="element" type="s:int"
>                     nillable="true" minOccurs="0" maxOccurs="unbounded"/>
>             </xsd:sequence>
>         </xsd:restriction>
>     </xsd:complexContent>
> </xsd:complexType>
> wsdl2java from Axis 1.1 generates a Java Class like:
> class StructureType implements Serializable {
>     private Integer[] fld;
> ...
> But with Axis 1.2 the following is generated:
> class StructureType implements Serializable {
>     private int[] fld;
> ... 
> This is incorrect - type should be Integer[].
> I will have a go at creating a fix for this.

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic