var xmlHttpObj;
if (window.ActiveXObject)
{
try
{
xmlHttpObj= new ActiveXObject("Microsoft.XMLHTTP");
} catch (e)
{
xmlHttpObj= new ActiveXObject("Msxml2.XMLHTTP");
}
}
else
xmlHttpObj= new XMLHttpRequest();
if (xmlHttpObj) {
// We want this request asynchronous
xmlHttpObj.open("POST","http://citizenatlas.dc.gov/newwebservices/locationverifier.asmx/findLocation", true);
xmlHttpObj.onreadystatechange = function()
{
if ( xmlHttpObj.readyState == READYSTATE_COMPLETE )
{
if(xmlHttpObj.status == HTTPSTATUS_OK)
{
//add your processing here
var doc = xmlHttpObj.responseXML;
}
}
}
xmlHttpObj.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlHttpObj.setRequestHeader("SOAPAction", "str");
// Execute the request
xmlHttpObj.send("str="+ strLocation);
} |
Service Need
Use the following code to include the Master Address Repository (MAR) Web Data Service in a client script.
Service at a Glance
Provided By: OCTO
Days: Accessible 24 x 7
Location: 441 4th Street NW Washington, DC 20001
Cost of Service: Free
Request this Service
Related Services
Related Documents
No Related Documents
Related News
No Related News
Related Photos
No Related Photos
Related Videos
No Related Videos