System.Web.Services.Protocols.HttpWebClientProtocol Class

Represents the base class for all XML Web service client proxies that use the HTTP transport protocol.

See Also: HttpWebClientProtocol Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public abstract class HttpWebClientProtocol : WebClientProtocol

Remarks

The properties on this class are used to control the behavior of the HTTP request object used to transmit the XML Web service request and response. The properties map to properties found on System.Net.HttpWebRequest.

To communicate with an XML Web service using HTTP, you must create a proxy class deriving indirectly or directly from System.Web.Services.Protocols.HttpWebClientProtocol for the XML Web service. Instead of creating the proxy class manually, you can use the Wsdl.exe tool to create a proxy class for a given XML Web service's service description.

Since HttpWebClientProtocol is the base class for all proxy classes, its properties are on your proxy classes. These properties are useful for controlling the request behavior of the underlying transport. For example, use the HttpWebClientProtocol.Proxy property for calling XML Web services through a firewall. Many of these properties are used to initialize the System.Net.HttpWebRequest that makes the Web request.

System.Web.Services.Protocols.SoapHttpClientProtocol, System.Web.Services.Protocols.HttpGetClientProtocol, and System.Web.Services.Protocols.HttpPostClientProtocol derive directly or indirectly from System.Web.Services.Protocols.HttpWebClientProtocol to provide support for SOAP, HTTP-GET and HTTP-POST respectively.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0