WebServiceProtocols Enumeration

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

Member nameDescription
AnyHttpSoap

Any version of the HTTP SOAP protocol.

Documentation

The Web Services Documentation protocol.

HttpGet

The HTTP GET protocol.

HttpPost

The HTTP POST protocol.

HttpPostLocalhost

The HTTP POST LOCALHOST protocol.

HttpSoap

The HTTP SOAP protocol.

HttpSoap12

The HTTP SOAP version 1.2 protocol.

Unknown

Unknown protocol.

System_CAPS_cautionCaution

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft