Publishing a geodata service involves referencing a file geodatabase or enterprise geodatabase that you want to publish as a service. To publish a file geodatabase as a geodata service, the ArcGIS Server account must have permissions to access the geodatabase. To publish an enterprise geodatabase as a geodata service, the ArcGIS Server account must have permissions to access the geodatabase and the 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 Server using ArcCatalog or the Catalog window in ArcGIS 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 Desktop.
- Optionally, in the Publish a Service window, provide a new name for the service. The name cannot be more than 120 characters long and can 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 dialog box appears.
- Set the properties 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.
- 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.
- 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.