Deploy the Cobra Web Service Host
The Cobra Web Service host must be configured and deployed on the machine where Cobra is installed.
Since the Cobra Web Service runs through the network, it is required to allow the machine that hosts the web service to listen to the applications from remote machines. By default, the host listens to port 8116 using the Transmission Control Protocol (TCP).
Use this procedure as well in hosting Cobra Web Service instances for the Concurrency feature.
To configure and deploy the Cobra Web Service host:
Note: Alternatively, navigate to the Cobra installation directory, locate CWSManagementTool, right-click it, and select Run As Administrator command from the shortcut menu.
- In the left pane under the Instances tree, click <New Instance>.
Cobra Web Service Instance Settings, perform the following steps:
- In the Config File field, locate the Cobra.WebService.Host.exe.config file in the Cobra installation directory.
Enter the Cobra Web Service instance name in the
Name field by using a unique name that represents the Cobra Web Service instance.
When you are installing multiple instances of the Cobra Web Service, Deltek recommends using names that can be easily identified for each instance. For example, include the port number dedicated to the instance such as Cobra Web Service 8116.
- Optionally, enter a description for the instance in the Description field.
Enter the appropriate values in the
If you are configuring the instance for SSL, you must first bind the port to the Windows Server Certificates.Attention: For more information, see Configuring Cobra Web Service to Use Secure Socket Layers.
- If you are deploying the Cobra Web Service host to support Costpoint-Cobra integration, select the Open endpoint for Deltek Costpoint check box, and enter the port number in the Port field.
- Click the Save button to save the settings in the configuration file.
In the toolbar, click the
Install button to deploy the instance.
Attention: See “Toolbar” in the Left Pane of the Cobra Web Service Management Tool topic for more information.
Check whether the host is running properly.
- Copy the URL in the Address field, and remove the trailing ‘/service’.
- Browse the address in an internet browser.
If the host is running, the page displays that you have created a service and provides details on how to test the service. If the page is not displayed, the host is either not configured correctly or is not running in Windows Services.
If you are using Windows authentication, see Configure the Cobra Web Service When Using Windows Authentication. If you want to configure the Cobra Web Service ClientAPI in your application, see Deploy the Cobra Web Service ClientAPI.Attention: See also Configure a New Instance.