Exporting the REST handler

Release 9.3.1 E-mail This Topic Printable Version Give Us Feedback

By default, the services you create and deploy in the ArcGIS Web Manager are available through Manager's internal web server. This, however, is not a recommended production environment. By exporting the REST handler into a standard .war file, you can deploy this as an application to an ESRI-supported J2EE server. To do this, follow these steps:

  1. In Manager, go to the Services tab.
  2. Click the 'Configure Services Handler' panel.
  3. Click the 'Export' tab.
  4. In the drop-down box for 'Export Web Services' choose 'Rest Service'.
  5. Enter the name of the war file that will be created.
  6. Enter the URLfor the SOAP endpoint.
  7. Enter the connection parameters for the GIS server. Click the 'Test Connection' button to validate the connection information.
  8. Specify additional GIS servers for failover or round robin, if necessary. This step is optional.
  9. If the ArcGIS Server has security enabled, configure the security options to match the ArcGIS Server's security configuration. This step is optional.
  10. Click the Export button.
  11. A File Download window will pop up. Click the Save button.
  12. In File dialog, choose 'All Files' for the file type and browse to the location where you wish to export the war file.

You will now be able to deploy this war file to any standard J2EE server. After deployment, you can verify it by viewing the Services Directory for the newly deployed REST hander. For example, if the war file name, or instance name, was 'rest', you could browse to the following URL:

http://yourserver:<port>/rest/services

This will open the Services Directory for the newly deployed REST handler. You can also verify the REST admin page by opening the following URL:

http://yourserver:<port>/rest/admin