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: Single-Line Address Verification in Fast Completion Mode

Example: Single-Line Address Verification in Fast Completion Mode

The following example validates an Australia address that you submit on a single line.
Note the following settings in the input:
  • The
    ProcessMode
    value is FASTCOMPLETION.
  • The address is entered in the
    AddressComplete
    field.
  • The
    MaxResultCount
    value is 5.
  • The input does not specify a
    FormatDelimiter
    value.
  • The
    GlobalPreferredDescriptor
    value is SHORT.
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>FASTCOMPLETION</ProcessMode>
<ValidationParameters> <MaxResultCount>5</MaxResultCount> <GlobalPreferredDescriptor>SHORT</GlobalPreferredDescriptor> </ValidationParameters> </parameters> <addresses> <Address> <Country> <string>AUS</string> </Country> <AddressComplete>255 George Street 2000 Sydney</AddressComplete> </Address> </addresses> </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> <JobToken>d4e7eecd-461e-46b6-81c3-ea133c472dbb</JobToken> <Results> <Result> <ProcessStatus>Q3</ProcessStatus> <CountryISO3>AUS</CountryISO3> <ResultDataSet> <ResultData>
<ResultNumber>1</ResultNumber>
<MailabilityScore>2</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600050600000000060</ElementInputStatus> <ElementResultStatus>F0F080E0F000800000E0</ElementResultStatus> <ElementRelevance>10101010100000000010</ElementRelevance> <ExtElementStatus>00000000000000100000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Building> <string>NATIONAL AUSTRALIA BANK HOUSE</string> </Building> <Street> <string>GEORGE ST</string> </Street> <HouseNumber> <string>255</string> </HouseNumber> <Locality> <string>SYDNEY</string> </Locality> <PostalCode> <string>2000</string> </PostalCode> <Province> <string>NSW</string> </Province> <Country> <string>AUSTRALIA</string> </Country> <DeliveryAddressLines> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>255 GEORGE ST</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>SYDNEY NSW 2000</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>255 GEORGE ST</string> <string>SYDNEY NSW 2000</string> <string>AUSTRALIA</string> </FormattedAddress> <AddressComplete>NATIONAL AUSTRALIA BANK HOUSE;255 GEORGE ST;SYDNEY NSW 2000;AUSTRALIA</AddressComplete> </Address> </ResultData> <ResultData>
<ResultNumber>2</ResultNumber>
<MailabilityScore>2</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600050600000000060</ElementInputStatus> <ElementResultStatus>F0F080E0F000800800E0</ElementResultStatus> <ElementRelevance>10101010100000010010</ElementRelevance> <ExtElementStatus>00000000000000100000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Building> <string>NATIONAL AUSTRALIA BANK HOUSE</string> </Building> <SubBuilding> <string/> <string>G</string> </SubBuilding> <Street> <string>GEORGE ST</string> </Street> <HouseNumber> <string>255</string> </HouseNumber> <Locality> <string>SYDNEY</string> </Locality> <PostalCode> <string>2000</string> </PostalCode> <Province> <string>NSW</string> </Province> <Country> <string>AUSTRALIA</string> </Country> <DeliveryAddressLines> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>G 255 GEORGE ST</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>SYDNEY NSW 2000</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>G 255 GEORGE ST</string> <string>SYDNEY NSW 2000</string> <string>AUSTRALIA</string> </FormattedAddress> <AddressComplete>NATIONAL AUSTRALIA BANK HOUSE;G 255 GEORGE ST;SYDNEY NSW 2000;AUSTRALIA</AddressComplete> </Address> </ResultData> <ResultData>
<ResultNumber>3</ResultNumber>
<MailabilityScore>2</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600050600000000060</ElementInputStatus> <ElementResultStatus>F0F080E0F000800800E0</ElementResultStatus> <ElementRelevance>10101010100000010010</ElementRelevance> <ExtElementStatus>000000000000001C0000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Building> <string>NATIONAL AUSTRALIA BANK HOUSE</string> </Building> <SubBuilding> <string/> <string>L 2-27</string> </SubBuilding> <Street> <string>GEORGE ST</string> </Street> <HouseNumber> <string>255</string> </HouseNumber> <Locality> <string>SYDNEY</string> </Locality> <PostalCode> <string>2000</string> </PostalCode> <Province> <string>NSW</string> </Province> <Country> <string>AUSTRALIA</string> </Country> <DeliveryAddressLines> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>L 2-27 255 GEORGE ST</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>SYDNEY NSW 2000</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>L 2-27 255 GEORGE ST</string> <string>SYDNEY NSW 2000</string> <string>AUSTRALIA</string> </FormattedAddress> <AddressComplete>NATIONAL AUSTRALIA BANK HOUSE;L 2-27 255 GEORGE ST;SYDNEY NSW 2000;AUSTRALIA</AddressComplete> </Address> </ResultData> <ResultData>
<ResultNumber>4</ResultNumber>
<MailabilityScore>2</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600050600000000060</ElementInputStatus> <ElementResultStatus>F0F080E0F000800800E0</ElementResultStatus> <ElementRelevance>10101010100000010010</ElementRelevance> <ExtElementStatus>000000000000001C0000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Building> <string>NATIONAL AUSTRALIA BANK HOUSE</string> </Building> <SubBuilding> <string/> <string>L 28-30</string> </SubBuilding> <Street> <string>GEORGE ST</string> </Street> <HouseNumber> <string>255</string> </HouseNumber> <Locality> <string>SYDNEY</string> </Locality> <PostalCode> <string>2000</string> </PostalCode> <Province> <string>NSW</string> </Province> <Country> <string>AUSTRALIA</string> </Country> <DeliveryAddressLines> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>L 28-30 255 GEORGE ST</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>SYDNEY NSW 2000</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>L 28-30 255 GEORGE ST</string> <string>SYDNEY NSW 2000</string> <string>AUSTRALIA</string> </FormattedAddress> <AddressComplete>NATIONAL AUSTRALIA BANK HOUSE;L 28-30 255 GEORGE ST;SYDNEY NSW 2000;AUSTRALIA</AddressComplete> </Address> </ResultData> <ResultData>
<ResultNumber>5</ResultNumber>
<MailabilityScore>2</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600050600000000060</ElementInputStatus> <ElementResultStatus>F0F080E0F000808800E0</ElementResultStatus> <ElementRelevance>10101010100000110010</ElementRelevance> <ExtElementStatus>00000000000000CC0000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Building> <string>NATIONAL AUSTRALIA BANK HOUSE</string> </Building> <SubBuilding> <string>SE 1-2</string> <string>L 1-6</string> </SubBuilding> <Street> <string>GEORGE ST</string> </Street> <HouseNumber> <string>255</string> </HouseNumber> <Locality> <string>SYDNEY</string> </Locality> <PostalCode> <string>2000</string> </PostalCode> <Province> <string>NSW</string> </Province> <Country> <string>AUSTRALIA</string> </Country> <DeliveryAddressLines> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>SE 1-2 L 1-6</string> <string>255 GEORGE ST</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>SYDNEY NSW 2000</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>NATIONAL AUSTRALIA BANK HOUSE</string> <string>SE 1-2 L 1-6</string> <string>255 GEORGE ST</string> <string>SYDNEY NSW 2000</string> <string>AUSTRALIA</string> </FormattedAddress> <AddressComplete>NATIONAL AUSTRALIA BANK HOUSE;SE 1-2 L 1-6;255 GEORGE ST;SYDNEY NSW 2000;AUSTRALIA</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>
In the response, note the following:
  • Five suggestions are returned.
  • Address elements in the
    AddressComplete
    field are separated by a semicolon. The semicolon is the default
    FormatDelimiter
    value.
  • The address uses the short form of each element descriptor.

0 COMMENTS

We’d like to hear from you!