Once you finish creating a locator or composite locator, you can publish the locator as a geocode service to a GIS server and share it with others both locally or on the web. To publish your locator as a service, follow these steps.
In ArcCatalog or the Catalog window in ArcMap, right-click a locator or composite locator and click
Share As > Geocode Service.
The Share as Service dialog box opens.
- Click the button next to Publish a service and click Next.
- Select the ArcGIS for Server connection you want to use from the Choose a server connection drop-down list. If the server connection you want to use is not listed in the drop-down dialog box, you can create a new connection to ArcGIS for Server by clicking the Add ArcGIS Server button. If you need help with this step, see About connecting to ArcGIS for Server in ArcGIS for Desktop.
- Enter a name for the service in the Service name text box.
- Click Next.
- By default, services are published to the root directory [root] of ArcGIS for Server. Alternatively, services can be organized in folders within the root directory. Choose the folder where you want to publish the service, or create a new folder to contain the service.
- Click Continue.
The Service Editor opens.
- In the Service Editor, set the properties that you want for your geocode 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 tips and best practices on how to set geocode service properties, see Setting geocode service properties. For information on how to best configure your services for deployment, see Tuning and configuring services.
- Once you've set the properties of your geocode service, click Analyze . This examines your locator to see if it can be published to ArcGIS for Server. You have to fix the Errors in the Prepare window before you can publish your locator as a service. Optionally, you can fix the warnings and informational messages to further improve the performance and appearance of your geocode service. For more information about resolving these issues, see the topic Analyzing your locator.
- Once you've fixed the errors in your locator, click Publish .
Your geocode 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 service is also now available on the web.