[mapserver-commits] r11258 - trunk/msautotest/wxs

svn at osgeo.org svn at osgeo.org
Fri Mar 18 14:52:51 EDT 2011


Author: schpidi
Date: 2011-03-18 11:52:51 -0700 (Fri, 18 Mar 2011)
New Revision: 11258

Added:
   trunk/msautotest/wxs/ows_disable.map
Modified:
   trunk/msautotest/wxs/sos.map
Log:
Adding test to disable OWS (see RFC 67).
Enabling SOS in sos.map.


Added: trunk/msautotest/wxs/ows_disable.map
===================================================================
--- trunk/msautotest/wxs/ows_disable.map	                        (rev 0)
+++ trunk/msautotest/wxs/ows_disable.map	2011-03-18 18:52:51 UTC (rev 11258)
@@ -0,0 +1,40 @@
+#
+# Test OGC Web Service enabling/disabling
+#
+# REQUIRES: SUPPORTS=WMS SUPPORTS=WCS
+#
+# The following tests exists primarily to test the ability of disabling
+# OGC Web Services at all (see RFC 67).
+#
+# RUN_PARMS: ows_wms11_disabled.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
+# RUN_PARMS: ows_wms13_disabled.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
+# RUN_PARMS: ows_wcs11_disabled.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.1.2&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
+# RUN_PARMS: ows_wcs20_disabled.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=2.0.0&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
+
+MAP
+
+NAME WMS_TEST
+SHAPEPATH ./data
+
+WEB
+  METADATA
+    "wms_onlineresource"   "http://localhost/path/to/ows?"
+  END
+END
+
+PROJECTION
+  "init=epsg:4326"
+END
+
+LAYER
+  NAME road
+  DATA toronto.tif
+  TYPE RASTER
+  PROJECTION
+    "init=epsg:32611"
+  END
+  DUMP TRUE
+
+END # Layer
+
+END # Map File

Modified: trunk/msautotest/wxs/sos.map
===================================================================
--- trunk/msautotest/wxs/sos.map	2011-03-18 18:51:06 UTC (rev 11257)
+++ trunk/msautotest/wxs/sos.map	2011-03-18 18:52:51 UTC (rev 11258)
@@ -151,6 +151,7 @@
    "ows_role" "staff"
    "ows_srs" "EPSG:4326"
    "ows_maxfeatures" "90210"
+   "ows_enable_request" "*" 
    END
  END
  LAYER



More information about the mapserver-commits mailing list