blog.easyciel.net author="Patrick Rabian" about="c#, sharepoint, biztalk, team system resources" more="news, samples, tips for .NET world's developers !"

.NET 2.0 : Change the SOAP protocol version

Thursday, 9 March 2006 17:23 by prabian

To change the SOAP protocol version, use the SoapHttpClientProtocol.SoapVersion property.
A ASP.NET 2.0 web service class inherit of SoapHttpClientProtocol class, so you can use the SoapVersion property.
3 values can be used…

MyWebService service = new MyWebService();
[…]
service.SoapVersion = SoapProtocolVersion.Default;
service.SoapVersion =
SoapProtocolVersion.Soap11;
service.SoapVersion =
SoapProtocolVersion.Soap12;

The default value is SoapProtocolVersion.Soap11

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   XML | Web Services
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

January 7. 2009 14:58