Select to view content in your preferred language

problems with GETMAP call

3644
2
06-05-2012 09:51 PM
Przemys_awG_dziorowski
New Contributor
Dear All

(according to http://www.arcgis.com/explorer/?open=0bb40265b64a4b29ac3bccb774413357&extent=-19595272.2154129,-5142...)
I'm trying to call map with GETMAP request as follows:
http://downloads.wdpa.org/arcgis/services/Wetlands/Wetlands/MapServer/WMSServer?Service=WMS&REQUEST=...

In responce I receive an exception report that
<ServiceException code="InvalidFormat">
Can't parse XML request.
</ServiceException>

Of course I've tried all formats I know but with no result.

(according to http://www.arcgis.com/explorer/?open=7b8748f057de4be3b8e14857a3c21640&extent=-7781947.1428013,308834...)
In another attepmt I have the getcapabilities request:
http://www.cow6.com/ArcGIS/services/Reports2010/Reports2008_Dyna_WGS84/MapServer/WMSServer?Service=W...
which also brings me some unexpected results.

Does anybody can tell me what am I doing wrong?

Best regards

Przemek
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
The issue seems to be the Spatial reference parameter of your request.
From WMS 1.3.0 it's called CRS, with previous versions it was SRS.
So you can get the map in 1.3.0 with a query like : http://downloads.wdpa.org/arcgis/services/Wetlands/Wetlands/MapServer/WMSServer?Service=WMS&REQUEST=...&
or in 1.1.0 with : http://downloads.wdpa.org/arcgis/services/Wetlands/Wetlands/MapServer/WMSServer?Service=WMS&REQUEST=...&

Concerning GetCapabilities, you get it with http://downloads.wdpa.org/ArcGIS/services/Wetlands/Wetlands/MapServer/WMSServer?service=WMS&request=...

Note : the domain of your second sample seems no more working.
0 Kudos
Przemys_awG_dziorowski
New Contributor
Dear Dominique

Thanks a lot for response. Everything you wrote works perfect so I'll take a while to consider it.

All the best

Przemek
0 Kudos