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

GlobalPreferredDescriptor

GlobalPreferredDescriptor

You can configure the
GlobalPreferredDescriptor
element to specify the output format for descriptors in several countries. Use
GlobalPreferredDescriptor
to set English-language street, building, and subbuilding descriptors in Australia, New Zealand, and United States addresses. Use
GlobalPreferredDescriptor
to specify English-language street and building descriptors in Ireland addresses. The element also applies to the Strasse element descriptor in Germany addresses.
Set one of the following values for
GlobalPreferredDescriptor
:
  • DATABASE
    . Returns the element descriptor that the reference database specifies for the address. If the database does not specify a descriptor for the address,
    Informatica Address Verification
    copies the input value to the output address. DATABASE is the default value.
  • LONG
    . Returns the expanded form of the element descriptor in the input address.
  • SHORT
    . Returns the abbreviated form of the element descriptor in the input address.
  • PRESERVE_INPUT
    . Copies the element descriptor from the input address to the output address.
    If the input element descriptor is not an official synonym,
    Informatica Address Verification
    returns the corresponding value from the reference database. For example, when you validate an Australia address that contains BD for boulevard,
    Informatica Address Verification
    corrects the descriptor to BVD. BVD is the standard short term for boulevard in Australia.
The following SOAP request includes a
GlobalPreferredDescriptor
of PRESERVE_INPUT:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://validator5.AddressDoctor.com/Webservice5/
v3
"> <soapenv:Header/> <soapenv:Body> <Process xmlns="http://validator5.AddressDoctor.com/Webservice5/
v3
"> <login>*******</login> <password>********</password> <parameters> <ProcessMode>INTERACTIVE</ProcessMode> <ValidationParameters> <GlobalPreferredDescriptor>PRESERVE_INPUT </GlobalPreferredDescriptor> </ValidationParameters> </parameters> <addresses> <Address> <FormattedAddress> <string>OCEAN BD 2</string> <string>SEACLIFF PARK 5049</string> <string>SOUTH AUSTRALIA</string> <string>AUS</string> </FormattedAddress> </Address> </addresses> </Process> </soapenv:Body> </soapenv:Envelope>
In the following response, Address Verification replaces BD with BVD, which is the standard short form for boulevard in Australia addresses:
<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/
v3
"> <ProcessResult> <StatusCode>100</StatusCode> <StatusMessage>OK</StatusMessage> <Results> <Result> <ProcessStatus>C4</ProcessStatus> <CountryISO3>AUS</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>4</MailabilityScore> <ResultPercentage>97.76</ResultPercentage> <ElementInputStatus>60605040600000000060</ElementInputStatus> <ElementResultStatus>F0F0E070F000000000E0</ElementResultStatus> <ElementRelevance>10101010100000000010</ElementRelevance> <ExtElementStatus>00000000000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000 </AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Street> <string>OCEAN BVD</string> </Street> <HouseNumber> <string>2</string> </HouseNumber> <Locality> <string>SEACLIFF PARK</string> </Locality> <PostalCode> <string>5049</string> </PostalCode> <Province> <string>SA</string> </Province> <Country> <string>AUSTRALIA</string> </Country> <DeliveryAddressLines> <string>2 OCEAN BVD</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>SEACLIFF PARK SA 5049</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>2 OCEAN BVD</string> <string>SEACLIFF PARK SA 5049</string> <string>AUSTRALIA</string> </FormattedAddress> <AddressComplete>2 OCEAN BVD;SEACLIFF PARK SA 5049; AUSTRALIA</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!