WebServicesProtocolElement Class

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

CollectionElement

WebServicesProtocolElement

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

CollectionElement Class
WebServicesProtocolSettings Class
WebServicesSection Class
System.Web.Services.Configuration.WebServiceProtocols Enumeration