Table of Contents

Search

  1. Preface
  2. Introduction to Informatica AddressDoctor Cloud
  3. Informatica AddressDoctor Cloud Interface
  4. Informatica AddressDoctor Cloud Request Parameters
  5. Informatica AddressDoctor Cloud Response Elements
  6. Examples

Developer Guide

Developer Guide

Example: AddressCodeLookup

Example: AddressCodeLookup

The following example shows how you can retrieve a Japan address by using the Choumei Aza code as the AddressCodeLookup input.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://validator5.AddressDoctor.com/Webservice5/v2"> <soapenv:Header/> <soapenv:Body> <Process xmlns="http://validator5.AddressDoctor.com/Webservice5/v2"> <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>
The following example shows the 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/v2"> <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!