ENVIRONMENT  Examples

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

<ENVIRONMENT >
     No Attributes


     When parent element is CONFIG, GET_EXTRACT, GET_FEATURES, GET_IMAGE:
     <LOCALE... />
     <UIFONT... />
     <SCREEN... />
     <SEPARATORS... />

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

     When parent element is SERVICEINFO:
     <IMAGELIMIT... />
     <LOCALE... />
     <SCREEN... />
     <SEPARATORS... />
     <UIFONT... />
     <CAPABILITIES... />

</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" />
      </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="world_image" servicegroup="ImageServer1" access="PUBLIC" type="ImageServer" desc=""  status="ENABLED" >
      <ENVIRONMENT>
        <LOCALE country="US" language="en" />
        <UIFONT name="Arial" />
      </ENVIRONMENT>
      <CLEANUP interval="20" />
    </SERVICE>
  </SERVICES>
</RESPONSE>
</ARCXML>