Broken WSDL for operations added by modules
-------------------------------------------

                 Key: AXIS2-3108
                 URL: https://issues.apache.org/jira/browse/AXIS2-3108
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.2
            Reporter: Thomas Leonard
             Fix For: 1.3


Using Axis2 1.3-RC2, we get WSDL that looks like this:

    <wsdl:message name=""/>
    <wsdl:message name="sayHelloRequest">
        <wsdl:part name="parameters" element="ns0:sayHello"/>
    </wsdl:message>
    <wsdl:message name="sayHelloResponse">
        <wsdl:part name="parameters" element="ns0:sayHelloResponse"/>
    </wsdl:message>
    <wsdl:message name="XMLStreamException">
        <wsdl:part name="parameters" element="ns0:XMLStreamException"/>
    </wsdl:message>
    <wsdl:message name="pingRequest"/>
    <wsdl:message name="pingResponse"/>
    <wsdl:portType name="SampleServicePortType">
        <wsdl:operation name="getServiceProviderID">
            <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="ns0:null" wsaw:Action="urn:getServiceProviderID"/>
            <wsdl:output xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="ns0:null" wsaw:Action="urn:getServiceProviderIDResponse"/>
        </wsdl:operation>
        <wsdl:operation name="sayHello">
            <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="ns0:sayHelloRequest" wsaw:Action="urn:sayHello"/>
            <wsdl:output xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="ns0:sayHelloResponse" wsaw:Action="urn:sayHelloResponse"/>
            <wsdl:fault xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="ns0:XMLStreamException" name="XMLStreamException" 
wsaw:Action="urn:sayHelloXMLStreamException"/>
        </wsdl:operation>
        <wsdl:operation name="ping">
            <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="ns0:pingRequest" wsaw:Action="urn:ping"/>
            <wsdl:output xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="ns0:pingResponse" wsaw:Action="urn:pingResponse"/>
        </wsdl:operation>
    </wsdl:portType>

This is for the user guide's sample service, with a module adding the 
"getServiceProviderID" operation. Note that the messages have no name, even 
though the operation does:

    <wsdl:message name=""/>
...
            <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="ns0:null" wsaw:Action="urn:getServiceProviderID"/>
            <wsdl:output xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="ns0:null" wsaw:Action="urn:getServiceProviderIDResponse"/>


-- 
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