Deploying the Export Network tool as a service

The Export Network tool enables external systems to synchronize with the Roads and Highways LRS Network to update routes, gaps, concurrencies, and measure translations. The Export Network tool can be published to ArcGIS for Server as a geoprocessing service, which allows it to be invoked as a REST web service.

To publish as a geoprocessing service, you must author a geoprocessing task using the Export Network geoprocessing tool. Follow the instructions listed in step 3 to deploy the Export Network geoprocessing tool. To learn more about geoprocessing services, see What is a geoprocessing service?

Steps:
  1. Open ArcMap.
  2. Browse to My Toolboxes in the Catalog window.
  3. Create a new toolbox and add the Export Network geoprocessing tool.
    1. Right-click My Toolboxes and click New > Toolbox.

      Creating a new toolbox in ArcCatalog

      A new toolbox is created.

    2. Right-click your new toolbox and click Add > Tool.

      The Add Tool dialog box appears.

    3. Expand Roads and Highways Tools and check Export Network.

      Adding the Export Network tool to your toolbox

  4. Open the Export Network geoprocessing tool.

    The Export Network dialog box appears.

    The Export Network geoprocessing tool

    Do not change the geodatabase version in the .mxd used to publish the service. This will cause the geoprocessing service to fail even though the service will publish successfully.

  5. Select the Network Layer to export and specify an Output Export File location.

    When you author a geoprocessing task, do not set the Last Invoked Time (optional), LRS Time (optional), and Last LRS Time (optional) parameters for the result from which you publish. The date and time parameter values will become the default value in your service, preventing web service invocations from not providing a default value.

  6. Click OK.
  7. Once the geoprocessing tool has executed successfully, open the result in the Results window.

    This may take several minutes as the entire network will be exported. This is required in order to ensure that the time parameters don't have default values.

  8. Right-click the result and click Share As > Geoprocessing Service. This will open a step-by-step wizard that defines the service and the initial task within the service. To learn more, see A quick tour of publishing a geoprocessing service.
  9. After you have successfully published the Export Network geoprocessing service to ArcGIS Server, you can access its REST endpoint through Server Manager.
    1. Open your ArcGIS REST Services Directory in a web browser.

      The URL is http://<server name>:6080/arcgis/rest/services.

    2. Browse to Services and select the Export Network GP Server to access its REST endpoint.
10/14/2014