[ 
https://issues.apache.org/jira/browse/AXIS2-4214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Delzant closed AXIS2-4214.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.1

> Code generation for handling several "part" element in element "message" in 
> WSDL leads to incorrect ordering in generated code
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4214
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4214
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4
>         Environment: Windows, Java 1.6
>            Reporter: Bruno Delzant
>             Fix For: 1.4.1
>
>         Attachments: creactor_example.wsdl, Ppm_createResponse.java
>
>
> Hi,
> when WSDL contain a message with several parts like this
>       <message name="ppm_createResponse">
>               <part name="returnValue" type="xsd:int" />
>               <part name="returnComment" type="xsd:string" />
>               <part name="accounid" type="xsd:string" />
>               <part name="identify" type="xsd:string" />
>       </message>
> then the ADB code generated does not respect the ordering of the parts. It 
> generate code that handles parameter in different order and so it leads to 
> UnexpectedElement error.
> I think the problem is in the file 
> org.apache.axis2.schema.template.ADBBeanTemplate.xsl
> See my WSDL input and generated class where the ordering is incorrect (Class 
> osp_methods.Ppm_createResponse, order problem from line 570 to 632)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to