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="https://trial.serviceobjects.com/adi/" target="_blank">https://trial.serviceobjects.com/adi/</a></p>
<p><a href="https://docs.serviceobjects.com/display/devguide/ADI+-+Service+Reference" 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 />
</div>


Where in the World? – DOTS Address Detective International


New Country Detective Service Helps Improve Accuracy and Compliance


Contact Country Detection: How It Works

References


<style>
.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 (-) */
}

</style>
<script>
var acc = document.getElementsByClassName("accordion");
var i;

for (i = 0; i < acc.length; i++) {
  acc[i].addEventListener("click", function() {
    this.classList.toggle("active");
    var panel = this.nextElementSibling;
    if (panel.style.display === "block") {
      panel.style.display = "none";
    } else {
      panel.style.display = "block";
    }
  });
}
</script>