ArcWeb Services include a set of sample clients written in various programming languages. These samples are designed to show you the features of ArcWeb Services and to help you get started developing your own clients. To get started using ArcWeb Services, see the quick-start tutorials. The sample clients includes live samples and code downloads in JavaServer Pages (JSP) with Glue and Axis and .NET. To use the .NET samples, you must have Visual Studio .NET running on your machine. To use the JSP Glue samples, you must have webMethods Glue version 4.x toolkit running on your machine. To use the JSP Axis samples, you must have Apache Axis 1.1 and JDK 1.4.x. or greater running on your machine. All samples assume you have an active subscription to ArcWeb Services and a program to unzip the sample code.
There are four downloadable ZIP files to accommodate common Web development environments—Visual Basic ASP.NET, C# ASP.NET JSP Glue, and JSP Axis. Each ZIP file contains the project files you need to create all the client samples. Each download also includes a set up file with instructions for deploying the samples.
ESRI hopes that you will find these sample scripts and other items useful and that they will contribute to your success in using ArcWeb Services. Please note that these samples are not supported by ESRI. These samples are provided for noncommercial purposes only. Permission to use, copy, and distribute is hereby granted, provided there is no charge or fee for such copies. These samples are provided "as is", without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. ESRI shall not be liable for any damages under any theory of law related to licensee's use of these samples, even if ESRI is advised of the possibility of such damage.
Click a link below to view setup instructions and access a ZIP file for downloading the sample files.
Two samples. The geocoding sample retrieves the x,y coordinate location or locations that matches the input address. The reverse geocoding sample retrieves the address from an x,y coordinate.
Difficulty level: Intermediate
Implemented ArcWeb Services: Authentication Web Service and Address Finder Web Service
Interact with the live geocoding sample.
Interact with the live reverse geocoding sample.
Two samples. The map image sample generates a dynamic map based on a valid dataSource at a specified geographic extent. Add a legend and a scale bar, modify the map's background color, add a thematic map, and draw icons or circles to specify a point of interest. Zoom functionality is included in the sample. The thematic mapping sample generates a thematic map based on various thematic options.
Difficulty level: Intermediate
Implemented ArcWeb Services: Authentication Web Service and Map Image Web Service
Interact with the live map image sample.
Interact with the live thematic mapping sample.
Return a list of locations and coordinates based on input location. Use Advanced Options to specify the maximum number of results returned and to filter the results based on location type and geographic coordinates.
Difficulty level: Intermediate
Implemented ArcWeb Services: Authentication Web Service and Place Finder Web Service
Interact with the live sample.
Return a list of locations and coordinates based on input location. Place Finder Sample does not require a token from the Authentication Web Service to access.
Difficulty level: Beginner
Implemented ArcWeb Service: Place Finder Sample Web Service
Interact with the live sample.
Find locations within a specified distance of an address. The results can be restricted using a SQL Expression or limiting the start record and total number of records returned. Information about the selected locations is displayed in a data grid. The sample uses the Address Finder Web Service to return the x and y values for the specified address.
Difficulty: Advanced
Implemented ArcWeb Services: Authentication Web Service, Proximity Web Service, and Address Finder Web Service
Interact with the live sample.
Return information about an address. The results are based on the type of query data (e.g., census, FEMA, GDT) and the geography level (e.g., streets, tracts, blocks) that is specified in the client. The sample uses the Address Finder Web Service to return the x and y values for the specified address.
Difficulty: Advanced
Implemented ArcWeb Services: Authentication Web Service, Query Web Service, and Address Finder Web Service
Interact with the live sample.
Generate a pre-formatted report for a specific site.
Difficulty: Advanced
Implemented ArcWeb Services: Authentication Web Service and Report Web Service
Interact with the live sample.
Generate driving directions between two locations. The returned results are displayed as a route map and textual directions. The Address Finder Web Service is used to resolve the from and to address locations that are then passed to the Route Finder Web Service to use as start and stop points for the route.
Difficulty: Advanced
Implemented ArcWeb Services: Authentication Web Service, Route Finder Web Service, and Address Finder Web Service
Interact with the live sample.
Change the projection of a point or envelope.
Difficulty: Intermediate
Implemented ArcWeb Services: Authentication Web Service and Utility Web Service
Interact with the live sample.
Quick-start
tutorials
SOAP samples
Site Starter applications