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: An Austria Address with Country-Specific Enrichment

Example: An Austria Address with Country-Specific Enrichment

The following example shows an Informatica AddressDoctor Cloud request to validate an Austria address and retrieving the PAC information for the address.
The following validation parameters are set in this request:
  • FormatDelimiter
    is set to COMMA.
  • PreferredScript
    is set to LATIN.
  • PreferredLanguage
    is set to ENGLISH.
  • MaxResultCount
    is set to 100.
  • Under
    Standardizations
    for LOCALITY,
    Casing
    is set to UPPER.
  • Type of
    Enrichment
    is set to SUPPLEMENTARY_AT.
<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> <FormatDelimiter>COMMA</FormatDelimter> <PreferredScript>LATIN</PreferredScript> <PreferredLanguage>ENGLISH</PreferredLanguage> <MaxResultCount>100</MaxResultCount> <Standardizations> <Element>LOCALITY</Element> <Casing>UPPER</Casing> <MaxLength>50</MaxLength> <MaxItemCount>2</MaxItemCount> </Standardizations> </ValidationParameters> </parameters> <addresses> <Address> <FormattedAddress> <string>Grafenweg 3</string> <string>6714 Nüziders</string> <string>AUT</string> </FormattedAddress> </Address> </addresses> <enrichments> <Enrichment> <Type>SUPPLEMENTARY_AT</Type> </Enrichment> </enrichments> </Process> </soapenv:Body> </soapenv:Envelope>
Note the following points in the response:
  • The elements in
    AddressComplete
    are separated by commas.
  • The Locality element is returned in all capital letters because of the element standardization setting in the request.
  • The output is in English language using the Latin script.
  • The PAC code for the address.
<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>AUT</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>5</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600060600000000060</ElementInputStatus> <ElementResultStatus>F0F080F0F000000000E0</ElementResultStatus> <ElementRelevance>10100010100000000010</ElementRelevance> <ExtElementStatus>00E0E0E0000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000 </AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>DEU</LanguageISO3> <Address> <Street> <string>Grafenweg</string> </Street> <HouseNumber> <string>3</string> </HouseNumber> <Locality> <string>NUEZIDERS</string> </Locality> <PostalCode> <string>6714</string> </PostalCode> <Province> <string>Vorarlberg</string> </Province> <Country> <string>AUSTRIA</string> </Country> <DeliveryAddressLines> <string>Grafenweg 3</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>6714 Nueziders</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>Grafenweg 3</string> <string>6714 Nueziders</string> <string>AUSTRIA</string> </FormattedAddress> <AddressComplete>Grafenweg 3,6714 Nueziders,AUSTRIA </AddressComplete> </Address> </ResultData> </ResultDataSet> <Enrichments> <Enrichment> <Type>SUPPLEMENTARY_AT</Type> <PayloadXml><![CDATA[<SUPPLEMENTARY_AT><Status>EAT1 </Status><POSTAL_ADDRESS_CODE>100501606 </POSTAL_ADDRESS_CODE></SUPPLEMENTARY_AT>]]></PayloadXml> </Enrichment> </Enrichments> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!