WebServiceProtocols Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | Unknown protocol. |
HttpSoap | 1 | The HTTP SOAP protocol. |
HttpGet | 2 | The HTTP GET protocol. |
HttpPost | 4 | The HTTP POST protocol. |
Documentation | 8 | The Web Services Documentation 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. |
HttpSoap12 | 32 | The HTTP SOAP version 1.2 protocol. |
AnyHttpSoap | 33 | Any version of the HTTP SOAP 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.