Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
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. |
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.
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in