Mayor Vincent C. Gray

Search   OCTO


accordian interface begins

About OCTO


Maps & Apps

Agency Support


Office of the Chief Technology Officer

Office Hours
Monday through Friday, 8:30 am - 5:30 pm

How to Reach Us
200 I Street, SE
5th Floor
Washington, DC 20003

Phone: (202) 727-2277
Fax: (202) 727-6857
TTY: 711

FOIA Information
Agency Performance


DC Digital Inclusion 

Rob Mancini
Chief Technology Officer

Ask the Agency

Text Size: A A A Printer-Friendly Version Print   Share Share  

Use the MAR Web Data Service in Client Script 

var xmlHttpObj;
if (window.ActiveXObject)
           xmlHttpObj= new ActiveXObject("Microsoft.XMLHTTP");
        } catch (e)
           xmlHttpObj= new ActiveXObject("Msxml2.XMLHTTP");
        xmlHttpObj= new XMLHttpRequest();

if (xmlHttpObj) {
  // We want this request asynchronous"POST","", true);
  xmlHttpObj.onreadystatechange = function()
if ( xmlHttpObj.readyState == READYSTATE_COMPLETE )
if(xmlHttpObj.status == HTTPSTATUS_OK)
                    //add your processing here
                    var doc = xmlHttpObj.responseXML;

  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