AW: [mapserver-users] Invalid format for theEXCEPTIONparameter
Robert Sanson
SansonR at asurequality.com
Wed Sep 23 15:00:59 PDT 2009
Hi Arnd
Thanks for that. I tried with v 1.1.1 at it works against my Mapserver 5.4.2 installation. That option does not appear to be present in ArcCatalog though.
Regards,
Robert
>>> "Arnd Wippermann" <arnd.wippermann at web.de> 24/09/2009 9:34 a.m. >>>
Hi Robert,
I'm using ArcMap 9.3 and the add WMS server dialog has a dropdown list for selecting a version (see attached image).
Arnd
Von: Robert Sanson [mailto:SansonR at asurequality.com]
Gesendet: Mittwoch, 23. September 2009 22:44
An: Arnd Wippermann
Cc: mapserver-users at lists.osgeo.org
Betreff: Re: AW: [mapserver-users] Invalid format for theEXCEPTIONparameter
Hi Arnd
How do you change it?
Many thanks,
Robert Sanson
>>> "Arnd Wippermann" <arnd.wippermann at web.de> 24/09/2009 3:48 a.m. >>>
Hi,
in ArcMap 9.3 it's possible to change from default version for the WMS request to other versions.
Arnd
Von: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Robert Sanson
Gesendet: Mittwoch, 23. September 2009 02:49
An: Yewondwossen Assefa
Cc: mapserver-users at lists.osgeo.org
Betreff: Re: [mapserver-users] Invalid format for the EXCEPTIONparameter
Hi Assefa
Unfortunately not - it seems to be hardcoded in. Can I get Mapserver to only offer WMS version 1.1.1?
Thanks,
Robert
>>> Yewondwossen Assefa <yassefa at dmsolutions.ca> 23/09/2009 12:48 p.m. >>>
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/ )
Click here ( https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== ) to report this email as spam.
------------------------------------------------------------------
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.
------------------------------------------------------------------
------------------------------------------------------------------
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.
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090924/70168103/attachment.htm>
More information about the MapServer-users
mailing list