Configure ContactManager-to-BillingCenter authentication
Guidewire recommends that you change the user name and password that ContactManager uses to authenticate with BillingCenter.
Procedure
-
Start the BillingCenter server.
At a command prompt, navigate to the BillingCenter installation folder and enter the following command:
gwb runServer -
Log in as a user who can create new BillingCenter users.
For example, log in with user name su and password gw.
-
Create a user role with all the permissions that enable working with clients whose contact information is
stored in ContactManager. The permission codes are
acctcntcreate,acctcntdelete,acctcntedit, plcycntcreate,plcycntdelete,plcycntedit,prodcntcreate,prodcntdelete,prodcntedit, andsoapadmin.- Click the Administration tab, and then navigate to .
- On the Roles screen, click New Role.
- For Name enter Client Data Admin.
- For Description enter Permissions for virtual user required by ContactManager for updating contacts.
- Below the Description field, click Add.
- Click the Permission field and choose Create account contact from the list.
-
Repeat the process for the following permissions. For each permission, click Add and choose the
permission from the drop-down list:
- Create policy contact
- Create producer contact
- Delete account contact
- Delete policy contact
- Delete producer contact
- Edit account contact
- Edit policy contact
- Edit producer contact
- SOAP administration
- Click Update to create the new Client Data Admin role.
- On the Administration tab, navigate to .
-
Enter the following values for a new user named CMUpdateBC:
Name
Value
First Name CMUpdate Last Name BC Username CMUpdateBC Password Xc8899Lm Confirm Password Xc8899Lm - Click Add User Role.
- Click the Name list and choose Client Data Admin.
- Click Next. and add some fake data for the required fields Address, City, Country, Primary Phone, and the telephone number for the type of primary phone you selected.
- Click Next.
- Click Finish.
-
Start Guidewire Studio for ContactManager.
At a command prompt, navigate to the ContactManager installation folder and enter the following command:
gwb studio - In the Project window, navigate to , and then navigate to wsi.remote.gw.webservice.bc.BCConfigurationProvider.
- Double-click BCConfigurationProvider to open it in the editor.
-
Change the
UsernameandPassworddefinition in the configure method.For example, defineUsernameandPasswordto beCMUpdateBCandXc8899Lm, as follows:override function configure( serviceName : QName, portName : QName, config : WsdlConfig ) { config.Guidewire.Authentication.Username = "CMUpdateBC" config.Guidewire.Authentication.Password = "Xc8899Lm" } -
In the Project window, the
bc1000.wsc web services collection is at the same level
as the BCConfigurationProvider class. Double-click
bc1000.wsc.
Alternatively, you can press Ctrl+Shift+N and enter bc1000, and then double-click bc1000.wsc in the search results.
-
In the editor, select the following resource:
${bc}/ws/gw/webservice/bc/bc1000/contact/ContactAPI?wsdl - Ensure that the Settings tab has the Setting Type for ConfigurationProvider set to wsi.remote.gw.webservice.bc.BCConfigurationProvider, the class you just edited.
-
With BillingCenter still running, above the Settings tab, click Fetch
to update the web service’s WSDL file.
- When the update finishes, stop the ContactManager server and then restart it to pick up this change.
- Log in to BillingCenter as a user with permission to work with the Contacts screen for accounts, such as the user su with password gw.
-
Add a contact stored in ContactManager to an active account. For example:
- Open an active account, such as the sample account named Standard Account, and, in the Sidebar on the left under Actions, click Contacts. The Contacts screen opens.
- Click Edit, and then click Add Existing Contact.
- Search for a contact that has the Client tag set in ContactManager, such as the sample Person contact Stan Newton. If necessary, log in to ContactManager and add a Client tag to a contact.
-
Click Select for a contact that the search results list says is stored in ContactManager.
The value of the contact’s External field must be Yes.
- BillingCenter adds the selected contact to the list of contacts on the Contacts Edit screen.
- Click Update to add the contact to the account.
-
Log in to ContactManager as a user who can work with contacts.
For example, log in as the sample user aapplegate with password gw.
- Make a change to the contact that you added to the account, such as entering a different address, and click Update to save the change.
- Back in BillingCenter, on the Contacts screen, select the contact you added and ensure that the data has changed for that contact.
