WebServicesProtocolElement Class [IIS 7 and higher]
Specifies a transmission protocol or protocols that are used to decrypt data sent from a client browser in an HTTP request.
Syntax
class WebServicesProtocolElement : CollectionElement
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the WebServicesProtocolElement class.
Name |
Description |
---|---|
Name |
A read-only sint32 mask that specifies the transmission protocols that are used to decrypt data sent from a client browser in the HTTP request. The possible values are listed later in the Remarks section. The key property. |
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are exposed as members of the Protocols property in the WebServicesProtocolSettings class.
The following table lists the possible values for the Name property.
Value |
Keyword |
Description |
---|---|---|
0 |
Unknown |
An unknown protocol. |
1 |
HttpSoap |
The HTTP SOAP protocol. |
2 |
HttpGet |
The HTTP GET protocol. |
4 |
HttpPost |
The HTTP POST protocol. |
8 |
Documentation |
The XML Web services Documentation protocol. |
16 |
HttpPostLocalhost |
The HTTP POST LOCALHOST protocol.
Note:
This value checks only the request's host header to mitigate browser-redirect attacks. This value does not perform any other validation, authentication, or authorization checks. Authentication and authorization are still required to restrict access to a Web service.
|
32 |
HttpSoap12 |
The HTTP SOAP version 1.2 protocol. |
33 |
AnyHttpSoap |
Any version of the HTTP SOAP protocol. |
Inheritance Hierarchy
WebServicesProtocolElement
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |
See Also
Reference
CollectionElement Class [IIS 7 and higher]
WebServicesProtocolSettings Class [IIS 7 and higher]
WebServicesSection Class [IIS 7 and higher]
Other Resources
System.Web.Services.Configuration.WebServiceProtocols Enumeration