[mapserver-commits] r9332 - in trunk/msautotest/wxs: . expected

svn at osgeo.org svn at osgeo.org
Wed Sep 23 09:33:16 EDT 2009


Author: tomkralidis
Date: 2009-09-23 09:33:15 -0400 (Wed, 23 Sep 2009)
New Revision: 9332

Added:
   trunk/msautotest/wxs/expected/wms_getmap130crsexception.xml
Modified:
   trunk/msautotest/wxs/wms_simple.map
Log:
add test for WMS 1.3.0 CRS checking (#2979)


Added: trunk/msautotest/wxs/expected/wms_getmap130crsexception.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_getmap130crsexception.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_getmap130crsexception.xml	2009-09-23 13:33:15 UTC (rev 9332)
@@ -0,0 +1,8 @@
+Content-type: text/xml
+
+<?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 code="MissingParameterValue">
+msWMSLoadGetMapParams(): WMS server error. Missing required parameter CRS
+</ServiceException>
+</ServiceExceptionReport>

Modified: trunk/msautotest/wxs/wms_simple.map
===================================================================
--- trunk/msautotest/wxs/wms_simple.map	2009-09-23 13:22:40 UTC (rev 9331)
+++ trunk/msautotest/wxs/wms_simple.map	2009-09-23 13:33:15 UTC (rev 9332)
@@ -43,6 +43,9 @@
 # GetMap
 # RUN_PARMS: wms_getmap130.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG%3A4326&BBOX=35.18749999863387,-141.0000000021858,90.81250000136613,-51.99999999781419&WIDTH=560&HEIGHT=350&LAYERS=road&STYLES=&FORMAT=image%2Fpng&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&EXCEPTIONS=INIMAGE" > [RESULT_DEMIME]
 #
+# GetMap exception (passing SRS instead of CRS)
+# RUN_PARMS: wms_getmap130crsexception.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&SRS=EPSG%3A4326&BBOX=35.18749999863387,-141.0000000021858,90.81250000136613,-51.99999999781419&WIDTH=560&HEIGHT=350&LAYERS=road&STYLES=&FORMAT=image%2Fpng&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&EXCEPTIONS=XML" > [RESULT]
+#
 # GetFeatureInfo
 # RUN_PARMS: wms_getfeatureinfo130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&CRS=EPSG%3A4326&BBOX=35.18749999863387,-141.0000000021858,90.81250000136613,-51.99999999781419&WIDTH=560&HEIGHT=350&LAYERS=road&STYLES=&FORMAT=image%2Fpng&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&QUERY_LAYERS=road&INFO_FORMAT=application%2Fvnd.ogc.gml&I=483&J=291&FEATURE_COUNT=5" > [RESULT]
 #



More information about the mapserver-commits mailing list