[ http://issues.apache.org/jira/browse/AXIS-2102?page=comments#action_12317056 ]
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: http://issues.apache.org/jira/browse/AXIS-2102 > Project: Apache Axis > Type: Bug > Components: WSDL processing > Versions: current (nightly) > Reporter: Hans > Attachments: patch.txt, test.wsdl, wrapperHolder2.zip > > 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
