Run the SampleClientAPI Files
Use this procedure to run the SampleClientAPI files.
To run the SampleClientAPI files:
Navigate to the folder where you extracted the SampleClientAPI.zip files and open SampleClientAPI.sln.
Configure the Cobra.WebService.ClientAPI.dll.config file to your Cobra Web Service instance.
-
Open the Cobra.WebService.ClientAPI.dll.config file.
-
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" />
-
Update the address tag to point to your Cobra Web Service instance.
-
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
Supported Processes, Operations, and Data
How to...
Deploy the Cobra Web Service ClientAPI
Deploy the Cobra Web Service Host