[ http://issues.apache.org/jira/browse/AXIS2-1021?page=all ]
Fabian Christ updated AXIS2-1021:
---------------------------------
Attachment: SchemaCompiler.java.Array.patch
This patch comments out code from
org.apache.axis2.schema.SchemaCompiler.findRefClassName(QName, boolean) where
the brackets for an array are added the second time. This caused the generation
of matrices instead of arrays during code generation.
> 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
> Attachments: SchemaCompiler.java.Array.patch
>
>
> 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]