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 "Hans (JIRA)" <ax...@ws.apache.org> on 2005/07/06 18:27:09 UTC

[jira] Updated: (AXIS-2102) wsdl2java does not generate wrappers for nillable parameters

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

Hans updated AXIS-2102:
-----------------------

    Attachment: test.wsdl

attached wsdl

> wsdl2java does not generate wrappers for nillable parameters
> ------------------------------------------------------------
>
>          Key: AXIS-2102
>          URL: http://issues.apache.org/jira/browse/AXIS-2102
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Hans
>  Attachments: test.wsdl
>
> The attached doclit style document with nillable parameters does not result in operations and holder classes with wrapper types (it used to do this in Axis 1.1).
> in parameters:
> <element name="value" nillable="true" maxOccurs="unbounded" type="xsd:long"/>
> out parameters:
> <element name="param1" nillable="true" maxOccurs="unbounded" type="xsd:byte"/>
> <element name="param2" type="typens:arrayOfNillableInt"/>
> <element name="param3" nillable="true" type="xsd:float"/>
> method generated in remote interface:
> -> parameter value should be of type Long[] instead of long[];
> -> parameter param3 should be of type FloatWrapperHolder instead of FloatHolder;
> public void doExample(long[] value, holders.byteArrayHolder param1, AddressFetcher2.holders.ArrayOfNillableIntHolder param2, javax.xml.rpc.holders.FloatHolder param3)
> generated holder classes have an incorrect holder type:
> byteArrayHolder.java: public byte[] value should be Byte[] value;
> ArrayOfNillableIntHolder.java: public int[] value should be Integer[] value;
> I will start working on a fix.

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