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 Gaël Pouzerate <gp...@frisurf.no> on 2002/06/11 14:36:50 UTC

soapAction="" why?

Hi,

In AXIS's generated WSDL files, I always get   <wsdlsoap:operation soapAction="" />  in the bindings.
It causes troubles when I try to use the WSDL file from weblogic portal 4.0 for instance...
Why this ""? Is this a bug?

regards
--Gaël Pouzerate




Re: soapAction="" why?

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Gaël Pouzerate" <gp...@frisurf.no>
To: <ax...@xml.apache.org>
Sent: Wednesday, June 12, 2002 6:03 AM
Subject: Re: soapAction="" why?


>
> Ok, so there's no bug at all in having an empty string in soapAction...
> Many thanx for your answer!


well, not really a bug, its the way the SOAP spec is going. SoapAction was
meant to let things do a security check on what was allowed, and rapidly see
what method gets called, but it really duplicates what is in the body of the
message. For a security check to work you need to make sure that SoapAction
matches the real intent of the message, so you always need to parse the XML
anyway. The earlier SOAP toolkits do expect and use it, however.



Re: soapAction="" why?

Posted by Gaël Pouzerate <gp...@frisurf.no>.
Ok, so there's no bug at all in having an empty string in soapAction...
Many thanx for your answer!

12.06.2002 14:07:32, Jürgen Kaatz <ka...@e-commerceit.de> wrote:

>Hi,
>
>A SOAPAction value of "" means, that the intent of the request is provided 
>by the HTTP request URI. An empty value fpr SOAPAction means that the 
>intent is not specified ... In fact, AXIS ignores the SOAPAction header and 
>instead relies on this approach; the first child of the <Body> element and 
>its namespace.
>from Axis - Next Generation Java SOAP" by Romin Irani.
>
>I hope this will help.
>Juergen
>
>>In AXIS's generated WSDL files, I always get   <wsdlsoap:operation 
>>soapAction="" />  in the bindings.
>>It causes troubles when I try to use the WSDL file from weblogic portal 
>>4.0 for instance...
>>Why this ""? Is this a bug?
>>
>>regards
>>--Gaël Pouzerate
>
>
>




Re: soapAction="" why?

Posted by Jürgen Kaatz <ka...@e-commerceit.de>.
Hi,

A SOAPAction value of "" means, that the intent of the request is provided 
by the HTTP request URI. An empty value fpr SOAPAction means that the 
intent is not specified ... In fact, AXIS ignores the SOAPAction header and 
instead relies on this approach; the first child of the <Body> element and 
its namespace.
from Axis - Next Generation Java SOAP" by Romin Irani.

I hope this will help.
Juergen

>In AXIS's generated WSDL files, I always get   <wsdlsoap:operation 
>soapAction="" />  in the bindings.
>It causes troubles when I try to use the WSDL file from weblogic portal 
>4.0 for instance...
>Why this ""? Is this a bug?
>
>regards
>--Gaël Pouzerate