Title: How does Axis handle soapAction?
 
----- Original Message -----
Sent: Friday, August 01, 2003 2:43 PM
Subject: RE: How does Axis handle soapAction?

Sorry about that Wendy -- got carried away in my response.
-----Original Message-----
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 2:18 PM
To: [EMAIL PROTECTED]
Subject: Re: How does Axis handle soapAction?

The attribute is "SOAPAction", not "header".
The value specified in the attribute must be specified in the SOAPAction: HTTP header on the SOAP request message. It gives the SOAP server a hint on how to process the message.
 
----- Original Message -----
Sent: Friday, August 01, 2003 3:07 PM
Subject: RE: How does Axis handle soapAction?

Wendy,
 
The attribute "header" of element "operation" in the soap namespace http://schemas.xmlsoap.org/wsdl/soap:
 
A) Appears as an HTTP header
B) I believe it's sole purpose is to assist the consuming framework in routing the incoming request to the appropriate "service".
 
Cory
-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 1:23 PM
To: '[EMAIL PROTECTED]'
Subject: How does Axis handle soapAction?


I picked this up from the example that Richard Hansen posted on 7/30:

<soap:operation soapAction="RatingPortType#getRate" style="document"/>

However, the string "RatingPortType" does not appear anywhere else in the WSDL document.  And the examples in the http://www.w3.org/TR/wsdl.html document always have a URL in the soapAction element.

I recognize the string after the # sign as the method to be called, but what does "RatingPortType" mean in this case?

Should it possible match the portType name from this section?
 <portType name="RatingServicePort">
        <operation name="getRate">
            <input message="tns:RatingRequest"/>
            <output message="tns:RatingResponse"/>
        </operation>
    </portType>

Thanks for your help,

--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM

Reply via email to