Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Address Verification
  3. Informatica Address Verification Interface
  4. Informatica Address Verification Request Parameters
  5. Informatica Address Verification Response Elements
  6. Examples

Developer Guide

Developer Guide

Example: A United Kingdom Address with Building-Level Rooftop GeoCoding

Example: A United Kingdom Address with Building-Level Rooftop GeoCoding

The following example shows a United Kingdom address for which Informatica Address Verification returns the rooftop geocoordinates even though the address does not contain a house number.
The request specifies the
GeoCodingType
as ROOFTOP. For United Kingdom addresses, you receive rooftop geocoordinates if you set the geocoding type to rooftop. The request also specifies the
Enrichment
Type
as GEOCODING.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://validator5.AddressDoctor.com/Webservice5/
v3
"> <soapenv:Header/> <soapenv:Body> <Process xmlns="http://validator5.AddressDoctor.com/Webservice5/
v3
"> <login>*****</login> <password>*****</password> <parameters> <ProcessMode>BATCH</ProcessMode> <ValidationParameters> <PreferredLangauge>ENGLISH</PreferredLangauge> <PreferredScript>ASCII_SIMPLIFIED</PreferredScript> <GeoCodingType>ROOFTOP</GeoCodingType> </ValidationParameters> </parameters> <addresses> <Address> <FormattedAddress> <string>REDBOURNE HOUSE</string> <string>REDBOURNE AVENUE </string> <string>LONDON</string> <string>N3 2BT GBR </string> </FormattedAddress> </Address> </addresses> <enrichments> <Enrichment> <Type>GEOCODING</Type> </Enrichment> </enrichments> </Process> </soapenv:Body></soapenv:Envelope>
In the result, Informatica Address Verification returns the rooftop geocoordinates along with the validated output.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProcessResponse xmlns="http://validator5.AddressDoctor.com/Webservice5/
v3
"> <ProcessResult> <StatusCode>100</StatusCode> <StatusMessage>OK</StatusMessage> <Results> <Result> <ProcessStatus>V4</ProcessStatus> <CountryISO3>GBR</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>5</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600060000060000060</ElementInputStatus> <ElementResultStatus>F0F000F00000F00000E0</ElementResultStatus> <ElementRelevance>10100010000010000010</ElementRelevance> <ExtElementStatus>00000000000000100000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>B</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Building> <string>REDBOURNE HOUSE</string> </Building> <Street> <string>REDBOURNE AVENUE</string> </Street> <Locality> <string>LONDON</string> </Locality> <PostalCode> <string>N3 2BT</string> </PostalCode> <Country> <string>UNITED KINGDOM</string> </Country> <DeliveryAddressLines> <string>REDBOURNE HOUSE</string> <string>REDBOURNE AVENUE</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>LONDON</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>REDBOURNE HOUSE</string> <string>REDBOURNE AVENUE</string> <string>LONDON</string> <string>N3 2BT</string> <string>UNITED KINGDOM</string> </FormattedAddress> <AddressComplete>REDBOURNE HOUSE;REDBOURNE AVENUE;LONDON;N3 2BT;UNITED KINGDOM</AddressComplete> </Address> </ResultData> </ResultDataSet> <Enrichments> <Enrichment> <Type>GEOCODING</Type> <PayloadXml><![CDATA[<GEOCODING><Status>EGCB</Status><COMPLETE>51.6019848373084, -0.189663122839373 WGS84</COMPLETE><LATITUDE>51.6019848373084</LATITUDE><LONGITUDE>-0.189663122839373</LONGITUDE><LAT_LONG_UNIT>WGS84</LAT_LONG_UNIT></GEOCODING>]]></PayloadXml> </Enrichment> </Enrichments> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!