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