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 an Address that Contains Residue Information

Example: Verifying an Address that Contains Residue Information

The following example shows how
Informatica Address Verification
verifies an address that contains superfluous information.
The request contains two localities, Maxdorf and Mannheim. Because the street information and the postal code belong to Maxdorf,
Informatica Address Verification
moves Mannheim to the
Residue
element in the response.
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>INTERACTIVE</ProcessMode> </parameters> <addresses> <Address> <FormattedAddress> <string>Röntgenstr. 9</string> <string>67133 Maxdorf</string> <string>Mannheim</string> <string>DEU</string> </FormattedAddress> </Address> </addresses> </Process> </soapenv:Body> </soapenv:Envelope>
In the following response,
Informatica Address Verification
moves Mannheim, which is not required for mail delivery, to the
Residue
element. Note that the information in the
Residue
element is not included in the
FormattedAddress
or
AddressComplete
elements:
<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>100.00</ResultPercentage> <ElementInputStatus>60600060600000000060</ElementInputStatus> <ElementResultStatus>F0F080F0F000000000E0</ElementResultStatus> <ElementRelevance>10100010100000000010</ElementRelevance> <ExtElementStatus>00005000000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000 </AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>DEU</LanguageISO3> <Address> <Street> <string>Röntgenstr.</string> </Street> <HouseNumber> <string>9</string> </HouseNumber> <Locality> <string>Maxdorf</string> </Locality> <PostalCode> <string>67133</string> </PostalCode> <Province> <string>Rheinland-Pfalz</string> </Province> <Country> <string>GERMANY</string> </Country> <Residue> <string>Mannheim</string> </Residue> <DeliveryAddressLines> <string>Röntgenstr. 9</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>67133 Maxdorf</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>Röntgenstr. 9</string> <string>67133 Maxdorf</string> <string>GERMANY</string> </FormattedAddress> <AddressComplete>Röntgenstr. 9;67133 Maxdorf;GERMANY </AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!