Today, we got the WMS service of arcgis server 9.3, which complies with the ogc standard and supports WMS services in versions 1.0.0, 1.1.0, 1.1.1, and 1.3.0. The WMS service is backward compatible in version 1.1.1 and may seem a bit problematic in version 1.3.0.
The biggest feature of the WMS service of arcgis server 9.3 is that it supports the cache that has been created. If a service has already created a cache and enabled the cache, the WMS service will retrieve the cached data, so the speed will be fast.
The following is an example of a WMS url string:
Http: // 192.168.1.102/arcgis/services/vector/MapServer/WMSServer? REQUEST = GETMAP & VERSION = 1.1.1 & FORMAT = image/png & SRS = EPSG: 2436 & STYLES = & LAYERS =, 512 & WIDTH = 512 & HEIGHT = & BBOX = 129000,145000, 130000,146000
Note:
1. srs parameter: The description must be obtained using the GetCapabilities method to determine its input parameters,
<Layer>
<Title> layer list </Title>
<SRS> EPSG: 4326 </SRS>
<SRS> EPSG: 21480 </SRS>
<LatLonBoundingBox minx = "113.230688" miny = "0.434284" maxx = "114.191770" maxy = "1.975301"/>
<BoundingBox SRS = "EPSG: 21480" minx = "80338.105232" miny = "48126.218079" maxx = "187266.899699" maxy = "218686.707336"/>
<Layer queryable = "1">
<Name> 0 </Name>
<Title> GISUSER. IMAGESDATA </Title>
<Abstract> GISUSER. IMAGESDATA </Abstract>
<SRS> EPSG: 4326 </SRS>
<SRS> EPSG: 21480 </SRS>
<LatLonBoundingBox minx = "113.317612" miny = "0.504294" maxx = "114.074476" maxy = "1.905078"/>
<BoundingBox SRS = "EPSG: 21480" minx = "90012.611023" miny = "55878.967590" maxx = "174196.611023" maxy = "210933.957825"/>
<Style>
<Name> default </Name>
<Title> GISUSER. IMAGESDATA </Title>
<LegendURL width = "100" height = "0">
<Format> image/png </Format>
<OnlineResource xlink: href = "http: // jsjm-dl580/arcgisoutput/GISMapFull_MapServer/wms/default0.png" xlink: type = "simple" xmlns: xlink = "http://www.w3.org/1999/xlink"/>
</LegendURL>
</Style>
</Layer>
</Layer>
2. the srs definition method is different, and the bbox coordinate sequence is also different.
3. layers parameter: The layer name defined by esri is the number. The number obtained by GetCapabilities is reversed from the sequential number of the layer in mxd. Pay attention to this, in mxd, the bottom layer of toc is 0 in WMS.
4. WIDTH, HEIGHT, and BBOX parameters are related. If WIDTH and HEIGHT define a relationship, the bbox coordinate range should also be, otherwise, the image will be stretched and compressed.
5. the parameters used in the preceding example are incomplete. For other parameters, see the ogc Web_Map_Service_Implementation_Specification document.
From: http://blog.3snews.net/html/25/8925-22953.html