You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Harald Rieder (JIRA)" <ji...@apache.org> on 2011/04/26 17:05:03 UTC
[jira] [Created] (AXIS2-5014) Current 1.7.0 snapshot does not
generate correct operation return types
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.
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
[jira] [Resolved] (AXIS2-5014) Current 1.7.0 snapshot does not
generate correct operation return types
Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
[ 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