How to use
See How to use ArcGIS samples for help running the sample.
- Start ArcCatalog.
- Add and start a map server object in ArcGIS Server.
- Use ArcGIS Server Manager to build and deploy a Web service catalog from a MapServer-type geographic information system (GIS) service.
- Enable the map, query, and data capabilities for the service catalog.
- Configure your Java platform for ArcGIS Engine.
- Navigate to the GisClientApp directory (in Windows, open a Command Prompt window and cd to GisClientApp).
- Type arcgisant run-sample at the command prompt to run the application.
- Click the Load Data button to connect to an ArcGIS Server map server object. The Server Connection dialog box opens.
- Choose Internet or LAN from the Connection Type drop-down box (depending on your type of connection).
- In Catalog URL, type in the universal resource locator (URL) of an ArcGIS Web catalog service (such as http://gisserver:8399/myservice/catalog) or type the host name of a local ArcGIS server.
- Click the Connect button. The drop-down box is populated with the available map server objects.
- Select a map server object and click Add Map. The map service is added to your application.
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |