NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SoapClientProtocol Class

Specifies most of the implementation for communicating with a SOAP web service over HTTP.

Object
   Component
      ClientProtocol
         SoapClientProtocol

[Visual Basic]
Public Class SoapClientProtocol
   Inherits ClientProtocol
[C#]
public class SoapClientProtocol : ClientProtocol
[C++]
public __gc class SoapClientProtocol : public ClientProtocol
[JScript]
public class SoapClientProtocol extends ClientProtocol

Remarks

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 web service. 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 SoapClientProtocol for a given Service Description Language file (*.sdl).

Requirements

Namespace: System.Web.Services.Protocols

Assembly: System.Web.Services.dll

See Also

SoapClientProtocol Members | System.Web.Services.Protocols Namespace | HttpClientProtocol