cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-650) rule non wrapper style in jaxws not respected in cxf tools
Date Wed, 16 May 2007 02:49:16 GMT

    [ https://issues.apache.org/jira/browse/CXF-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496178
] 

maomaode commented on CXF-650:
------------------------------

>From JAXWS SPEC 2.3.2 "If there is a single unlisted out part in the abstract output message
then it forms the method return type, otherwise the return type is void".
In your output message, you have two parts:
    <wsdl:part name="mtosiHeader" element="tmf854XSD:header"/>
    <wsdl:part name="mtosiBody" element="tmf854XSD:getTransmissionDescriptorResponse"/>

The first part mtosiHeader is also appeared in the input message, so it's IN/OUT part
Thus, we have only one OUT part in the output message, i.e mtosiBody, then the getTransmissionDescriptorResponse
form to the return type.


> rule non wrapper style in jaxws not respected in cxf tools
> ----------------------------------------------------------
>
>                 Key: CXF-650
>                 URL: https://issues.apache.org/jira/browse/CXF-650
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Julien le Colloec
>
> the code generated with cxf tool for the mtosi wsdl file ConfigurationService.wsdl is
wrong. 
> The return type of the operation getTransmissionDescriptor should be void and we should
have an additional argument 
> representing an out. 
> The part of the wsdl ,which is not correctly handled, is at the bottom of this page .

>     public v1.tmf854.GetTransmissionDescriptorResponseT getTransmissionDescriptor( 
>         @WebParam(targetNamespace = "tmf854.v1", header = true, mode = Mode.INOUT, partName
= "mtosiHeader", name = "header") 
>         javax.xml.ws.Holder<v1.tmf854.HeaderT> mtosiHeader, 
>         @WebParam(targetNamespace = "tmf854.v1", partName = "mtosiBody", name = "getTransmissionDescriptor")

>         v1.tmf854.GetTransmissionDescriptorT mtosiBody 
>     ) throws ProcessingFailureException; 
> <wsdl:message name="getTransmissionDescriptor"> 
>     <wsdl:documentation> 
>     The getTransmissionDescriptor request message. 
>     </wsdl:documentation> 
>     <wsdl:part name="mtosiHeader" element="tmf854XSD:header"/> 
>     <wsdl:part name="mtosiBody" element="tmf854XSD:getTransmissionDescriptor"/>

>   </wsdl:message> 
>   <wsdl:message name="getTransmissionDescriptorResponse"> 
>     <wsdl:documentation> 
>     The getTransmissionDescriptor response message. 
>     </wsdl:documentation> 
>     <wsdl:part name="mtosiHeader" element="tmf854XSD:header"/> 
>     <wsdl:part name="mtosiBody" element="tmf854XSD:getTransmissionDescriptorResponse"/>

>   </wsdl:message> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message