axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-2159) WSDL2Java generates incorrect code for Extension of SimpleType with List
Date Mon, 22 Aug 2005 09:15:33 GMT
    [ 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


Mime
View raw message