Table of Contents

Search

  1. Preface
  2. Introduction to Informatica AddressDoctor Cloud
  3. Informatica AddressDoctor Cloud Interface
  4. Informatica AddressDoctor Cloud Request Parameters
  5. Informatica AddressDoctor Cloud 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 AddressDoctor returns the rooftop geocoordinates even though the address does not contain a house number.
The request specifies the
GeoCodingType
as ARRIVAL_POINT. For United Kingdom addresses, you receive rooftop geocoordinates if you set the geocoding type to arrival point. 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/v2"> <soapenv:Header/> <soapenv:Body> <Process xmlns="http://validator5.AddressDoctor.com/Webservice5/v2"> <login>*****</login> <password>*****</password> <parameters> <ProcessMode>BATCH</ProcessMode> <ValidationParameters> <PreferredLangauge>ENGLISH</PreferredLangauge> <PreferredScript>ASCII_SIMPLIFIED</PreferredScript> <GeoCodingType>ARRIVAL_POINT</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 AddressDoctor Cloud 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/v2"> <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>EGC9</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!