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/08/22 11:06:08 UTC

[jira] Updated: (AXIS-2159) WSDL2Java generates incorrect code for Extension of SimpleType with List

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

Hans updated AXIS-2159:
-----------------------

    Attachment: derivationOfSimple.wsdl

Attached WSDL with derivation of xsd:simpleType test scenarios (including derivation of xsd:list).

> 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