SERVICE | Examples |
<SERVICE | Attribute
Description Table |
When parent element is SERVICES in ADMINCMD while adding a Feature Service: axl ="string" name ="string" type ="add" vsname ="string" When parent element is SERVICES in ADMINCMD while adding an Image or ArcMap Image Service: axl ="string" cleanup ="integer" imagememory ="1-NNN" imgloc ="string" imgurl ="string" name ="string" type ="add" vsname ="string" imgtype ="JPG | PNG8 | PNG | GIF" [JPG] When parent element is SERVICES in ADMINCMD while removing, starting, or stopping an ArcIMS service: name ="string" type ="remove | start | stop" When parent element is SERVICES in Application Server RESPONSE: access ="PUBLIC | PRIVATE" name ="string" servicegroup ="string" status ="ENABLED | DISABLED" type ="string" version ="ArcMap | [empty]" > When parent element is SERVICES in ADMINCMD: No Child Elements When parent element is SERVICES in Application Server RESPONSE: <CLEANUP... /> <ENVIRONMENT... /> </SERVICE > | |
Bold: Attribute or child element is
required. |
Attribute | Usage | Back to Top |
---|---|---|
axl | Full pathname to map configuration file. | |
name | Name of ArcIMS service. Service names are case sensitive. | |
type | Type of action on service. | |
vsname | Virtual Server name for assigning ArcIMS service. |
Attribute | Usage | Back to Top |
---|---|---|
axl | Full pathname to map configuration file or ArcMap document. | |
cleanup | Interval for the number of minutes between the deletion of image files from the Output directory. | |
imagememory | Maximum size of map image allowed in megabytes. A one megabyte image is approximately 512 x 512 pixels, or 262144 pixels total. | |
imgloc | Full pathname to Output directory for generated map and legend images. | |
imgtype | Image format for the output map images. | |
imgurl | URL to Output directory for generated map and legend images. | |
name | Name of ArcIMS service. Service names are case sensitive. | |
type | Type of action on service. | |
vsname | Virtual Server name for assigning ArcIMS service. |
Attribute | Usage | Back to Top |
---|---|---|
name | Name of ArcIMS service. Service names are case sensitive. | |
type | Type of action on service. |
Attribute | Usage | Back to Top |
---|---|---|
access | Access type of the Virtual Server. PUBLIC means that the Virtual Server and ArcIMS service can be accessed directly by requests from a client. By default, Image, Feature, ArcMap, and Metadata Servers are public. When access is PRIVATE, Virtual Servers are accessed by redirecting requests from a public server to a private one. Private Virtual Servers include Geocode, Query, and Extract Servers. | |
name | Name of service running on host machine. | |
servicegroup | Virtual Server name to which the specified ArcIMS service belongs. | |
status | Identifies if service is currently running or not. | |
type | Virtual Server type to which the specified ArcIMS service belongs. | |
version | Value is "ArcMap" for ArcMap Image Services. Value is blank for all other service types. |
Example 1: An ADMINCMD XML file for adding and starting an ArcIMS service from the command line. | Back to Top |
<?xml version="1.0"?>
<ADMINCMD version="1.0"> <SERVICES> <SERVICE type="add" name="world_image" axl="c:\arcims\axl\world.axl" vsname="ImageServer1" imgloc="c:\arcims\output" imgurl="http://mycomputer.domain.com/output" imagememory="4" cleanup="20" imgtype="JPG" /> <SERVICE type="start" name="world_image" /> <SERVICE type="add" name="world_arcmap" axl="c:\arcims\axl\world.mxd" vsname="ImageServerArcMap1" imgloc="c:\arcims\output" imgurl="http://mycomputer.domain.com/output" imagememory="4" cleanup="20" imgtype="JPG" /> <SERVICE type="start" name="world_arcmap" /> <SERVICE type="add" name="world_feature" axl="c:\arcims\axl\world.axl" vsname="FeatureServer1" /> <SERVICE type="start" name="world_feature" /> </SERVICES> </ADMINCMD> |
Example 2: An ADMINCMD XML file for stopping and deleting an ArcIMS service from the command line. | Back to Top |
<?xml version="1.0"?>
<ADMINCMD version="1.0"> <SERVICES> <SERVICE type="stop" name="world_image" /> <SERVICE type="remove" name="world_image" /> </SERVICES> </ADMINCMD> |
Example 3: When in an application server RESPONSE to GETCLIENTSERVICES. | Back to Top |
<?xml
version="1.0"?> <ARCXML version="1.1"> <RESPONSE> <SERVICES> <SERVICE name="world" servicegroup="ImageServerArcMap1" access="PUBLIC" type="ImageServer" version="ArcMap" status="ENABLED" > <IMAGE type="JPG" /> <CLEANUP interval="10" /> </SERVICE> <SERVICE name="europe" servicegroup="ImageServer1" access="PUBLIC" type="ImageServer" version="" status="ENABLED" > <IMAGE type="JPG" /> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT name="Arial" /> </ENVIRONMENT> <CLEANUP interval="10" /> </SERVICE> <SERVICE name="usa" servicegroup="FeatureServer1" access="PUBLIC" type="FeatureServer" version="" status="ENABLED" > <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT name="Arial" /> </ENVIRONMENT> <CLEANUP interval="10" /> </SERVICE> </SERVICES> </RESPONSE> </ARCXML> |