axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <>
Subject [jira] [Resolved] (AXIS2-5014) Current 1.7.0 snapshot does not generate correct operation return types
Date Thu, 12 Jul 2012 12:31:35 GMT


Sagara Gunathunga  resolved AXIS2-5014.

    Resolution: Incomplete
> Current 1.7.0 snapshot does not generate correct operation return types
> -----------------------------------------------------------------------
>                 Key: AXIS2-5014
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.7.0
>            Reporter: Harald Rieder
> See for the WSDL where the problem occurs.
> This second problem occurs with this WSDL. For example consider this operation:
>     <operation name="setData">
>       <documentation>Loads persistent data into the LTU.</documentation>
>       <input message="tns:setLTUDataRequest"/>
>       <output message="epm:standardResponse"/>
>     </operation>
> The response should be a standardResponse which is of type StandardResponse:
>   <message name="standardResponse">
>     <part name="result" type="xsd_epm:StandardResponse"/>
>   </message>
> However it is not possible to set a StandardResponse in the Java code, because the generated
classes to not allow this. Observed with ADB and XML beans. For example XML beans:
>     SetDataResponseDocument respDoc = SetDataResponseDocument.Factory.newInstance();
>     SetDataResponse resp = respDoc.addNewSetDataResponse();
>     return respDoc;
> SetDataResponse does not have any specific members, that can be set. So there is no way
to give back a correct response.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message