Mayor Vincent C. Gray

Search
DC.gov   OCTO

 

accordian interface begins

About OCTO

Data

Maps & Apps

Agency Support

OCTO Logo

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
octo@dc.gov

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

FOIA Information
Agency Performance

Website: http://octo.dc.gov

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 .NET 


Add the MAR Web Data Service as a Component to the .NET application:

1. In the WebSite menu, select Add Web Reference

2. In the URL, enter the following URL for the web service and select Go:
http://citizenatlas.dc.gov/newwebservices/locationverifier.asmx

3. When Visual Web Developer finds the web service, information about the Web service appears in the Add Web References dialog box.

Note: If you cannot add a reference to a web service, it might be that the proxy server is not configured correctly. In Microsoft Internet Explorer, on the Tools menu, click Internet Options, click Connections, and then click LAN Settings. Select the Bypass proxy server for local addresses check box. Additionally, set the proxy server address to the exact name of the proxy server instead of allowing Internet Explorer to detect the proxy server. For more information, contact the network administrator.

4. Select one of the method links. The test page for the method appears.

5. Select Add Reference

Visual Web Developer creates an App_WebReferences folder and adds a folder to it for the new Web reference. By default, Web references are assigned a namespace corresponding to their server name (in this case, citizenatlas.dc.gov). Make a note of the name for the Web reference namespace. In the folder, Visual Web Developer adds a .wsdl file that references the Web service. It also adds supporting files, such as discovery (.disco and .discomap) files, that include information about where the Web service is located.

Call the MAR Web Data Service Methods:

1. Visual Basic

Dim locationVerifier As New MARWebreference.LocationVerifier
Dim
returns As New MARWebreference.ReturnObject
returns = locationVerifier.findLocation(strLocation) 

 

 

No Related Documents

No Related Photos

No Related Videos

Service Need

Follow the instructions to add the Master Address Repository (MAR) Web Data Service as a component to a .NET application.

Service at a Glance

Provided By: OCTO
Days: Accessible 24 x 7
Location: 441 4th Street NW Washington, DC 20001
Cost of Service: Free