axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans (JIRA)" <>
Subject [jira] Updated: (AXIS-2102) wsdl2java does not generate wrappers for nillable parameters
Date Tue, 19 Jul 2005 07:53:45 GMT
     [ ]

Hans updated AXIS-2102:

    Attachment: patch.txt

attached patch

> wsdl2java does not generate wrappers for nillable parameters
> ------------------------------------------------------------
>          Key: AXIS-2102
>          URL:
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Hans
>  Attachments: patch.txt, 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:
> public byte[] value should be Byte[] value;
> 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:
For more information on JIRA, see:

View raw message