[Mono-dev] [PATCH] WebMethods with SOAPAction = ""

Atsushi Eno atsushi at ximian.com
Thu Dec 27 05:34:07 EST 2007


Oops, then I was wrong. Thanks Gert for the correction.

Atsushi Eno

Gert Driesen wrote:
>  
> Atsushi,
> 
> A line further down in that spec you'll find this:
> 
> "The header field value of empty string ("") means that the intent of the
> SOAP message is provided by the HTTP Request-URI."
> 
> It is also documented in the WS-I Basic Profile:
> http://www.ws-i.org/Profiles/BasicProfile-1.1.html#SOAPAction_HTTP_Header
> 
> An empty string for SOAP Action is actually used quite a lot (and not only
> in .NET).
> 
> Arina, you'll still need to provide a small repro (and a unit test would be
> even better).
> 
> Gert
> 
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Atsushi Eno
> Sent: donderdag 27 december 2007 10:23
> To: Arina Itkes
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] [PATCH] WebMethods with SOAPAction = ""
> 
> The value of SOAP Action is a URI as defined in RFC 2396.
> http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383528
> 
> So, an empty string for SOAP Action violates the W3C specification and is
> not allowed. Actually no real world user uses "" for SOAP Action.
> 
> Atsushi Eno
> 
> Arina Itkes wrote:
>> Hi,
>>
>> This change permits to one who wants to create a client of a web 
>> service on IIS that has web methods with SOAPAction = "", to use 
>> generated proxy class without manual changes. In the current version 
>> generated SOAPAction for such method has another value that web 
>> service on IIS can acknowledge.
>>
>> Arina.
>>
>> -----Original Message-----
>> From: Atsushi Eno [mailto:atsushi at ximian.com]
>> Sent: Thursday, December 27, 2007 10:38 AM
>> To: Arina Itkes
>> Cc: mono-devel-list at lists.ximian.com
>> Subject: Re: [Mono-dev] [PATCH] WebMethods with SOAPAction = ""
>>
>> Hi,
>>
>> What is the real issue that you want to solve? Without test cases this 
>> patch won't get applied in svn. This change does not look good because 
>> it does not improve any real use. It would look good for those who 
>> only care about .NET compatibility and do not care anything else.
>>
>> Atsushi Eno
>>
>> Arina Itkes wrote:
>>> Hello.
>>>
>>>  
>>>
>>> This fix done for compatibility with .NET.
>>>
>>> In .NET if SOAPAction of a webmethod is set explicitly to empty
>> string,
>>> it is regarded like specified.
>>>
>>>  
>>>
>>> Please review the attached patch.
>>>
>>> Thanks.
>>>
>>> Arina.
>>>
>>>  
>>>
>>>  
>>>
>>>
>>>
>> ----------------------------------------------------------------------
>> --
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 




More information about the Mono-devel-list mailing list