Publishing a geodata service
Publishing a geodata service involves referencing a file geodatabase or ArcSDE enterprise geodatabase that you want to publish as a service. In order to publish a file geodatabase as a geodata service, the ArcGIS Server account must have permissions to access the geodatabase. In order to publish an ArcSDE enterprise geodatabase as a geodata service, the ArcGIS Server account must have permissions to access the geodatabase and the ArcSDE connection file used to connect to the geodatabase.
Before publishing the geodata service, it is recommended that you copy the connection file to a common directory to which the ArcGIS Server account has been granted access. For more information, see Making your data accessible to ArcGIS Server.
To publish a geodata service, you right-click a geodatabase in the Catalog tree and choose the option to share it as a geodata service. Follow these steps to publish a geodata service to ArcGIS for Server using ArcCatalog or the Catalog window in ArcGIS for Desktop.
- In the Catalog tree, browse to your geodatabase.
-
Right-click the geodatabase you want to publish and click Share As GeoData Service.
The Share as Service window appears.
- Choose Publish a service and click Next.
- Choose the ArcGIS Server connection you want to use from the Choose a connection drop-down list. If the server connection you want to use is not listed, you can create a new connection to the server by clicking Connect To ArcGIS Server .
If you need help with this step, see About connecting to ArcGIS Server in ArcGIS for Desktop.
- Optionally, in the Publish a Service window, enter a new name for the service. The name cannot be more than 120 characters long and may contain only alphanumeric characters and underscores.
Click Next.
- By default, services are published to the root folder (root) of ArcGIS Server. Services can be organized into subfolders under the root directory. Choose the folder where you want to publish the geodata service, or create a new folder to contain the geodata service.
- Click Continue. The Service Editor appears.
- Set the properties that you want for your geodata service. Here, you can choose what users can do with your service and take fine-grained control of how the server will expose your service. For details on how to manually set geodata service properties, see the topic Geodata service capabilities and allowed operations. You can also automatically import properties from an existing service definition or a published geodata service by clicking Import . For information on how to best configure your services for deployment, see the help topic Tuning and configuring services.Tip:
If you close the Service Editor during this session, you'll be prompted to save your work as a draft service. Draft services allow you to come back to your service configuration work at a later time. By default, draft services are saved in the Drafts folder of your ArcGIS Server connection. For more information, see About draft services.
- Click Analyze . This examines your geodatabase to see if it can be published to the server.
- Fix any errors () in the Prepare window so you can publish your geodatabase as a service. Optionally, you can fix the warnings and informational messages to further improve the performance and appearance of your geodata service.Tip:
To give yourself more viewing area when configuring your geodata service, click the Collapse button at the top of the Service Editor dialog box.
- Once you've fixed the errors and, optionally, any warnings and messages, click Publish .
Your geodata service is now running on the server and can be accessed by users and clients on your network. If your server administrator has allowed web access to the service, your geodata service is also now available on the web.
If you want to use the disconnected editing commands to create replicas or extract data from the geodata service, you need to create a map service with the same name as the geodata service. For full instructions, see Publishing a geodata service with a map service.