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: Verifying Multiple Addresses

Example: Verifying Multiple Addresses

Address Verification can verify up to 1000 addresses in batch and certified modes. Enter the addresses in an array.
The following example shows a request to validate an array of addresses in batch mode:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v4="http://validator5.AddressDoctor.com/Webservice5/v4"> <soapenv:Header/> <soapenv:Body> <v4:Process> <v4:login>*****</v4:login> <v4:password>******</v4:password> <v4:parameters> <v4:ProcessMode>BATCH</v4:ProcessMode> <v4:ServiceParameters> </v4:ServiceParameters> <v4:ValidationParameters> </v4:ValidationParameters> </v4:parameters> <v4:addresses> <!-- Address 1 -->
<v4:Address> <v4:Country> <v4:string>USA</v4:string> </v4:Country> <v4:AddressComplete>104 Nicholson Rd;New York NC 27529</v4:AddressComplete> </v4:Address>
<!-- Address 2 -->
<v4:Address> <v4:Country> <v4:string>USA</v4:string> </v4:Country> <v4:AddressComplete>108 Nicholson Rd;New York NC 27529</v4:AddressComplete> </v4:Address>
</v4:addresses> </v4:Process> </soapenv:Body> </soapenv:Envelope>
Informatica Address Verification returns the following response as an array:
<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>C4</ProcessStatus> <CountryISO3>USA</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>5</MailabilityScore> <ResultPercentage>90.00</ResultPercentage> <ElementInputStatus>60306060600000000060</ElementInputStatus> <ElementResultStatus>F870F8F0F000000000E0</ElementResultStatus> <ElementRelevance>11101010100000000010</ElementRelevance> <ExtElementStatus>00000000000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Street> <string>NICHOLSON RD</string> </Street> <HouseNumber> <string>104</string> </HouseNumber> <Locality> <string>GARNER</string> </Locality> <PostalCode> <string>27529-4844</string> </PostalCode> <Province> <string>NC</string> <string>WAKE</string> </Province> <Country> <string>UNITED STATES</string> </Country> <DeliveryAddressLines> <string>104 NICHOLSON RD</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>GARNER NC 27529-4844</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>104 NICHOLSON RD</string> <string>GARNER NC 27529-4844</string> <string>UNITED STATES</string> </FormattedAddress> <AddressComplete>104 NICHOLSON RD;GARNER NC 27529-4844;UNITED STATES</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> <Result> <ProcessStatus>C4</ProcessStatus> <CountryISO3>USA</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>5</MailabilityScore> <ResultPercentage>90.00</ResultPercentage> <ElementInputStatus>60306060600000000060</ElementInputStatus> <ElementResultStatus>F870F8F0F000000000E0</ElementResultStatus> <ElementRelevance>11101010100000000010</ElementRelevance> <ExtElementStatus>00000000000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Street> <string>NICHOLSON RD</string> </Street> <HouseNumber> <string>108</string> </HouseNumber> <Locality> <string>GARNER</string> </Locality> <PostalCode> <string>27529-4844</string> </PostalCode> <Province> <string>NC</string> <string>WAKE</string> </Province> <Country> <string>UNITED STATES</string> </Country> <DeliveryAddressLines> <string>108 NICHOLSON RD</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>GARNER NC 27529-4844</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>108 NICHOLSON RD</string> <string>GARNER NC 27529-4844</string> <string>UNITED STATES</string> </FormattedAddress> <AddressComplete>108 NICHOLSON RD;GARNER NC 27529-4844;UNITED STATES</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!