WebServiceProtocols Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class WebServiceProtocols
[System.Flags]
public enum WebServiceProtocols
[<System.Flags>]
type WebServiceProtocols = 
Public Enum WebServiceProtocols
Inheritance
WebServiceProtocols
Attributes

Fields

AnyHttpSoap 33

Any version of the HTTP SOAP protocol.

Documentation 8

The Web Services Documentation protocol.

HttpGet 2

The HTTP GET protocol.

HttpPost 4

The HTTP POST protocol.

HttpPostLocalhost 16

The HTTP POST LOCALHOST protocol.

CAUTION: 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.

HttpSoap 1

The HTTP SOAP protocol.

HttpSoap12 32

The HTTP SOAP version 1.2 protocol.

Unknown 0

Unknown protocol.

Remarks

Caution

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.

Applies to