Address matching is a very important aspect in finding the right individual for whom the credit report needs to be fetched. Equifax provides the current as well as previous addresses of the individual. This can be used to take decisions in the business logic code. This recipe describes the code required to integrate this service.
1. Create an XML for the address matching service.
String xml = "<?xml version=\"1.0\" standalone=\"yes\"?>" + "<request>" + "<request_header session_token=\"e47acafa-cef8-11df-a869-0a884fe6aa77-73\" interface_version_no= \"1.0\" dtd_version_no=\"1.0\">" + "<client_reference>XXXX</client_reference>" + "</request_header>" + "<service_request id=\"1\">" + "<address_matching_service>" + "<address_match_request>" + "<input_address max_matches=\"3\" forename=\"\" middlename=\"\" surname=\"\">" + "<fixed_format_address house_name=\"\" house_number=\"00077\" street_1...