There are two ways to create services. In Manager, these are described
as "Publish a GIS Resource" and "Add New Service". Choosing "Publish
a GIS Resource" does the following things:
-
Prompts you for only the minimum amount of information needed to publish a GIS
resource as a service
-
Sets service properties such as pooling, recycling, and timeouts to the default
values
-
Allows you to publish associated services automatically. For example, if you
use the "Publish GIS Resource" option to publish a map document with a tool
layer, you have the option to enable the geoprocessing capability and
automatically create a geoprocessing service that will work with the map
service. If you use "Add New Service" in this scenario, the geoprocessing
capability is not available and you have to create the map and geoprocessing
services one at a time.
The following instructions explain how to use the "Publish a GIS Resource"
option. For help with "Add New Service" seeAdding a new
service.
Note: When you choose "Publish a map, globe, or other GIS resource as a
service" in Manager's Home tab, this opens the "Publish a GIS Resource" wizard.
How to publish a GIS resource to the server using Manager
-
In Manager, click the Services tab.
-
Click Publish a GIS Resource
-
From the Resource dropdown, browse to the resource you want to publish or type
its path.
-
Optionally, change the default name of the service.
-
Choose which folder the service will be published to. You can either specify an
existing folder, or create a new folder. Click Next.
-
Choose the capabilities that you would like to enable. Depending on the type of
the resource and the information it contains, you will see more or fewer
available capabilities. Click Next.
-
Review the information about the service that will be created. If you will be
working with the service through the Web, take special note of the service's
URL. Note that multiple Web service endpoints can be created when you specify
certain capabilities (for example, the KML capability for map services creates
an additional endpoint suffixed KmlServer in addition to the default map
service).
-
If you want to change any of the properties, you can click Previous to go back.
Otherwise, click Finish to publish the resource.
How to publish a GIS resource to the server using ArcCatalog
-
In the Catalog tree, navigate to the resource you want to publish. For example,
navigate to a map document on disk.
-
Right click the resource and click Publish to ArcGIS Server
- Choose which
server you want to publish the resource to, type a name for the service, and
select the folder in which the service will reside. Click Next.
- Choose the
capabilities you would like to enable for the resource and click Next.
Different types of resources expose different types of capabilities. For a more
complete explanation of each type of capability, see
What services can you publish?.
-
Review the services that will be created and click Finish after making any
necessary adjustments. Note that selecting some types of capabilities will lead
to the creation of multiple services.