W3C home > Mailing lists > Public > public-ws-addressing@w3.org > July 2006

Re: SOAPAction and Default Action

From: Prasad Yendluri <pyendluri@webmethods.com>
Date: Fri, 21 Jul 2006 11:14:00 -0700
Message-ID: <44C11968.2010001@webmethods.com>
To: David Illsley <david.illsley@uk.ibm.com>
CC: Anish Karmarkar <Anish.Karmarkar@oracle.com>, Arun Gupta <Arun.Gupta@Sun.COM>, W3C WS-Addressing Public List <public-ws-addressing@w3.org>, public-ws-addressing-request@w3.org
+1. Very well put.

Since this has proven to be subject to interpretation and from the 
interest point of view of WS-A, the correct / desireable interpretation 
of  empty string seems no value, we should certainly clarify this in the 
spec and firm up the in the area Arun originally pointed out.

Regards,
Prasad

David Illsley wrote:

>public-ws-addressing-request@w3.org wrote on 07/21/2006 06:40:26 AM:
>  
>
>>Arun,
>>
>>SOAP 1.1 requires the SOAPAction HTTP header.
>>Therefore, whether there is a value specified in WSDL or not, the SOAP 
>>request must contain the HTTP header.
>>
>>The issue before WS-I BP WG was what should the value of that HTTP 
>>header be if it is not specified in WSDL (no soapAction attribute 
>>present) and the WG decided on "". The reasons for requiring the quotes 
>>was interoperability: there were some stacks that required the quotes. I 
>>    
>>
>
>  
>
>>would not interpret R2745 to mean that empty string for soapAction attr 
>>is not a valid value. It is a valid value which also happens to be the 
>>default value per R2745.
>>
>>I'm not necessarily pushing back on allowing [action] defaulting when 
>>the SOAPAction is specified to be "" (which does not contradict the 
>>requirement in WS-Addr SOAP binding that requires the two to be the same 
>>    
>>
>
>  
>
>>or SOAPAction to be ""). But I would like to understand if there is a 
>>good reason to do so. What problem does it solve? I don't quite see the 
>>argument that soapAction="" => unspecified.
>>
>>    
>>
>
>Anish,
>FWIW I've always read the spec to treat an empty soapAction attribute in 
>the WSDL as no value and hence use the default action pattern.
>
>The good reason to do this is that there are many existing WSDLs which 
>have portTypes with multiple operations and with soapAction="" attributes 
>on the binding. If we were then to take these ="" as values then all of 
>these operations would have the same wsa:Action="" which would prevent 
>identification of the operation based on the action and conflicts with the 
>uniqueness requirement from the ws-a core. In this case, in order to 
>WS-Addressing enable your endpoint you'd have to either remove the 
>soapAction="" attributes to enable the DefaultActionPattern or explicity 
>add wsaw:Action everywhere.
>
>David
>  
>
Received on Friday, 21 July 2006 18:14:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:35:13 GMT