WSDL2Java ADB wrong array code generation
-----------------------------------------

                 Key: AXIS2-1021
                 URL: http://issues.apache.org/jira/browse/AXIS2-1021
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
            Reporter: Fabian Christ


Hi,

i have this complex type

<complexType name="SignatureType">
  <sequence> 
    <element ref="ds:SignedInfo"/> 
    <element ref="ds:SignatureValue"/> 
    <element ref="ds:KeyInfo" minOccurs="0"/> 
    <element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/> 
  </sequence>  
  <attribute name="Id" type="ID" use="optional"/>
</complexType>

When using WSDL2Java with "-ss -sd -d adb"  the code generatioen creates an 
array for the element "Object" what is correct. But the generated code creates 
a matrix instead of an array. From SignatureType.java:

                        /**
                        * field for Object
                        * This was an Array! 
                        */

                        protected org.w3.www._2000._09.xmldsig.ObjectType[][] 
localObject ;

 - Fabian


-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to