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

svn at osgeo.org svn at osgeo.org
Thu Jun 19 20:08:37 EDT 2008


Author: tomkralidis
Date: 2008-06-19 20:08:37 -0400 (Thu, 19 Jun 2008)
New Revision: 7712

Added:
   trunk/msautotest/wxs/expected/sos_se11.xml
Modified:
   trunk/msautotest/wxs/sos.map
Log:
support invalid procedure in GetObservation (#2561)



Added: trunk/msautotest/wxs/expected/sos_se11.xml
===================================================================
--- trunk/msautotest/wxs/expected/sos_se11.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/sos_se11.xml	2008-06-20 00:08:37 UTC (rev 7712)
@@ -0,0 +1,8 @@
+Content-type: text/xml
+
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1" version="1.0.0" xml:lang="en-US" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd">
+  <ows:Exception exceptionCode="InvalidParameterValue" locator="procedure">
+    <ows:ExceptionText>msSOSGetCapabilities(): SOS server error. Invalid procedure value foo</ows:ExceptionText>
+  </ows:Exception>
+</ows:ExceptionReport>

Modified: trunk/msautotest/wxs/sos.map
===================================================================
--- trunk/msautotest/wxs/sos.map	2008-06-20 00:05:43 UTC (rev 7711)
+++ trunk/msautotest/wxs/sos.map	2008-06-20 00:08:37 UTC (rev 7712)
@@ -58,6 +58,9 @@
 # GetObservation (invalid srsName)
 # RUN_PARMS: sos_se10.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetObservation&responseFormat=text/xml; subtype=om/1.0.0&offering=Water&observedProperty=WaterQuality&srsName=EPSG:12345" > [RESULT]
 #
+# GetObservation (invalid procedure)
+# RUN_PARMS: sos_se11.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetObservation&responseFormat=text/xml; subtype=om/1.0.0&offering=Water&observedProperty=WaterQuality&procedure=foo" > [RESULT]
+#
 #  Valid
 #
 # GetObservation (all observations)



More information about the mapserver-commits mailing list