Developer Guide - Frequently Asked Questions for Address Detective - International

Frequently Asked Questions

The Sample Code is Giving Strange Errors or is Crashing!

<button class="accordion">Most likely, the sample code cannot connect to Service Objects...</button>
<div class="panel">
  <br />
  <p>Many environments will not allow you to connect out on port 80, or will clip out XML data from these requests/responses.
The easiest way to check for this is to open a browser on the machine running the sample code.  In your browser, navigate to:</p>
<p><a href="" target="_blank"></a></p>
<p><a href="" target="_blank">ADI - Service Reference</a></p>
<p>Then try to run one of the operations with your trial key. If you get a browser error, or get no data back, then the sample code isn't able to connect either.  Contact your systems administrator to resolve why you are not able to connect to Service Objects.</p>
  <br />

Where in the World? – DOTS Address Detective International

New Country Detective Service Helps Improve Accuracy and Compliance

Contact Country Detection: How It Works


.accordion {
  background-color: #f7f7f7 !important;
  color: #444 !important;
  cursor: pointer !important;
  padding: 18px !important;
  border: none !important;
  width: 100%;
  text-align: left !important;
  outline: none !important;
  font-size: 15px !important;
  transition: 0.4s !important ;

.active, .accordion:hover {
  background-color: #efefef !important; 

.panel {
  padding: 0 18px  !important;
  display: none ;
  background-color: white !important;
  border: none !important;
  overflow: hidden  !important;

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px ;
  color: #777 ;
  float: right ;
  margin-left: 5px;

.active:after {
  content: "\2796" ; /* Unicode character for "minus" sign (-) */

var acc = document.getElementsByClassName("accordion");
var i;

for (i = 0; i < acc.length; i++) {
  acc[i].addEventListener("click", function() {
    var panel = this.nextElementSibling;
    if ( === "block") { = "none";
    } else { = "block";