[
https://issues.apache.org/jira/browse/AXIS2-4685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anjana Fernando updated AXIS2-4685:
-----------------------------------
Attachment: BatchRequestSample.wsdl
> Compile error in code generated code (using ADB) in unwrapped mode (-uw),
> when having complex types which have schema type references to other elements
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-4685
> URL: https://issues.apache.org/jira/browse/AXIS2-4685
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: nightly
> Environment: Ubuntu 9.10
> Reporter: Anjana Fernando
> Attachments: BatchRequestSample.wsdl
>
>
> A compile error [1] is occurring when ADB databinding is used and when
> unwrapping is switched on. A sample WSDL file is attached here
> (BatchRequestSample.wsdl) to re-generated the problem.
> The WSDL contains operations which represents batch operations of existing
> operations, if we take the non-batch operation's parameters as "x", the batch
> type operations will have an array of x .. or x[]. To get this behavior the
> WSDL contains data types like ones shown below,
> ...
> <xs:element name="addEmployee_batch_req">
> <xs:complexType>
> <xs:sequence>
> <xs:element maxOccurs="unbounded"
> ref="ax219:addEmployee" />
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> ...
> When above type of declarations are added, and used with unwrapped mode, with
> ADB, the codegen is faulty, but when used in 'wrapped' mode, it is working
> properly.
> [1] http://pastebin.com/qEarLQtT
> Thanks,
> Anjana.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]