Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

<protocols> Element

Specifies the transmission protocols that ASP.NET can use to decrypt data sent from a client browser in the HTTP request. The data sent in an HTTP request to an XML Web service can contain method calls and parameters.


   <add name="protocolname"/>
   <remove name="protocolname"/>


Subtag Description
<add> Adds a transmission protocol to the list of supported protocols.
<remove> Removes a single protocol from a Web service's list of supported transmission protocols.
<clear> Removes all protocols from a Web service's list of supported transmission protocols.


The following example enables all four currently supported protocols.

            <add name="HttpSoap"/>
            <add name="HttpPost"/>
            <add name="HttpGet"/>
            <add name="Documentation"/>


Contained Within: <system.web>

Web Platform: IIS 5.0, IIS 5.1, IIS 6.0

Configuration File: Machine.config, Web.config

Configuration Section Handler: System.Web.Services.Configuration.WebServicesConfigurationSectionHandler

See Also

<webServices> Element | ASP.NET Configuration | ASP.NET Settings Schema

© 2015 Microsoft