Adding a new service in ArcCatalog

The Add New Service wizard allows you to configure advanced parameters for the service at the time you create it. To create a service in this way, follow these instructions.

Steps:
  1. Create an administrative connection to the GIS server on which you want to add a service.
  2. Right-click the server or folder to which you want to add the service and click Add New Service.

    Note: If this is the first time you're accessing the server, you'll need to add one or more server object container (SOC) machines to it before you can add a service.

    Learn more about adding SOC machines

  3. Type the Name of the service. This is the name people will see and use to identify the service. Be descriptive. The name can only contain alphanumeric characters and underscores. No spaces or special characters are allowed. The name cannot be more than 120 characters in length.
  4. Click the Type drop-down arrow, click the service type, then click Next.
  5. Follow the instructions below that pertain to the type of service you're creating:

    Map service

    Browse to the map and choose the data frame to display. Optionally, specify an output directory and a cache directory.

    You can also change the default maximum number of records that will be returned from queries to the map service. This setting protects your server from excessively large requests.

    Geocode service

    Browse to the locator and set the batch size.

    Geodata service

    Choose whether you want to create the service directly from a geodatabase or from a map document containing a layer from a geodatabase. If you are creating the service from the geodatabase directly, browse to the file geodatabase, personal geodatabase, or database connection file you'll be using. When you make a database connection in ArcCatalog, the connection information is stored in your profile directory (for example: C:\Documents and Settings\<username>\Application Data\ESRI\ArcCatalog\Connection to myServer.sde). It's a good idea to copy this file into a shared network directory to which all your container machines have read access. When creating the service, browse to this shared directory and choose the connection file.

    If you're publishing the service from a map document containing a geodatabase layer, browse to that map document.

    Once you've browsed to the database or map document, specify an output directory.

    Geometry service

    There is no GIS resource to specify, so the second page of the wizard is skipped.

    Geoprocessing service

    First, choose whether the job will be performed synchronously (optimal for short jobs) or asynchronously (optimal for long jobs, and the results are stored on the server for future retrieval). Then browse to either the toolbox or the map document containing the tool layer you want to publish. The results of the service can optionally be returned to the client as a map service, which you can choose from the Result Map Service drop-down list.

    A geoprocessing service uses a jobs directory, which you must specify, as well as an associated virtual directory. For the jobs directory to be available, you must have specifically created it as a jobs directory using the Directories tab on the Server Properties dialog box. You'll also need to specify a server output directory in the same way.

    Finally, you can specify whether to use a local jobs directory. If you choose this option, certain information will be stored in the SOC's system TEMP directory while the job is running. The information is copied to the server jobs directory when the task is complete. This can improve performance if you have a multiple-machine deployment of ArcGIS Server.

    Globe service

    Browse to the globe document you want to use, then specify the precreated globe cache location and virtual directory.

    Image service

    Browse to the raster dataset, layer file referencing a raster dataset, or compiled image service definition (.ISCdef) file that you want to publish. Optionally, choose an output directory.

    Search service

    Specify the location where you want the search index to be built. This must be a registered server indexes directory.

    Then, specify how often the index should be rebuilt and which folders should be included in the index.

  6. If the type of service you chose has any available capabilities, a new page appears where you can choose the capabilities you want to enable and set their properties. On this page, you can also choose whether Web access will be available for the service and the allowed operations for that Web access.
    NoteNote:

    With this step you begin setting a series of detailed properties on your service. You can read more about these properties in Tuning and configuring services.

  7. Click Pooled or Not Pooled and optionally change the maximum usage and wait times. Click Next.
  8. Set the process isolation level and the recycling parameters. Optionally, choose to enable periodic checks for the validity of database connections in the service when the service is idle. Click Next.
  9. Review the information about the service that will be created. Click Yes, start the service right now and click Finish.
  10. Verify that your service is working properly. You can preview or display the properties of a service in ArcCatalog to ensure that the service is correctly configured. If for some reason your service is not working as expected, you can review the log files for errors. Note that log files refer to services as server objects.

Related Topics


3/6/2013