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 Batch Mode

Example: Single-line Address Verification in Batch Mode

The following example shows a Germany address that you submit on a single line in batch mode.
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>BATCH</ProcessMode> <ServiceParameters> </ServiceParameters> <ValidationParameters>
<FormatAddressComplete>SINGLE_LINE</FormatAddressComplete>
</ValidationParameters> </parameters> <addresses> <Address> <AddressComplete>haupstr. 1 maxdorf DEU</AddressComplete> </Address> </addresses> <enrichments></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>C4</ProcessStatus> <CountryISO3>DEU</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>4</MailabilityScore> <ResultPercentage>72.56</ResultPercentage> <ElementInputStatus>00600040600020000060</ElementInputStatus> <ElementResultStatus>80F08070F000400000E0</ElementResultStatus> <ElementRelevance>10100010100000000010</ElementRelevance> <ExtElementStatus>000050000000B0000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>DEU</LanguageISO3> <Address> <Building> <string>Haupstr. 1</string> </Building> <Street> <string>Maxdorfer Weg</string> </Street> <HouseNumber> <string>1</string> </HouseNumber> <Locality> <string>Maxdorf</string> </Locality> <PostalCode> <string>67133</string> </PostalCode> <Province> <string>Rheinland-Pfalz</string> </Province> <Country> <string>GERMANY</string> </Country> <DeliveryAddressLines> <string>Haupstr. 1</string> <string>Maxdorfer Weg 1</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>67133 Maxdorf</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>Haupstr. 1</string> <string>Maxdorfer Weg 1</string> <string>67133 Maxdorf</string> <string>GERMANY</string> </FormattedAddress> <AddressComplete>Haupstr. 1;Maxdorfer Weg 1;67133 Maxdorf;GERMANY</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>
In batch and interactive modes, Address Verification uses SINGLE_LINE as the value for the
<FormatAddressComplete>
parameter. If you set
<FormatAddressComplete>
to FORMAT_ADDRESS_LINE, Address Verification rejects the address that you submit.

0 COMMENTS

We’d like to hear from you!