GET_SERVICE_INFO  Examples

Used in:  REQUEST  
Servers:  Image   Query   Feature   Extract   Geocode   ArcMap  
Parent elements:  REQUEST  

<GET_SERVICE_INFO Attribute Description Table


     When parent element is REQUEST for an ArcMap Image Service:
     dataframe ="#ALL# | frame by name"
     dpi ="1 - NNN"
     envelope ="true | false"  [true]
     fields ="true | false"  [true]
     toc ="true | false"  [false]
     toctype ="jpg | png8 | png24 | bmp"  [jpg]

     When parent element is REQUEST for an Image or Feature Service:
     dpi ="1 - NNN"
     envelope ="true | false"  [true]
     extensions ="true | false"  [true]
     fields ="true | false"  [true]
     renderer ="true | false"  [true]
>

     No Child Elements
</GET_SERVICE_INFO >


Description:


Restrictions:


Notes:


Attribute Descriptions for GET_SERVICE_INFO:


When parent element is REQUEST for an ArcMap Image Service:
Attribute Usage Back to Top
dataframe Retrieves dataframe information for an ArcMap Image Service using layouts. Use the value "#ALL#" to retrieve information for all frames. Information for a single dataframe can be retrieved by specifying the frame's name. Multiple data frame names can be used and should be separated by a semicolon.
dpi Dots per inch (dpi). Used for calculating the correct scale thresholds for layers in the service. The dpi must be calculated by the client. Otherwise, a value of "96" is assumed.
envelope Toggle to get information on the envelope for layers in a service.
fields Toggle to get information on available fields for each featureclass layer in the service.
toc Toggle to get information on the table of contents (TOC) used to generate an ArcMap Image Service legend for the ArcIMS Java Viewers and ArcMap. Not used with ArcIMS HTML Viewers. Instead a legend is retrieved using LEGEND in a GET_IMAGE request.
toctype Determines image format for an ArcMap Image Service legend.

When parent element is REQUEST for an Image or Feature Service:
Attribute Usage Back to Top
dpi Dots per inch (dpi). Used for calculating the correct scale thresholds for scale dependent elements such as SCALEDEPENDENTRENDERER, LAYER, and OBJECT. The dpi value used in request overrides the value used in a service.
envelope Toggle to get information on the envelope for featureclass layers in a service. Featureclass layers include shapefile and ArcSDE layers.
extensions Toggle to get information on any service extensions in featureclass layers.
fields Toggle to get information on available fields for each featureclass layer in a service.
renderer Toggle to get renderer information for featureclass layers in a service.
 

Examples for GET_SERVICE_INFO:

Example 1: When using Image or Feature Services. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_SERVICE_INFO fields="false" envelope="false" renderer="false" extensions="true" />
  </REQUEST>
</ARCXML>

Example 2: When using ArcMap Image Services. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_SERVICE_INFO fields="false" envelope="false" dataframe="#ALL#" toc="true" toctype="jpg" />
  </REQUEST>
</ARCXML>