Integrate ContactManager with PolicyCenter
To set up the Guidewire ContactManager™ side of integration with Guidewire PolicyCenter™, use Guidewire Studio™ for ContactManager to change suite and plugin registry settings.
Before you begin
Procedure
-
At a command prompt, navigate to the ContactManager installation folder, and then start
Guidewire Studio™ for ContactManager by entering the following command:
gwb studio - In Guidewire Studio for ContactManager, 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 PolicyCenter (pc) 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> - Open the Project window and expand .
-
Double-click PolicySystemPlugin.gwp to open it in the
Plugin Registry editor.
You need to register a plugin implementation so ContactManager can use it to synchronize address book changes with PolicyCenter. By default, the system uses gw.plugin.integration.StandAloneClientSystemPlugin. You must replace this plugin implementation because it does not broadcast Contact changes and does not communicate with core applications.
-
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.policy.pc1000.PCPolicySystemPlugin
- Navigate to and then to wsi.remote.gw.webservice.pc.pc1000.wsc.
-
Double-click the pc1000.wsc web services collection to
open the editor, and then, in the editor, click the following resource:
${pc}/ws/gw/webservice/pc/pc1000/contact/ContactAPI?wsdlContactManager calls this PolicyCenter webservice when it has Contact updates for PolicyCenter. The PolicyCenter web service ContactAPI implements the interface ABClientAPI. The
${pc}variable in this path corresponds to theproduct name="pc"entry in the suite-config.xml file, which specifies the URL for PolicyCenter. -
Ensure that the PolicyCenter server is running, and then click Fetch
to get the latest updates to
ContactAPI.
-
At the bottom of the window is the Settings tab. The default setting in this tab is the
configuration provider class. This class,
wsi.remote.gw.webservice.pc.PCConfigurationProvider,
defines the user name and password that ContactManager uses to connect with
PolicyCenter.
Important: In the base configuration, ContactManager uses the user name su and password gw. Guidewire recommends that you change this user name and password in the PCConfigurationProvider class and in ContactManager.
- When the update finishes, close Guidewire Studio for ContactManager.
-
To pick up your changes, stop and restart ContactManager and PolicyCenter.
-
Stop PolicyCenter.
Open a command prompt in the PolicyCenter installation folder and then enter the following command:
gwb stopServer -
Stop ContactManager.
Open a command prompt in the ContactManager installation folder and then enter the following command:
gwb stopServer -
Start the ContactManager application in the ContactManager installation folder:
gwb runServer -
Start the PolicyCenter application in the PolicyCenter installation folder:
gwb runServer
-
Stop PolicyCenter.
