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 the Cobra Web Service instances for the Concurrency feature.

To configure and deploy the Cobra Web Service host:

  1. Click Start > Deltek Cobra X.x > Deltek Cobra Web Service Management Tool.
    Note: Alternatively, navigate to the Cobra installation directory, locate CWSManagementTool, right-click it, and select Run As Administrator command from the shortcut menu.
  2. In the left pane under the Instances tree, click <New Instance>.
  3. In the Cobra Web Service Instance Settings, perform the following steps:
    1. In the Config File field, locate the Cobra.WebService.Host.exe.config file in the Cobra installation directory.
    2. 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.
    3. Optionally, enter a description for the instance in the Description field.
    4. Enter the appropriate values in the Host, Protocol, and Port fields.
      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.
    5. If you are deploying the Cobra Web Service host to support Costpoint-Cobra integration, select the Open endpoint for Deltek Costpoint checkbox, and enter the port number in the Port field.
  4. Click the Save button to save the settings in the configuration file.
  5. In the toolbar, click the Install button to deploy the instance.
    Attention: For more information, see “Toolbar” in Left Pane of the Cobra Web Service Management Tool.
  6. Check whether the host is running properly.
    1. Copy the URL in the Address field, and remove the trailing ‘/service’.
    2. 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.
    Attention: 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: For more information, see Configure a New Instance.