The <map-service> element is used to specify the ArcIMS service used in producing the main map image.
This element is used in conjunction with the <map-server>,
<map-servlet> and
<map-dataframe> elements.
| Frequency |
Parent Elements (the <map-service> element is valid within): |
|
PRS1 |
<site-config> |
| |
|
|
| Frequency |
Description (in this context) |
|
PRS1 |
The <map-service> element must appear exactly once within the
<site-config> element in the specified sequence.
|
| |
|
|
|
Attributes |
Description |
|
name |
The name of the ArcIMS service used for the main map. Required if this element is used.
|
|
print-name |
The name of the ArcIMS service used for the PDF printing routine.
If used, must point at an ArcIMS server with a service containing exactly the
same layer definitions as the one used for the browser.Optional, uses the name
defined in the name attribute if not specified.
|
| |
|
|
Examples:
<!-- Standard image map service, default servlet path. -->
<map-server host="someserver.com" />
<map-service name="someservice" />
<!-- Use a different server with a service with the same name for plotting. -->
<map-server host="someserver.com" print-host="someotherserver.com"/>
<map-service name="someservice" print-name="someotherservice"/>
<!-- Standard image map service, IP instead of host name. -->
<map-server host="123.45.67.89" />
<map-service name="someservice" />
<!-- Standard image map service, aliased servlet path. -->
<map-server host="someserver.com:8080" />
<map-servlet path="/rdir/servlet/com.esri.esrimap.Esrimap" />
<map-service name="someservice" />
<!-- ArcMap service, dataframe required. -->
<map-server host="someserver.com" />
<map-servlet path="/servlet/com.esri.esrimap.Esrimap" />
<map-service name="someservice" />
<map-dataframe name="Layers" />