ENVIRONMENT  Examples

Used in:  CONFIG   REQUEST   RESPONSE   Application Server RESPONSE  
Parent elements:  CONFIG   GET_EXTRACT   GET_FEATURES   GET_IMAGE   GET_PROJECT   SERVICE   SERVICEINFO  

<ENVIRONMENT >
     No Attributes


     When parent element is CONFIG:
     <LOCALE... />
     <UIFONT... />
     <SCREEN... />
     <SEPARATORS... />

     When parent element is GET_EXTRACT, GET_FEATURES, GET_IMAGE, GET_PROJECT:
     <SEPARATORS... />

     When parent element is SERVICE:
     <LOCALE... />
     <UIFONT... />

     When parent element is SERVICEINFO when sent to Geocode Server:
     <CAPABILITIES... />
     <LOCALE... />
     <SEPARATORS... />
     <UIFONT... />

     When parent element is SERVICEINFO when sent to Image, Feature, or ArcMap Servers:
     <CAPABILITIES... />
     <IMAGELIMIT... />
     <LOCALE... />
     <SCREEN... />
     <SEPARATORS... />
     <UIFONT... />

</ENVIRONMENT >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


   

Examples for ENVIRONMENT:

Example 1: When in CONFIG. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <CONFIG>
    <ENVIRONMENT>
      <LOCALE country="US" language="en" variant="" />
      <UIFONT color="0,0,0" name="Arial" size="12" style="regular" />
      <SCREEN dpi="96" />
    </ENVIRONMENT>
    <MAP>
      <PROPERTIES>
        <ENVELOPE minx="-180,0" miny="-90,0" maxx="180,0" maxy="90,0" name="Initial_Extent" />
        <MAPUNITS units="decimal_degrees" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
      </PROPERTIES>
      <WORKSPACES>
        <SHAPEWORKSPACE name="shp_ws-18" directory="<path to WORLD ESRIDATA>" />
      </WORKSPACES>
      <LAYER type="featureclass" name="CNTRY94" visible="true" id="0">
        <DATASET name="CNTRY94" type="polygon" workspace="shp_ws-18" />
        <SIMPLERENDERER>
          <SIMPLEPOLYGONSYMBOL fillcolor="127,227,127" filltype="solid" />
        </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 2: When in an application server RESPONSE to GETCLIENTSERVICES. Back to Top
<?xml version="1.0"?>
<ARCXML version="1.1">
  <RESPONSE>
    <SERVICES>
      <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>
    </SERVICES>
  </RESPONSE>
</ARCXML>