[
http://issues.apache.org/jira/browse/AXIS-2159?page=comments#action_12319569 ]
Hans commented on AXIS-2159:
----------------------------
In the nightly build Wsdl2Java generates the following class declaration:
public class DerivationOfListOfInt extends int[] implements
java.io.Serializable {
In 1.2.1 the declaration was ok (class extends
org.apache.axis.encoding.SimpleType) but
created an incorrect constructor with String parameter. In nightly build no
String constructor is generated.
> WSDL2Java generates incorrect code for Extension of SimpleType with List
> ------------------------------------------------------------------------
>
> Key: AXIS-2159
> URL: http://issues.apache.org/jira/browse/AXIS-2159
> Project: Apache Axis
> Type: Bug
> Components: WSDL processing
> Versions: current (nightly)
> Environment: Linux, JDK 1.4.2_06
> Reporter: Hans
> Attachments: derivationOfSimple.wsdl
>
> WSDL2Java generates incorrect code for the following xsd construct:
> <simpleType name="ListOfInt">
> <list itemType="int"/>
> </simpleType>
> <complexType name="DerivationOfListOfInt">
> <simpleContent>
> <extension base="typens:ListOfInt"/>
> </simpleContent>
> </complexType>
> An incorrect constructor is generated:
> public DerivationOfListOfInt(java.lang.String _value) {
> this._value = new int[](_value);
> }
--
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