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
-
At a command prompt, navigate to the ClaimCenter installation folder, and then start
Guidewire Studio™ for ClaimCenter by entering the following command:
gwb studio - In Guidewire Studio for ClaimCenter, open the Project window.
-
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> -
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> - 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.
-
Add the ContactManager URL to the
ContactSystemURLconfiguration 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.
- In the Project window, expand .
-
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.
-
In the Registry editor, click Remove Plugin
.
-
Click Add Plugin
and, in the drop-down menu, choose Add Gosu Plugin to register the new plugin
implementation.
-
In the Gosu Class field, enter the following class:
gw.plugin.contact.ab1000.ABContactSystemPlugin -
If necessary, start ContactManager. At a command prompt, navigate to the ContactManager installation folder
and enter the following command:
gwb runServer - In the Guidewire Studio for ClaimCenter Project window, navigate to and then to wsi.remote.gw.webservice.ab.ab1000.wsc.
-
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?wsdlThe
${ab}variable in this path corresponds to theproduct name="ab"entry in the suite-config.xml file that specifies the URL for ContactManager. -
With ContactManager running, click Fetch
to get the latest updates to ABContactAPI.
-
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 theClientAppCCuser 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. - Close Guidewire Studio for ClaimCenter.
