Integrate BillingCenter with ContactManager

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

About this task

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

Procedure

  1. At a command prompt, navigate to the BillingCenter installation folder, and then start Guidewire Studio™ for BillingCenter by entering the following command:
    gwb studio
  2. In Guidewire Studio for BillingCenter, 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. In the Project window, expand configuration > config > Plugins > registry.
  6. Double-click ContactSystemPlugin.gwp to open it in the Registry editor.

    By default, the system uses the plugin implementation gw.plugin.contact.impl.StandAloneContactSystemPlugin. BillingCenter uses this Gosu plugin if it is not integrated with a contact management system. In the steps that follow, you replace this class with the plugin implementation that connects BillingCenter with ContactManager.

  7. In the Registry editor, click Remove Plugin .
  8. Click Add Plugin and, in the drop-down menu, choose Add Gosu Plugin to register the new plugin implementation.
  9. In the Gosu Class field, enter the following class:
    gw.plugin.contact.ab1000.ABContactSystemPlugin
  10. If necessary, start ContactManager.

    At a command prompt, navigate to the ContactManager installation folder and enter the following command:

    gwb runServer 
  11. In the Guidewire Studio for BillingCenter Project window, navigate to configuration > gsrc and then to wsi.remote.gw.webservice.ab.ab1000.wsc.
  12. 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.

  13. With ContactManager running, click Fetch to get the latest updates to ABContactAPI.
  14. In the same editor, look at the Settings tab.

    There is a setting for the configuration provider wsi.remote.gw.webservice.ab.ABConfigurationProvider. This class defines the user name and password that BillingCenter uses to authenticate with ContactManager when BillingCenter makes calls to ABContactAPI. In the base configuration, ABConfigurationProvider defines the following:

    config.Guidewire.Authentication.Username = "su"
    config.Guidewire.Authentication.Password = "gw"
    Note: Guidewire recommends that you change this user name and password in the ABConfigurationProvider class and in ContactManager.
  15. When the update finishes, close Guidewire Studio for BillingCenter.

What to do next

The next step is Integrate ContactManager with BillingCenter.