Previous Topic: Preparing Visual Studio SolutionNext Topic: OmWebServiceServicePortTypeClient


Calling Web Services Operations

To call any Web Services 2.0 operation, it is necessary to create an instance of client class. The following examples show how it can be done in C# and VB.NET.

C#:

OmWebServiceServicePortTypeClient client = new OmWebServiceServicePortTypeClient();

VB.NET:

Dim client As New OmWebServiceServicePortTypeClient()

The available methods are listed in the following sections.