axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <j...@apache.org>
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

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

Sagara Gunathunga  resolved AXIS2-5014.
---------------------------------------

    Resolution: Incomplete
    
> Current 1.7.0 snapshot does not generate correct operation return types
> -----------------------------------------------------------------------
>
>                 Key: AXIS2-5014
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5014
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.7.0
>            Reporter: Harald Rieder
>
> See https://issues.apache.org/jira/browse/AXIS2-5007 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message