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: Address Verification with Geocoding

Example: Address Verification with Geocoding

The following example shows an address verification request for a Germany address that includes a request for the address geocoordinates.
The example includes the following settings:
  • Enrichment
    type is set to GEOCODING, and
    GeoCodingType
    is set to NONE.
    When you set the
    GeoCodingType
    to NONE, Address Verification returns standard geocodes for the address.
  • GlobalPreferredDescriptor
    is set to LONG.
  • PreferredLanguage
    is set to ENGLISH.
  • PreferredScript
    is set to LATIN.
You submit the following request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://validator5.AddressDoctor.com/Webservice5/v4"> <soapenv:Header/> <soapenv:Body> <Process> <login>*****</login> <password>******</password> <parameters> <ProcessMode>INTERACTIVE</ProcessMode> <ValidationParameters> <PreferredLanguage>ENGLISH</PreferredLanguage> <PreferredScript>LATIN</PreferredScript> <GlobalPreferredDescriptor>LONG</GlobalPreferredDescriptor> <GeoCodingType>NONE</GeoCodingType> </ValidationParameters> </parameters> <addresses> <Address> <FormattedAddress> <string>Röntgenstr. 9</string> <string>67133 Maxdorf</string> <string>DEU</string> </FormattedAddress> </Address> </addresses> <enrichments> <Enrichment> <Type>GEOCODING</Type> </Enrichment> </enrichments> </Process> </soapenv:Body> </soapenv:Envelope>
Informatica Address Verification
returns the following response:
<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/v4"> <ProcessResult> <StatusCode>100</StatusCode> <StatusMessage>OK</StatusMessage> <Results> <Result> <ProcessStatus>V3</ProcessStatus> <CountryISO3>DEU</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>5</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600050600000000060</ElementInputStatus> <ElementResultStatus>F0F080E0F000000000E0</ElementResultStatus> <ElementRelevance>10100010100000000010</ElementRelevance> <ExtElementStatus>00E000E0000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Street> <string>Roentgenstrasse</string> </Street> <HouseNumber> <string>9</string> </HouseNumber> <Locality> <string>Maxdorf</string> </Locality> <PostalCode> <string>67133</string> </PostalCode> <Province> <string>Rhineland-Palatinate</string> </Province> <Country> <string>GERMANY</string> </Country> <DeliveryAddressLines> <string>Roentgenstrasse 9</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>67133 Maxdorf</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>Roentgenstrasse 9</string> <string>67133 Maxdorf</string> <string>GERMANY</string> </FormattedAddress> <AddressComplete>Roentgenstrasse 9;67133 Maxdorf;GERMANY</AddressComplete> </Address> </ResultData> </ResultDataSet> <Enrichments> <Enrichment> <Type>GEOCODING</Type>
<PayloadXml><![CDATA[<GEOCODING><Status>EGC8</Status><COMPLETE>49.490461, 8.290109 WGS84</COMPLETE><LATITUDE>49.490461</LATITUDE><LONGITUDE>8.290109</LONGITUDE><LAT_LONG_UNIT>WGS84</LAT_LONG_UNIT></GEOCODING>]]></PayloadXml>
</Enrichment> </Enrichments> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>
Note the following points in the response:
  • The output is in English using the LATIN script.
  • The street descriptor
    str
    in the input address becomes
    strasse
    in
    Roentgenstrasse
    in the output address..
  • The output address contains standard geocoordinates as specified by the
    GeoCodingType
    value of
    NONE
    .
  • Address elements in the
    AddressComplete
    field are separated by a semicolon. The semicolon is the default format delimiter.

0 COMMENTS

We’d like to hear from you!