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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/02/27 15:01:16 UTC

[jira] Resolved: (AXIS2-1185) Generation of a return message when 'type' is specified on the output message part

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

Amila Chinthaka Suriarachchi resolved AXIS2-1185.
-------------------------------------------------

    Resolution: Fixed

now it throws a proper error messages if the wsdl is invalid.

> Generation of a return message when 'type' is specified on the output message part
> ----------------------------------------------------------------------------------
>
>                 Key: AXIS2-1185
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1185
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.0
>         Environment: Axis 2.0 build: 2006-09-18, Windows XP
>            Reporter: Brennan Spies
>         Assigned To: Amila Chinthaka Suriarachchi
>
> When specifying a 'type' rather than 'element' on a WSDL message part, the Axis 2.0 code generation does not put a return type in the corresponding Java method, hence the returned SOAP message would not be meaningful. 
> For example,
> <message name="Response">
>      <part name="output" type="ns:responseType"/>
> </message>
> If the operation is
> <wsdl:portType name="ActionInterface">
> 	<wsdl:operation name="Action">
> 		<wsdl:input message="tns:Request" />
> 		<wsdl:output message="tns:Response" />
> 	</wsdl:operation>
> </wsdl:portType>
> The Axis code generator (with XMLBeans databinding) will generate an "Action" method in the skeleton that has a "void" return type.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org