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: An India Address with Multiple Levels of Locality Information

Example: An India Address with Multiple Levels of Locality Information

The following example shows an India address that has multiple levels of locality information. Because the parameters elements are not included in the request, Informatica AddressDoctor Cloud uses the default settings to validate this address.
<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>INTERACTIVE</ProcessMode> </parameters> <addresses> <Address> <FormattedAddress> <string>ABC Ltd</string> <string>66 Akurli Road Near Big Bazar </string> <string>Akurli Industrial Premises</string> <string>Kandivali East</string> <string>Mumbai 400101</string> <string>India</string> </FormattedAddress> </Address> </addresses> </Process> </soapenv:Body> </soapenv:Envelope>
In the following response you can see that the validated output contains three levels of Locality. The additional information provided along with the street information, Near Big Bazar, is returned in the street element but separated from the street information by a comma.
<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>V2</ProcessStatus> <CountryISO3>IND</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>4</MailabilityScore> <ResultPercentage>100.0</ResultPercentage> <ElementInputStatus>60660060200000002060</ElementInputStatus> <ElementResultStatus>F0FF88F04000000040E0</ElementResultStatus> <ElementRelevance>10110010100000001010</ElementRelevance> <ExtElementStatus>00000060000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000 </AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3/> <Address> <Organization> <string>ABC Ltd</string> </Organization> <Street> <string>Akurli Road, Near Big Bazar</string> </Street> <HouseNumber> <string>66</string> </HouseNumber> <Locality> <string>Mumbai</string> <string>Kandivali East</string> <string>Akurli Industrial Premises</string> </Locality> <PostalCode> <string>400101</string> </PostalCode> <Province> <string>Maharashtra</string> <string>Mumbai</string> </Province> <Country> <string>INDIA</string> </Country> <RecipientLines> <string>ABC Ltd</string> </RecipientLines> <DeliveryAddressLines> <string>66 Akurli Road, Near Big Bazar</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>Mumbai - 400101</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>ABC Ltd</string> <string>66 Akurli Road, Near Big Bazar</string> <string>Akurli Industrial Premises</string> <string>Kandivali East</string> <string>Mumbai - 400101</string> <string>INDIA</string> </FormattedAddress> <AddressComplete>ABC Ltd;66 Akurli Road, Near Big Bazar; Akurli Industrial Premises;Kandivali East; Mumbai - 400101;INDIA</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!