Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebServiceProtocols Enumeration

Specifies the transmission protocols that are used to decrypt data sent from a client browser in the HTTP request.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace: System.Web.Services.Configuration
Assembly: System.Web.Services (in system.web.services.dll)
[FlagsAttribute] 
public enum WebServiceProtocols
/** @attribute FlagsAttribute() */ 
public enum WebServiceProtocols
FlagsAttribute 
public enum WebServiceProtocols
 Member nameDescription
AnyHttpSoapAny version of the HTTP SOAP protocol. 
DocumentationThe Web Services Documentation protocol. 
HttpGetThe HTTP GET protocol. 
HttpPostThe HTTP POST protocol. 
HttpPostLocalhostThe HTTP POST LOCALHOST protocol. 
Caution noteCaution:
See the Remarks section. This value only checks the request's host header to mitigate only browser-redirect attacks. Authentication and authorization are still required to restrict access to a Web service.
HttpSoapThe HTTP SOAP protocol. 
HttpSoap12The HTTP SOAP version 1.2 protocol. 
UnknownUnknown protocol. 
Caution noteCaution:

Using the HttpPostLocalhost value of this enumeration does not prevent access to the test or web service from remote computers. This value checks only the host header of the request; no other validation, authentication, or authorization checks are performed. This check mitigates only browser-based redirection attacks. Authentication and authorization are still required to restrict access to a Web service.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.