Specifies most of the implementation for communicating with an HTTP web service over HTTP.
Object
Component
ClientProtocol
HttpClientProtocol
[Visual Basic] Public Class HttpClientProtocol Inherits ClientProtocol [C#] public class HttpClientProtocol : ClientProtocol [C++] public __gc class HttpClientProtocol : public ClientProtocol [JScript] public class HttpClientProtocol extends ClientProtocol
An HTTP web service encodes its parameters using the application/x-www-form-urlencoded content type. For HTTP-GET requests, the parameters are encoded as part of the URI. For HTTP-POST requests, commonly referred to as a Form-Post, the parameters are encoded in the request body.
Notes to Inheritors: When you override this class, you can introduce methods in the derived class which are specific to a particular type of web service. The methods simply capture the parameters, and call the base class to do the work of communicating with the site. If the introduced methods are asynchronous, call BeginInvoke and EndInvoke. If the introduced methods are synchronous, call Invoke. The overridden constructor typically sets the Path property to the URI of the web service.
The SDK tool WebServiceUtil will generate derived classes of HttpClientProtocol for a given Service Description Language file (*.sdl).
Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services.dll
HttpClientProtocol Members | System.Web.Services.Protocols Namespace | SoapClientProtocol