Address Verification Best Practices for Greece

Address Verification Best Practices for Greece

Input and Result XML in Address Verification

Input and Result XML in Address Verification

The following example shows how you can verify a Greece address in a SOAP call to Address Verification.
You submit the following request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v4="http://validator5.AddressDoctor.com/Webservice5/v4"> <soapenv:Header/> <soapenv:Body> <v4:Process> <v4:login>****</v4:login> <v4:password>****</v4:password> <v4:parameters> <v4:ProcessMode>BATCH</v4:ProcessMode> <v4:ValidationParameters> </v4:ValidationParameters> </v4:parameters> <v4:addresses> <v4:Address> <v4:Street> <v4:string>KONSTANDINUPOLEOS</v4:string> </v4:Street> <v4:HouseNumber> <v4:string>51</v4:string> </v4:HouseNumber> <v4:Locality> <v4:string>THESSALONIKI</v4:string> </v4:Locality> <v4:PostalCode> <v4:string>546 42</v4:string> </v4:PostalCode> <v4:Country> <v4:string>GRC</v4:string> </v4:Country> </v4:Address> </v4:addresses> <v4:enrichments> </v4:enrichments> </v4: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>V3</ProcessStatus> <CountryISO3>GRC</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>5</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60500050600000000060</ElementInputStatus> <ElementResultStatus>F0E000E0F000000000E0</ElementResultStatus> <ElementRelevance>10100010100000000010</ElementRelevance> <ExtElementStatus>00500050000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>GRC</LanguageISO3> <Address> <Street> <string>Κωνσταντινουπόλεως</string> </Street> <HouseNumber> <string>51</string> </HouseNumber> <Locality> <string>Θεσσαλονίκη</string> </Locality> <PostalCode> <string>546 42</string> </PostalCode> <Country> <string>GREECE</string> </Country> <DeliveryAddressLines> <string>Κωνσταντινουπόλεως 51</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>546 42 θεσσαλονίκη</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>Κωνσταντινουπόλεως 51</string> <string>546 42 θεσσαλονίκη</string> <string>GREECE</string> </FormattedAddress> <AddressComplete>Κωνσταντινουπόλεως 51;546 42 Θεσσαλονίκη;GREECE</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>
If you set the
PreferredLanguage
attribute to ENGLISH, Address Verification returns the address in Latin script.

0 COMMENTS

We’d like to hear from you!