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 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.