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 V4 Address with GeoCoding

Example: A V4 Address with GeoCoding

The following example shows a Germany address that Informatica AddressDoctor Cloud validates with a V4 status. The example also shows the following settings:
  • Enrichment
    type is set to GEOCODING, and
    GeoCodingType
    to NONE.
  • GlobalPreferredDescriptor
    is set to LONG.
  • PreferredLanguage
    is set to ENGLISH.
  • PreferredScript
    is set to LATIN.
<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>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 AddressDoctor Cloud 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/v2"> <ProcessResult> <StatusCode>100</StatusCode> <StatusMessage>OK</StatusMessage> <Results> <Result> <ProcessStatus>V4</ProcessStatus> <CountryISO3>DEU</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>5</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600060600000000060</ElementInputStatus> <ElementResultStatus>F0F080F0F000000000E0</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 LATIN script.
  • Str in the input has been expanded to its longer form: strasse.
    Röntgenstr has been converted to Roentgenstrasse.
  • The output contains interpolated geo-coordinates as specified by the
    GeoCodingType
    NONE
    .
  • Address elements in the
    AddressComplete
    field are separated by semicolon, which is the default format delimiter.

0 COMMENTS

We’d like to hear from you!