You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Cory Wilkerson <cw...@travelnow.com> on 2003/07/10 20:12:38 UTC

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>


Re: doc/literal & method names

Posted by Anne Thomas Manes <an...@manes.net>.
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" <jg...@alumni.princeton.edu>
To: <ax...@ws.apache.org>
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" <cw...@travelnow.com>
> To: <ax...@ws.apache.org>
> 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>
>
>


Re: doc/literal & method names

Posted by Jeff Greif <jg...@alumni.princeton.edu>.
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" <cw...@travelnow.com>
To: <ax...@ws.apache.org>
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>