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

Arina Itkes arinai at mainsoft.com
Mon Dec 31 10:49:07 EST 2007


Hi,

	A wsdl file generated by a web service on IIS that has a method
with SOAPAction == "" is attached. 

Regards, Arina.

-----Original Message-----
From: Gert Driesen [mailto:gert.driesen at telenet.be] 
Sent: Thursday, December 27, 2007 12:28 PM
To: 'Atsushi Eno'; Arina Itkes
Cc: mono-devel-list at lists.ximian.com
Subject: RE: [Mono-dev] [PATCH] WebMethods with SOAPAction = ""


 
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_Heade
r

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Service1.asmx
Type: application/octet-stream
Size: 2759 bytes
Desc: Service1.asmx
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071231/f9ac49f5/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Service1.asmx.cs
Type: application/octet-stream
Size: 513 bytes
Desc: Service1.asmx.cs
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071231/f9ac49f5/attachment-0001.obj 


More information about the Mono-devel-list mailing list