Integrate ClaimCenter with ContactManager

This step is the first in the multi-step process of integrating ClaimCenter and ContactManager.

About this task

For an overview of the integration process, see Integrating ContactManager with ClaimCenter in QuickStart

Procedure

  1. At a command prompt, navigate to the ClaimCenter installation folder, and then start Guidewire Studio™ for ClaimCenter by entering the following command:
    gwb studio
  2. In Guidewire Studio for ClaimCenter, open the Project window.
  3. Press Ctrl+Shift+N and enter suite-config.xml to find this file, and then double-click the search result to open the file in the editor.

    This file defines the URLs of the applications in the Guidewire InsuranceSuite. If the entries in this file are commented out, you must remove the comments for the applications you have installed. In the default configuration, the Guidewire applications have the following settings in this file:

    <suite-config xmlns="http://guidewire.com/config/suite/suite-config">
      <!--<product name="cc" url="http://localhost:8080/cc"/>-->
      <!--<product name="pc" url="http://localhost:8180/pc"/>-->
      <!--<product name="ab" url="http://localhost:8280/ab"/>-->
      <!--<product name="bc" url="http://localhost:8580/bc"/>-->
    </suite-config>
  4. Remove the comments around the ContactManager (ab) entry, as follows:
    <suite-config xmlns="http://guidewire.com/config/suite/suite-config">
      <!--<product name="cc" url="http://localhost:8080/cc"/>-->
      <!--<product name="pc" url="http://localhost:8180/pc"/>-->
      <product name="ab" url="http://localhost:8280/ab"/>
      <!--<product name="bc" url="http://localhost:8580/bc"/>-->
    </suite-config>
  5. Press Ctrl+Shift+N and enter config.xml to find this file, and then double-click the search result to open the file in the editor.
  6. Add the ContactManager URL to the ContactSystemURL configuration parameter.
    For example:
    <param name="ContactSystemURL" value="http://localhost:8280/ab"/>

    This URL supports an exit point to ContactManager from the browser in which ClaimCenter is running. For example, the Edit in ContactManager button available when editing a contact uses this URL to open ContactManager. If you do not set this URL, the system uses the ContactManager URL defined in suite-config.xml. However, in that case, you cannot have separate browser and integration support for the URL.

  7. In the Project window, expand configuration > config > Plugins > registry.
  8. Double-click ContactSystemPlugin.gwp to open it in the Registry editor.

    By default, the system uses the plugin implementation gw.plugin.addressbook.demo.DemoContactSystemPlugin. This Java plugin implementation is provided only for product demonstrations and is not to be used for any other purpose. In the steps that follow, you replace this class with the plugin implementation that connects ClaimCenter with ContactManager.

  9. In the Registry editor, click Remove Plugin .
  10. Click Add Plugin and, in the drop-down menu, choose Add Gosu Plugin to register the new plugin implementation.
  11. In the Gosu Class field, enter the following class:
    gw.plugin.contact.ab1000.ABContactSystemPlugin
  12. If necessary, start ContactManager. At a command prompt, navigate to the ContactManager installation folder and enter the following command:
    gwb runServer
  13. In the Guidewire Studio for ClaimCenter Project window, navigate to configuration > gsrc and then to wsi.remote.gw.webservice.ab.ab1000.wsc.
  14. Double-click the ab1000.wsc web services collection to open the editor, and then, in the editor, click the following resource:
    ${ab}/ws/gw/webservice/ab/ab1000/abcontactapi/ABContactAPI?wsdl

    The ${ab} variable in this path corresponds to the product name="ab" entry in the suite-config.xml file that specifies the URL for ContactManager.

  15. With ContactManager running, click Fetch to get the latest updates to ABContactAPI.
  16. Ensure ContactManager sample data is loaded. See Load sample data for ContactManager. If sample data is not loaded and you do not want to load sample data, create the following user in ContactManager:
    Username = "ClientAppCC"
    Password = "gw"
    In the base configuration, the ABConfigurationProvider gosu class defines the ClientAppCC user credentials that ClaimCenter uses to authenticate with ContactManager when ClaimCenter makes calls to ABContactAPI. This user is included in ContactManager sample data.
    Important: Guidewire recommends that you change this user name and password in the ABConfigurationProvider gosu class and in ContactManager.
  17. Close Guidewire Studio for ClaimCenter.

What to do next

Integrate ContactManager with ClaimCenter