[mapserver-users] MapServer 6.0.0-beta6 Incorrect error response to missing parameter

Passmore, James H. jpass at bgs.ac.uk
Wed Apr 20 10:12:28 EDT 2011


When I omit the request=GetCapabilities parameter on the below request

http://ogcdev.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms?service=wms&

The exception reported is:

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException>
msWMSDispatch(): WMS server error. Incomplete WMS request: VERSION parameter missing
msOutputFormatValidate(): General error message. OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is not supported for GD drivers.
</ServiceException>
</ServiceExceptionReport>


I believe this is incorrect.

When the service parameter is specified the request can only be GetCapabilities.  For a GetCapabilities request the version parameter is optional.

The error should therefore report:

msWMSDispatch(): WMS server error. Incomplete WMS request: REQUEST parameter missing.

James

James Passmore
GIS and WWW Specialist
Information Systems and Infrastructure,
British Geological Survey,
http://www.bgs.ac.uk/

+44 (0)115 936 3125 






-- 
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.


More information about the mapserver-users mailing list