So should Axis be generating the soapAction element with the method to invoke?  As you 
can see below -- I've a soapAction of "".

----------------------------------------
<wsdl:binding name="TestServiceSoapBinding" type="intf:SomeService">
  <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"; 
/> 
    <wsdl:operation name="addNumbers">
        <wsdlsoap:operation soapAction="" /> 
        <wsdl:input name="addNumbersRequest">
          <wsdlsoap:body namespace="http://test.travelnow.com"; use="literal" /> 
        </wsdl:input>
        <wsdl:output name="addNumbersResponse">
          <wsdlsoap:body namespace="http://dev.travelnow.com/services/TestService"; 
use="literal" /> 
        </wsdl:output>
  </wsdl:operation>
</wsdl:binding>
----------------------------------------

-----Original Message-----
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 3:04 PM
To: [EMAIL PROTECTED]
Subject: Re: doc/literal & method names


Whether or not the SOAPAction is "critical" is dependent on the the SOAP
implementation you use, but most systsms use SOAPAction to specify the
method signature when using doc/literal.

Anne

----- Original Message -----
From: "Jeff Greif" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 10, 2003 3:23 PM
Subject: Re: doc/literal & method names


> I think (but am not certain) the SoapAction which appears in the http
> headers is crucial for doc/lit.
> Jeff
> ----- Original Message -----
> From: "Cory Wilkerson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 10, 2003 11:12 AM
> Subject: doc/literal & method names
>
>
> How could Axis possibly infer what method name to invoke giving the
> following data off the wire?
>
> Perhaps my problem lies herein?  Axis 1.1 beta spits out a "no such
> operation (x) error" while 1.1 swallows it and spits out a nullpointer.
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>     xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>     <soap:Body>
>         <x xmlns="http://test.travelnow.com";>5</x>
>         <y xmlns="http://test.travelnow.com";>2</y>
>     </soap:Body>
> </soap:Envelope>
>
>

Reply via email to