[ 
https://issues.apache.org/jira/browse/TUSCANY-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525835
 ] 

Simon Laws commented on TUSCANY-1653:
-------------------------------------

I have now checked in the fix suggested in the mail. The fix only targets 
methods with no parameter where the wsdl is generated in the axis style. It 
doesn't address the related issue of void return types

There is further ongoing work to see if we can make Tuscany genrate wsdl that 
correctly represents a wrapped interactions according to JAXWS.

> Method signatures with no parameters are not represented properly as wrapped 
> opoerations with auto generated WSDL
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1653
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1653
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99
>         Environment: All
>            Reporter: Simon Laws
>             Fix For: Java-SCA-1.0
>
>
> The Axis2 Java2WSDL tool converts the operation
> String foo()
> To the WSDL
>       <wsdl:types>
>               <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
>                       attributeFormDefault="qualified" 
> elementFormDefault="qualified"
>                       targetNamespace="http://test/xsd";>
>                       <xs:element name="fooResponse">
>                               <xs:complexType>
>                                       <xs:sequence>
>                                               <xs:element name="return" 
> nillable="true"
>                                                       type="xs:string" />
>                                       </xs:sequence>
>                               </xs:complexType>
>                       </xs:element>
>               </xs:schema>
>       </wsdl:types>
>       <wsdl:message name="fooMessage" />
>       <wsdl:message name="fooResponseMessage">
>               <wsdl:part name="part1" element="ns:fooResponse" />
>       </wsdl:message>
> Which is not wrapped according to the rules of JAX-WS 2.0. 
> The net result is that Tuscany fails if such methods are included as it is 
> expect to deal with wrapped methods. 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to