Skip To Content

Publish a service definition file from ArcMap

You can use a service definition file to publish a service to an ArcGIS Server site from the Catalog window in ArcMap or ArcCatalog.

Follow these steps to publish a service definition file from ArcMap.

  1. In the Folder Connections in the Catalog tree, browse to the service definition file you want to publish.
  2. Right-click the service definition file and choose Publish as a Service.
  3. From the Connection drop-down list, choose the ArcGIS Server site to which you want to publish.
  4. Only default clusters are supported, so leave Cluster set to default.
  5. Either keep the default Service Name, or type a new name for the service. The name cannot be more than 120 characters long, and may contain only alphanumeric characters and underscores.
  6. By default, the service is published to the ArcGIS Server folder defined in the service definition file. If you want to store the service in a different ArcGIS Server folder, choose that folder from the drop-down list or create a new one.

    You cannot publish a service definition to the Hosted, System, or Utilities folders of ArcGIS Server. The System and Utilities folders are reserved for preconfigured services. The Hosted folder contains hosted services published to an ArcGIS Enterprise portal. This folder is only available if your ArcGIS Server site is a portal's hosting server.

  7. If you are signed in to ArcGIS Online or an Enterprise portal, you can share the service with ArcGIS Online or the portal when you publish. Follow these steps to create an item for the service in your ArcGIS Online or Enterprise portal:
    1. Check Register the service with ArcGIS Online when published or Register the service with ArcGIS Portal when published.
    2. Click Next.
    3. Select how you want to share your service. For a description of these options, see Setting map service properties.
  8. The service starts by default. If you don't want the service to start when publishing finishes, uncheck Start service immediately. You can log in to ArcGIS Server Manager and start the service when you need it.
  9. Click Finish to publish.

    If the service definition file you publish copies data to the ArcGIS Server machine, the size of the data and your network bandwidth impacts the time it takes to publish.

Your service is now running on the ArcGIS Server site you specified. If you chose to start the service, other users and clients on your network can start using the service. If your ArcGIS Server administrator has allowed web access to the service, your service is also now available on the web. If you shared the service with ArcGIS Online or an ArcGIS Enterprise portal, an item (or items, depending on the type of service you published) is created in your organization.