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

svn at osgeo.org svn at osgeo.org
Wed Jan 30 19:11:25 EST 2008


Author: tomkralidis
Date: 2008-01-30 19:11:25 -0500 (Wed, 30 Jan 2008)
New Revision: 7334

Added:
   trunk/msautotest/wxs/expected/wcs_exception.xml
Modified:
   trunk/msautotest/wxs/wcs_simple.map
Log:
Added autotest for exceptions (#2481)


Added: trunk/msautotest/wxs/expected/wcs_exception.xml
===================================================================
--- trunk/msautotest/wxs/expected/wcs_exception.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_exception.xml	2008-01-31 00:11:25 UTC (rev 7334)
@@ -0,0 +1,8 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" ?>
+<ServiceExceptionReport version="1.2.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.opengeospatial.net/wcs/1.0.0/OGC-exception.xsd">
+  <ServiceException code="MissingParameterValue" locator="crs">msWCSGetCoverage(): WCS server error. Required parameter CRS was not supplied.
+  </ServiceException>
+</ServiceExceptionReport>

Modified: trunk/msautotest/wxs/wcs_simple.map
===================================================================
--- trunk/msautotest/wxs/wcs_simple.map	2008-01-30 22:21:12 UTC (rev 7333)
+++ trunk/msautotest/wxs/wcs_simple.map	2008-01-31 00:11:25 UTC (rev 7334)
@@ -3,6 +3,10 @@
 #
 # REQUIRES: INPUT=GDAL OUTPUT=PNG SUPPORTS=WCS
 #
+# Exception
+#
+# RUN_PARMS: wcs_exception.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage" > [RESULT]
+#
 # Capabilities
 # RUN_PARMS: wcs_cap.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
 #



More information about the mapserver-commits mailing list