axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans (JIRA)" <>
Subject [jira] Commented: (AXIS-2102) wsdl2java does not generate wrappers for nillable parameters
Date Thu, 28 Jul 2005 10:54:23 GMT
    [ ] 

Hans commented on AXIS-2102:

Has anyone noticed this bug, the testcase and the patch?

Since it is almost two weeks since I submitted the patch I guess it's not in sync anymore
with the latest source,
so I will submit a new patch before next friday.

> 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