Restart Studio and modify ContactManager
Before you begin
Procedure
- Close and restart Guidewire Studio™ to clear any errors you see reported in the classes that you changed.
-
Modify the ContactMapper class in both PolicyCenter and ContactManager to pass the field to and from ContactManager:
-
Navigate in the Project window to and then to
gw/contactmapper/ab900/ContactMapper. -
Add a call to
fieldMappingforAddress#Suburbafter the field mapping call forAddress#CEDEXBureau:fieldMapping(Address#CEDEXBureau), fieldMapping(Address#Suburb),
-
Navigate in the Project window to and then to
-
Make the following web service change in ContactManager only:
- If necessary, open Guidewire Studio for ContactManager.
-
Navigate in the Project window to and then to
gw/webservice/ab/ab900/abcontactapi/AddressInfo. -
Add the following variable definition to the list of variables at the top of the class:
public var Suburb : String -
Add the following line of code to the method construct(address : Address):
this.Suburb = address.Suburb
- Restart ContactManager.
-
In Guidewire Studio for PolicyCenter, reload the
ContactManager web service, as follows:
- In the Project window, navigate to and double-click ab900.wsc to open it in the editor.
-
In the Resources pane, click
${ab}/ws/gw/webservice/ab/ab900/abcontactapi/ABContactAPI?wsdlto select it. -
At the bottom of the
Resourcespane, click Fetch Updates.
What to do next
See also
