You can inherit from this class to create a proxy class that communicates by using the SOAP protocol over HTTP. This is the most commonly used class for creating proxies and the default in proxy classes that .NET generates automatically. When using this class, you must also use the corresponding SoapDocumentMethodAttribute or SoapRpcMethodAttribute to bind a proxy class method to a web service method.
public class SoapHttpClientProtocol : HttpWebClientProtocol { // Public Constructors public SoapHttpClientProtocol( ); // Public Instance Methods public void Discover( ); // Protected Instance Methods protected IAsyncResult BeginInvoke(string methodName, object[ ] parameters, AsyncCallback callback, object asyncState); protected object[ ] EndInvoke(IAsyncResult asyncResult); protected override WebRequest GetWebRequest(Uri uri); // overrides HttpWebClientProtocol protected object[ ] Invoke(string methodName, object[ ] parameters); }