[mapserver-commits] r7321 - in trunk/msautotest/wxs: . expected
svn at osgeo.org
svn at osgeo.org
Mon Jan 28 17:33:04 EST 2008
Author: tomkralidis
Date: 2008-01-28 17:33:03 -0500 (Mon, 28 Jan 2008)
New Revision: 7321
Added:
trunk/msautotest/wxs/expected/wfs_exception.xml
Modified:
trunk/msautotest/wxs/wfs_simple.map
Log:
Add a test for exceptions (#2480)
Added: trunk/msautotest/wxs/expected/wfs_exception.xml
===================================================================
--- trunk/msautotest/wxs/expected/wfs_exception.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wfs_exception.xml 2008-01-28 22:33:03 UTC (rev 7321)
@@ -0,0 +1,8 @@
+Content-type: text/xml
+
+<ServiceExceptionReport
+xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://ogc.dmsolutions.ca/wfs/1.0.0/OGC-exception.xsd">
+ <ServiceException>
+msWFSDispatch(): WFS server error. Incomplete WFS request: REQUEST parameter missing
+ </ServiceException>
+</ServiceExceptionReport>
Modified: trunk/msautotest/wxs/wfs_simple.map
===================================================================
--- trunk/msautotest/wxs/wfs_simple.map 2008-01-28 22:29:57 UTC (rev 7320)
+++ trunk/msautotest/wxs/wfs_simple.map 2008-01-28 22:33:03 UTC (rev 7321)
@@ -3,6 +3,8 @@
#
# REQUIRES: INPUT=GDAL OUTPUT=PNG SUPPORTS=WFS
#
+# Exception
+# RUN_PARMS: wfs_exception.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WFS&VERSION=1.0.0" > [RESULT]
#
# Capabilities
# RUN_PARMS: wfs_cap.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
More information about the mapserver-commits
mailing list