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: Using a Choumei Aza Code to Retrieve a Japan Address

Example: Using a Choumei Aza Code to Retrieve a Japan Address

The following example shows how you can use a Choumei Aza code to retrieve a Japan address in address code lookup 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>ADDRESSCODELOOKUP</ProcessMode> <ValidationParameters> <PreferredScript>LATIN</PreferredScript> </ValidationParameters> </parameters> <addresses> <Address> <Country> <string>JPN</string> </Country> <AddressCode> <CodeType>JPN_CHOUMEI_AZA_CODE</CodeType> <Value>28201160001</Value> </AddressCode> </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> <Results> <Result> <ProcessStatus>A1</ProcessStatus> <CountryISO3>JPN</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>0</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>00000000000000000000</ElementInputStatus> <ElementResultStatus>F0FFF0F00000000000E0</ElementResultStatus> <ElementRelevance>10111010000000000010</ElementRelevance> <ExtElementStatus>00000000000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000 </AddressResolutionCode> <AddressType/> <LanguageISO3/> <Address> <Street> <string>1 CHŌME</string> </Street> <Locality> <string>HIMEJI-SHI</string> <string/> <string>TADERAHIGA-SHI</string> </Locality> <PostalCode> <string>670-0081</string> </PostalCode> <Province> <string>HYŌGO-KEN</string> </Province> <Country> <string>JAPAN</string> </Country> <DeliveryAddressLines> <string>1 CHŌME</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>HIMEJI-SHI HYŌGO-KEN 670-0081</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>1 CHŌME</string> <string>TADERAHIGA-SHI</string> <string>HIMEJI-SHI HYŌGO-KEN 670-0081</string> <string>JAPAN</string> </FormattedAddress> <AddressComplete>1 CHŌME;TADERAHIGA-SHI;HIMEJI-SHI HYŌGO-KEN 670-0081;JAPAN</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!