[mapserver-users] Invalid format for the EXCEPTION parameter
Yewondwossen Assefa
yassefa at dmsolutions.ca
Tue Sep 22 17:48:00 PDT 2009
Hi There,
Valid EXCEPTIONS values for wms 1.3.0 are INIMAGE, BLANK, XML.
application/vnd.ogc.se_XML was used for previous versions. Do you have
any control on this parameter from ArcMap/ArcCatalog ?
regards
Robert Sanson wrote:
> I have a 5.4.2 version of Mapserver (MS4W) configured for WMS access.
> OpenLayers is accessing it fine, however, ArcMap / ArcCatalog v 9.3 is
> giving me an Error message:
>
> WMS service exceptions:-Service Error Code:InvalidFormat
> Service Error Description: msWMSLoadGetMapParams(): WMS server error.
> Invalid format for the EXCEPTION parameter.
> -Service Error Code:InvalidFormat
>
> Looking in the Apache access.log file I see:
>
> "GET
> /cgi-bin/mapserv.exe?map=/ms4w/apps/service/nztm.map&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:2193&BBOX=773500,4615000,2602100,5973130.71761735
> &WIDTH=82&HEIGHT=111&LAYERS=crs_roads,crs_address,centroids,main_gates,main_homesteads,stockyards,dairysheds,synlait,apiaries,copyright
> &STYLES=,,,,,,,,,&EXCEPTIONS=application/vnd.ogc.se_XML&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE
> HTTP/1.0"
>
> In my various layer Metadata I have the following:
>
> METADATA
> "ows_title" "apiaries"
> "ows_abstract" "These are the registered apiaries from the Apiary DB"
> "wms_srs" "EPSG:2193"
> "wms_opaque" "0"
> "wms_group_title" "API"
> "wms_group_abstract" "Apiaries"
> "ows_extent" "773500 4615000 2602100 6324500"
> "wms_dataurl_format" "text/html"
> "gml_include_items" "all"
> "wms_exceptions_format" "application/vnd.ogc.se_xml"
> END
>
> Many thanks,
>
> Robert Sanson
>
>
>
> ------------------------------------------------------------------
> The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
> ------------------------------------------------------------------
>
>
>
> This message has been scanned for malware by SurfControl plc.
> www.surfcontrol.com <http://www.surfcontrol.com/>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list