[mapserver-commits] r12935 - in trunk/msautotest/wxs: . expected
svn at osgeo.org
svn at osgeo.org
Fri Dec 30 06:26:11 EST 2011
Author: schpidi
Date: 2011-12-30 03:26:10 -0800 (Fri, 30 Dec 2011)
New Revision: 12935
Added:
trunk/msautotest/wxs/expected/wcs_empty_cap100.xml
trunk/msautotest/wxs/expected/wcs_empty_cap110.xml
trunk/msautotest/wxs/expected/wcs_empty_cap200.xml
trunk/msautotest/wxs/expected/wcs_empty_cap_latestversion.xml
trunk/msautotest/wxs/ows_empty.map
Removed:
trunk/msautotest/wxs/wms_empty.map
Log:
Adding tests for WCS GetCapabilities with an empty list of layers (#4140)
Added: trunk/msautotest/wxs/expected/wcs_empty_cap100.xml
===================================================================
--- trunk/msautotest/wxs/expected/wcs_empty_cap100.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_empty_cap100.xml 2011-12-30 11:26:10 UTC (rev 12935)
@@ -0,0 +1,64 @@
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<WCS_Capabilities
+ version="1.0.0"
+ updateSequence="0"
+ xmlns="http://www.opengis.net/wcs"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:gml="http://www.opengis.net/gml"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.opengis.net/wcs http://schemas.opengis.net/wcs/1.0.0/wcsCapabilities.xsd">
+<Service>
+ <name>MapServer WCS</name>
+ <label>WCS label</label>
+ <fees>NONE</fees>
+ <accessConstraints>
+ NONE
+ </accessConstraints>
+</Service>
+<Capability>
+ <Request>
+ <GetCapabilities>
+ <DCPType>
+ <HTTP>
+ <Get><OnlineResource xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?" /></Get>
+ </HTTP>
+ </DCPType>
+ <DCPType>
+ <HTTP>
+ <Post><OnlineResource xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?" /></Post>
+ </HTTP>
+ </DCPType>
+ </GetCapabilities>
+ <DescribeCoverage>
+ <DCPType>
+ <HTTP>
+ <Get><OnlineResource xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?" /></Get>
+ </HTTP>
+ </DCPType>
+ <DCPType>
+ <HTTP>
+ <Post><OnlineResource xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?" /></Post>
+ </HTTP>
+ </DCPType>
+ </DescribeCoverage>
+ <GetCoverage>
+ <DCPType>
+ <HTTP>
+ <Get><OnlineResource xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?" /></Get>
+ </HTTP>
+ </DCPType>
+ <DCPType>
+ <HTTP>
+ <Post><OnlineResource xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?" /></Post>
+ </HTTP>
+ </DCPType>
+ </GetCoverage>
+ </Request>
+ <Exception>
+ <Format>application/vnd.ogc.se_xml</Format>
+ </Exception>
+</Capability>
+<ContentMetadata>
+ <!-- WARNING: No WCS layers are enabled. Check wcs/ows_enable_request settings. -->
+</ContentMetadata>
+</WCS_Capabilities>
Added: trunk/msautotest/wxs/expected/wcs_empty_cap110.xml
===================================================================
--- trunk/msautotest/wxs/expected/wcs_empty_cap110.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_empty_cap110.xml 2011-12-30 11:26:10 UTC (rev 12935)
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<Capabilities xmlns="http://www.opengis.net/wcs/1.1" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ogc="http://www.opengis.net/ogc" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wcs/1.1 http://schemas.opengis.net/wcs/1.1/wcsGetCapabilities.xsd http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsAll.xsd">
+ <ows:ServiceIdentification>
+ <ows:Title>Test simple wcs</ows:Title>
+ <ows:Abstract/>
+ <!--WARNING: Optional metadata "ows_abstract" was missing for ows:Abstract-->
+ <!--WARNING: Optional metadata "ows_keywordlist" was missing for ows:KeywordList-->
+ <ows:ServiceType codeSpace="OGC">OGC WCS</ows:ServiceType>
+ <ows:ServiceTypeVersion>1.1.0</ows:ServiceTypeVersion>
+ <ows:Fees/>
+ <!--WARNING: Optional metadata "ows_fees" was missing for ows:Fees-->
+ <ows:AccessConstraints/>
+ <!--WARNING: Optional metadata "ows_accessconstraints" was missing for ows:AccessConstraints-->
+ </ows:ServiceIdentification>
+ <ows:ServiceProvider>
+ <ows:ProviderName/>
+ <!--WARNING: Mandatory metadata "ows_contactorganization" was missing for ows:ProviderName-->
+ <ows:ProviderSite xlink:type="simple" xlink:href="http://www.mapserver.org/"/>
+ <ows:ServiceContact>
+ <ows:IndividualName/>
+ <!--WARNING: Optional metadata "ows_contactperson" was missing for ows:IndividualName-->
+ <ows:PositionName/>
+ <!--WARNING: Optional metadata "ows_contactposition" was missing for ows:PositionName-->
+ <ows:ContactInfo>
+ <ows:Phone>
+ <ows:Voice/>
+ <!--WARNING: Optional metadata "ows_contactvoicetelephone" was missing for ows:Voice-->
+ <ows:Facsimile/>
+ <!--WARNING: Optional metadata "ows_contactfacsimiletelephone" was missing for ows:Facsimile-->
+ </ows:Phone>
+ <ows:Address>
+ <ows:DeliveryPoint/>
+ <!--WARNING: Optional metadata "ows_address" was missing for ows:DeliveryPoint-->
+ <ows:City/>
+ <!--WARNING: Optional metadata "ows_city" was missing for ows:City-->
+ <ows:AdministrativeArea/>
+ <!--WARNING: Optional metadata "ows_stateorprovince" was missing for ows:AdministrativeArea-->
+ <ows:PostalCode/>
+ <!--WARNING: Optional metadata "ows_postcode" was missing for ows:PostalCode-->
+ <ows:Country/>
+ <!--WARNING: Optional metadata "ows_country" was missing for ows:Country-->
+ <ows:ElectronicMailAddress/>
+ <!--WARNING: Optional metadata "ows_contactelectronicmailaddress" was missing for ows:ElectronicMailAddress-->
+ </ows:Address>
+ <ows:OnlineResource xlink:type="simple" xlink:href="http://www.mapserver.org/"/>
+ <ows:HoursOfService/>
+ <!--WARNING: Optional metadata "ows_hoursofservice" was missing for ows:HoursOfService-->
+ <ows:ContactInstructions/>
+ <!--WARNING: Optional metadata "ows_contactinstructions" was missing for ows:ContactInstructions-->
+ </ows:ContactInfo>
+ <ows:Role/>
+ <!--WARNING: Optional metadata "ows_role" was missing for ows:Role-->
+ </ows:ServiceContact>
+ </ows:ServiceProvider>
+ <ows:OperationsMetadata>
+ <ows:Operation name="GetCapabilities">
+ <ows:DCP>
+ <ows:HTTP>
+ <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ </ows:HTTP>
+ </ows:DCP>
+ <ows:Parameter name="service">
+ <ows:AllowedValues>
+ <ows:Value>WCS</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ <ows:Parameter name="version">
+ <ows:AllowedValues>
+ <ows:Value>1.1.0</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ </ows:Operation>
+ <ows:Operation name="DescribeCoverage">
+ <ows:DCP>
+ <ows:HTTP>
+ <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ </ows:HTTP>
+ </ows:DCP>
+ <ows:Parameter name="service">
+ <ows:AllowedValues>
+ <ows:Value>WCS</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ <ows:Parameter name="version">
+ <ows:AllowedValues>
+ <ows:Value>1.1.0</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ <ows:Parameter name="identifiers">
+ <ows:AllowedValues>
+ <ows:Value></ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ </ows:Operation>
+ <ows:Operation name="GetCoverage">
+ <ows:DCP>
+ <ows:HTTP>
+ <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ </ows:HTTP>
+ </ows:DCP>
+ <ows:Parameter name="service">
+ <ows:AllowedValues>
+ <ows:Value>WCS</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ <ows:Parameter name="version">
+ <ows:AllowedValues>
+ <ows:Value>1.1.0</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ <ows:Parameter name="Identifier">
+ <ows:AllowedValues>
+ <ows:Value></ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ <ows:Parameter name="InterpolationType">
+ <ows:AllowedValues>
+ <ows:Value>NEAREST_NEIGHBOUR</ows:Value>
+ <ows:Value>BILINEAR</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ <ows:Parameter name="format">
+ <ows:AllowedValues>
+ <ows:Value>image/png</ows:Value>
+ <ows:Value>image/jpeg</ows:Value>
+ <ows:Value>image/gif</ows:Value>
+ <ows:Value>image/png; mode=8bit</ows:Value>
+ <ows:Value>image/tiff</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ <ows:Parameter name="store">
+ <ows:AllowedValues>
+ <ows:Value>false</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ <ows:Parameter name="GridBaseCRS">
+ <ows:AllowedValues>
+ <ows:Value>urn:ogc:def:crs:epsg::4326</ows:Value>
+ </ows:AllowedValues>
+ </ows:Parameter>
+ </ows:Operation>
+ </ows:OperationsMetadata>
+ <Contents>
+ <!--WARNING: No WCS layers are enabled. Check wcs/ows_enable_request settings.-->
+ </Contents>
+</Capabilities>
Added: trunk/msautotest/wxs/expected/wcs_empty_cap200.xml
===================================================================
--- trunk/msautotest/wxs/expected/wcs_empty_cap200.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_empty_cap200.xml 2011-12-30 11:26:10 UTC (rev 12935)
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<wcs:Capabilities xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:swe="http://www.opengis.net/swe/2.0" xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd " version="2.0.0">
+ <ows:ServiceIdentification>
+ <ows:Title>Test simple wcs</ows:Title>
+ <ows:Abstract/>
+ <!--WARNING: Optional metadata "ows_abstract" was missing for ows:Abstract-->
+ <!--WARNING: Optional metadata "ows_keywordlist" was missing for ows:KeywordList-->
+ <ows:ServiceType codeSpace="OGC">OGC WCS</ows:ServiceType>
+ <ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion>
+ <ows:Profile>http://www.opengis.net/spec/WCS/2.0/conf/core</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_protocol-binding_get-kvp/1.0/conf/get-kvp</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_protocol-binding_post-xml/1.0/conf/post-xml</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_service-model_crs-predefined/1.0/conf/crs-predefined</ows:Profile>
+ <ows:Profile>http://www.placeholder.com/IMAGECRS</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_encoding_geotiff/1.0/conf/geotiff</ows:Profile>
+ <ows:Profile>http://www.placeholder.com/GML_and_GeoTIFF</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_service-model_scaling+interpolation/1.0/conf/scaling+interpolation</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_service-model_band-subsetting/1.0/conf/band-subsetting</ows:Profile>
+ <ows:Fees/>
+ <!--WARNING: Optional metadata "ows_fees" was missing for ows:Fees-->
+ <ows:AccessConstraints/>
+ <!--WARNING: Optional metadata "ows_accessconstraints" was missing for ows:AccessConstraints-->
+ </ows:ServiceIdentification>
+ <ows:ServiceProvider>
+ <ows:ProviderName/>
+ <!--WARNING: Mandatory metadata "ows_contactorganization" was missing for ows:ProviderName-->
+ <ows:ProviderSite xlink:type="simple" xlink:href="http://www.mapserver.org/"/>
+ <ows:ServiceContact>
+ <ows:IndividualName/>
+ <!--WARNING: Optional metadata "ows_contactperson" was missing for ows:IndividualName-->
+ <ows:PositionName/>
+ <!--WARNING: Optional metadata "ows_contactposition" was missing for ows:PositionName-->
+ <ows:ContactInfo>
+ <ows:Phone>
+ <ows:Voice/>
+ <!--WARNING: Optional metadata "ows_contactvoicetelephone" was missing for ows:Voice-->
+ <ows:Facsimile/>
+ <!--WARNING: Optional metadata "ows_contactfacsimiletelephone" was missing for ows:Facsimile-->
+ </ows:Phone>
+ <ows:Address>
+ <ows:DeliveryPoint/>
+ <!--WARNING: Optional metadata "ows_address" was missing for ows:DeliveryPoint-->
+ <ows:City/>
+ <!--WARNING: Optional metadata "ows_city" was missing for ows:City-->
+ <ows:AdministrativeArea/>
+ <!--WARNING: Optional metadata "ows_stateorprovince" was missing for ows:AdministrativeArea-->
+ <ows:PostalCode/>
+ <!--WARNING: Optional metadata "ows_postcode" was missing for ows:PostalCode-->
+ <ows:Country/>
+ <!--WARNING: Optional metadata "ows_country" was missing for ows:Country-->
+ <ows:ElectronicMailAddress/>
+ <!--WARNING: Optional metadata "ows_contactelectronicmailaddress" was missing for ows:ElectronicMailAddress-->
+ </ows:Address>
+ <ows:OnlineResource xlink:type="simple" xlink:href="http://www.mapserver.org/"/>
+ <ows:HoursOfService/>
+ <!--WARNING: Optional metadata "ows_hoursofservice" was missing for ows:HoursOfService-->
+ <ows:ContactInstructions/>
+ <!--WARNING: Optional metadata "ows_contactinstructions" was missing for ows:ContactInstructions-->
+ </ows:ContactInfo>
+ <ows:Role/>
+ <!--WARNING: Optional metadata "ows_role" was missing for ows:Role-->
+ </ows:ServiceContact>
+ </ows:ServiceProvider>
+ <ows:OperationsMetadata>
+ <ows:Operation name="GetCapabilities">
+ <ows:DCP>
+ <ows:HTTP>
+ <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?">
+ <ows:Constraint name="PostEncoding">
+ <ows:AllowedValues>
+ <ows:Value>XML</ows:Value>
+ </ows:AllowedValues>
+ </ows:Constraint>
+ </ows:Post>
+ </ows:HTTP>
+ </ows:DCP>
+ </ows:Operation>
+ <ows:Operation name="DescribeCoverage">
+ <ows:DCP>
+ <ows:HTTP>
+ <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?">
+ <ows:Constraint name="PostEncoding">
+ <ows:AllowedValues>
+ <ows:Value>XML</ows:Value>
+ </ows:AllowedValues>
+ </ows:Constraint>
+ </ows:Post>
+ </ows:HTTP>
+ </ows:DCP>
+ </ows:Operation>
+ <ows:Operation name="GetCoverage">
+ <ows:DCP>
+ <ows:HTTP>
+ <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?">
+ <ows:Constraint name="PostEncoding">
+ <ows:AllowedValues>
+ <ows:Value>XML</ows:Value>
+ </ows:AllowedValues>
+ </ows:Constraint>
+ </ows:Post>
+ </ows:HTTP>
+ </ows:DCP>
+ </ows:Operation>
+ </ows:OperationsMetadata>
+ <wcs:ServiceMetadata/>
+ <wcs:Contents>
+ <!--WARNING: No WCS layers are enabled. Check wcs/ows_enable_request settings.-->
+ </wcs:Contents>
+</wcs:Capabilities>
Added: trunk/msautotest/wxs/expected/wcs_empty_cap_latestversion.xml
===================================================================
--- trunk/msautotest/wxs/expected/wcs_empty_cap_latestversion.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_empty_cap_latestversion.xml 2011-12-30 11:26:10 UTC (rev 12935)
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<wcs:Capabilities xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:swe="http://www.opengis.net/swe/2.0" xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd " version="2.0.0">
+ <ows:ServiceIdentification>
+ <ows:Title>Test simple wcs</ows:Title>
+ <ows:Abstract/>
+ <!--WARNING: Optional metadata "ows_abstract" was missing for ows:Abstract-->
+ <!--WARNING: Optional metadata "ows_keywordlist" was missing for ows:KeywordList-->
+ <ows:ServiceType codeSpace="OGC">OGC WCS</ows:ServiceType>
+ <ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion>
+ <ows:Profile>http://www.opengis.net/spec/WCS/2.0/conf/core</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_protocol-binding_get-kvp/1.0/conf/get-kvp</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_protocol-binding_post-xml/1.0/conf/post-xml</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_service-model_crs-predefined/1.0/conf/crs-predefined</ows:Profile>
+ <ows:Profile>http://www.placeholder.com/IMAGECRS</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_encoding_geotiff/1.0/conf/geotiff</ows:Profile>
+ <ows:Profile>http://www.placeholder.com/GML_and_GeoTIFF</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_service-model_scaling+interpolation/1.0/conf/scaling+interpolation</ows:Profile>
+ <ows:Profile>http://www.opengis.net/spec/WCS_service-model_band-subsetting/1.0/conf/band-subsetting</ows:Profile>
+ <ows:Fees/>
+ <!--WARNING: Optional metadata "ows_fees" was missing for ows:Fees-->
+ <ows:AccessConstraints/>
+ <!--WARNING: Optional metadata "ows_accessconstraints" was missing for ows:AccessConstraints-->
+ </ows:ServiceIdentification>
+ <ows:ServiceProvider>
+ <ows:ProviderName/>
+ <!--WARNING: Mandatory metadata "ows_contactorganization" was missing for ows:ProviderName-->
+ <ows:ProviderSite xlink:type="simple" xlink:href="http://www.mapserver.org/"/>
+ <ows:ServiceContact>
+ <ows:IndividualName/>
+ <!--WARNING: Optional metadata "ows_contactperson" was missing for ows:IndividualName-->
+ <ows:PositionName/>
+ <!--WARNING: Optional metadata "ows_contactposition" was missing for ows:PositionName-->
+ <ows:ContactInfo>
+ <ows:Phone>
+ <ows:Voice/>
+ <!--WARNING: Optional metadata "ows_contactvoicetelephone" was missing for ows:Voice-->
+ <ows:Facsimile/>
+ <!--WARNING: Optional metadata "ows_contactfacsimiletelephone" was missing for ows:Facsimile-->
+ </ows:Phone>
+ <ows:Address>
+ <ows:DeliveryPoint/>
+ <!--WARNING: Optional metadata "ows_address" was missing for ows:DeliveryPoint-->
+ <ows:City/>
+ <!--WARNING: Optional metadata "ows_city" was missing for ows:City-->
+ <ows:AdministrativeArea/>
+ <!--WARNING: Optional metadata "ows_stateorprovince" was missing for ows:AdministrativeArea-->
+ <ows:PostalCode/>
+ <!--WARNING: Optional metadata "ows_postcode" was missing for ows:PostalCode-->
+ <ows:Country/>
+ <!--WARNING: Optional metadata "ows_country" was missing for ows:Country-->
+ <ows:ElectronicMailAddress/>
+ <!--WARNING: Optional metadata "ows_contactelectronicmailaddress" was missing for ows:ElectronicMailAddress-->
+ </ows:Address>
+ <ows:OnlineResource xlink:type="simple" xlink:href="http://www.mapserver.org/"/>
+ <ows:HoursOfService/>
+ <!--WARNING: Optional metadata "ows_hoursofservice" was missing for ows:HoursOfService-->
+ <ows:ContactInstructions/>
+ <!--WARNING: Optional metadata "ows_contactinstructions" was missing for ows:ContactInstructions-->
+ </ows:ContactInfo>
+ <ows:Role/>
+ <!--WARNING: Optional metadata "ows_role" was missing for ows:Role-->
+ </ows:ServiceContact>
+ </ows:ServiceProvider>
+ <ows:OperationsMetadata>
+ <ows:Operation name="GetCapabilities">
+ <ows:DCP>
+ <ows:HTTP>
+ <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?">
+ <ows:Constraint name="PostEncoding">
+ <ows:AllowedValues>
+ <ows:Value>XML</ows:Value>
+ </ows:AllowedValues>
+ </ows:Constraint>
+ </ows:Post>
+ </ows:HTTP>
+ </ows:DCP>
+ </ows:Operation>
+ <ows:Operation name="DescribeCoverage">
+ <ows:DCP>
+ <ows:HTTP>
+ <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?">
+ <ows:Constraint name="PostEncoding">
+ <ows:AllowedValues>
+ <ows:Value>XML</ows:Value>
+ </ows:AllowedValues>
+ </ows:Constraint>
+ </ows:Post>
+ </ows:HTTP>
+ </ows:DCP>
+ </ows:Operation>
+ <ows:Operation name="GetCoverage">
+ <ows:DCP>
+ <ows:HTTP>
+ <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?"/>
+ <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wcs_simple?">
+ <ows:Constraint name="PostEncoding">
+ <ows:AllowedValues>
+ <ows:Value>XML</ows:Value>
+ </ows:AllowedValues>
+ </ows:Constraint>
+ </ows:Post>
+ </ows:HTTP>
+ </ows:DCP>
+ </ows:Operation>
+ </ows:OperationsMetadata>
+ <wcs:ServiceMetadata/>
+ <wcs:Contents>
+ <!--WARNING: No WCS layers are enabled. Check wcs/ows_enable_request settings.-->
+ </wcs:Contents>
+</wcs:Capabilities>
Copied: trunk/msautotest/wxs/ows_empty.map (from rev 12933, trunk/msautotest/wxs/wms_empty.map)
===================================================================
--- trunk/msautotest/wxs/ows_empty.map (rev 0)
+++ trunk/msautotest/wxs/ows_empty.map 2011-12-30 11:26:10 UTC (rev 12935)
@@ -0,0 +1,34 @@
+#
+# Test empty OWS
+#
+# REQUIRES: OUTPUT=PNG SUPPORTS=WMS SUPPORTS=WCS SUPPORTS=WFS
+#
+# Capabilities (return no/empty layers/contents element)
+#
+# Test empty WMS
+#
+# RUN_PARMS: wms_empty_cap_latestversion.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
+# RUN_PARMS: wms_empty_cap130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
+# RUN_PARMS: wms_empty_cap111.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
+# RUN_PARMS: wms_empty_cap100.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.0.0&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
+#
+# Test empty WCS
+#
+# RUN_PARMS: wcs_empty_cap_latestversion.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
+# RUN_PARMS: wcs_empty_cap100.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
+# RUN_PARMS: wcs_empty_cap110.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
+# RUN_PARMS: wcs_empty_cap200.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=2.0.0&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
+#
+MAP
+ WEB
+ METADATA
+ "wms_title" "Test simple wms"
+ "wms_onlineresource" "http://localhost/path/to/wms_empty?"
+ "wcs_title" "Test simple wcs"
+ "wcs_onlineresource" "http://localhost/path/to/wcs_empty?"
+ "ows_service_onlineresource" "http://www.mapserver.org/"
+ "wcs_label" "WCS label"
+ "ows_enable_request" "*"
+ END
+ END
+END # Map File
Deleted: trunk/msautotest/wxs/wms_empty.map
===================================================================
--- trunk/msautotest/wxs/wms_empty.map 2011-12-30 11:18:31 UTC (rev 12934)
+++ trunk/msautotest/wxs/wms_empty.map 2011-12-30 11:26:10 UTC (rev 12935)
@@ -1,22 +0,0 @@
-#
-# Test empty WMS
-#
-# REQUIRES: OUTPUT=PNG SUPPORTS=WMS
-#
-# Capabilities (return no/empty layers element)
-#
-# RUN_PARMS: wms_empty_cap_latestversion.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
-# RUN_PARMS: wms_empty_cap130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
-# RUN_PARMS: wms_empty_cap111.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
-# RUN_PARMS: wms_empty_cap100.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.0.0&REQUEST=GetCapabilities" > [RESULT_DEMIME] [RESULT_DEVERSION]
-#
-MAP
- WEB
- METADATA
- "wms_title" "Test simple wms"
- "wms_onlineresource" "http://localhost/path/to/wms_simple?"
- "ows_service_onlineresource" "http://www.mapserver.org/"
- "ows_enable_request" "*"
- END
- END
-END # Map File
More information about the mapserver-commits
mailing list