Multiple ESRI map services

You can configure multiple ESRI map services. With multiple map services, you can map a service to a specific layer, giving you a greater selection of features. In addition, the support of multiple map services is considered a best practice by ESRI.

To access one or more additional map services, add a <SERVICE> element and specify the mapservice and geometryservice attributes. Then add a child <DATASET> element for each layer.

For example:

<CONFIG mapservice="http://Server/ArcGIS/services/SampleService1/MapServer" 
geometryservice="http://SampleServer/ArcGIS/services/Geometry/
GeometryServer">
<SERVICE
mapservice="http://Server/ArcGIS/services/SampleService2/MapServer" 
geometryservice="http://SampleServer/ArcGIS/services/Geometry/
GeometryServer">
   <DATASET id="Layer" />
</SERVICE>
</CONFIG>