Cobra Help

Run the SampleClientAPI Files

Use this procedure to run the SampleClientAPI files.

To run the SampleClientAPI files:

  1. Navigate to the folder where you extracted the SampleClientAPI.zip files and open SampleClientAPI.sln.

  2. Configure the Cobra.WebService.ClientAPI.dll.config file to your Cobra Web Service instance.

    1. Open the Cobra.WebService.ClientAPI.dll.config file.

    2. Navigate to Line 35 or locate the following entry.

    <endpoint address="http://localhost:8116/CobraWebService/service" binding="basicHttpBinding" bindingConfiguration="defaultBinding" contract="Cobra.WebService.ICobraServices" name="BasicHttpBinding_ICobraServices" behaviorConfiguration="CobraWebServiceBehavior" />

    1. Update the address tag to point to your Cobra Web Service instance.

  3. Run the application.

    Attention: To better understand each part of the code, see Explaining the SampleClient API Code.

Learn more about...

Deploying the Cobra Web Service

Using the Cobra Web Service ClientAPI in Your Application

Cobra Web Service

Supported Processes, Operations, and Data


How to...

Deploy the Cobra Web Service ClientAPI

Deploy the Cobra Web Service Host


Parent Topic:

Cobra Web Service ClientAPI Example