[CITE-Forum] Problem with WMS 1.1.1 validation

Cyril THEVENET cthevenet at business-geografic.com
Mon Jul 31 10:44:07 EDT 2017


Hello,

I'm trying to pass the validation test for my WMS service (version 1.1.1)
I've already fixed lots of problems, but I cannot pass the "wms:wmsops-getmap-each-srs" test and I don't understand why.

I sadly cannot provide any url of my service for now as it's a development version (not yet released), but see below for most output.

Any idea?

Thanks,
Cyril

PS: Not sure if this is related to my problem but my server gets the following request (when running the complete test session), which returns a valid XML error "ServiceExceptionReport" with code "InvalidSRS".
http://localhost/aas/v1/wms/94c16bb2-7393-11e7-9454-79f6e71890d3/?FoRmAt=image%2Fjpeg&VeRsIoN=1.1.1&LaYeRs=3e24f4f6-7395-11e7-9454-79f6e71890d3&SrS=NONE&BbOx=0%2C-0.0020%2C0.0040%2C0&HeIgHt=100&published=true&ReQuEsT=GetMap&WiDtH=100&StYlEs=&body=


Test result:
###################################################
Test wms:wmsops-getmap-each-srs type Mandatory default result Passed (s0003/d1e2113_1)

Assertion: For each SRS in the capabilities document, when a GetMap request uses the SRS, then the response is valid.

A sequence of more than one item is not allowed as the first argument of string() (<Name/>, <Name/>)
Result: Failed
###################################################



Versions:
###################################################
Team Engine 4.10
Specification: WMS 1.1.1 [1.15]
###################################################



GetCapabilities:
###################################################
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/capabilities_1_1_1.dtd"><http://schemas.opengis.net/wms/1.1.1/capabilities_1_1_1.dtd>;
<WMT_MS_Capabilities version="1.1.1">
    <Service>
        <Name>OGC:WMS</Name>
        <Title>Test OGC WMS</Title>
        <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1"/>
        <ContactInformation/>
    </Service>
    <Capability>
        <Request>
            <GetCapabilities>
                <Format>application/vnd.ogc.wms_xml</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1/wms/94c16bb2-7393-11e7-9454-79f6e71890d3/?"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetCapabilities>
            <GetMap>
                <Format>image/jpeg</Format>
                <Format>image/png</Format>
                <Format>image/svg+xml</Format>
                <Format>application/pdf</Format>
                <Format>image/bmp</Format>
                <Format>image/gif</Format>
                <Format>image/png; mode=24bit</Format>
                <Format>image/png; mode=8bit</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1/wms/94c16bb2-7393-11e7-9454-79f6e71890d3/?"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetMap>
            <GetFeatureInfo>
                <Format>text/plain</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1/wms/94c16bb2-7393-11e7-9454-79f6e71890d3/?"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetFeatureInfo>
            <GetLegendGraphic>
                <Format>image/jpeg</Format>
                <Format>image/png</Format>
                <Format>image/svg+xml</Format>
                <Format>application/pdf</Format>
                <Format>image/bmp</Format>
                <Format>image/gif</Format>
                <Format>image/png; mode=24bit</Format>
                <Format>image/png; mode=8bit</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1/wms/94c16bb2-7393-11e7-9454-79f6e71890d3/?"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetLegendGraphic>
        </Request>
        <Exception>
            <Format>application/vnd.ogc.se_xml</Format>
        </Exception>
        <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0"/>
        <Layer queryable="1">
            <Name>global</Name>
            <Title>Conformance Test Layers</Title>
            <SRS>EPSG:4326</SRS>
            <LatLonBoundingBox minx="-2.0" miny="-1.0" maxx="2.0" maxy="6.0"/>
            <BoundingBox SRS="EPSG:4326" minx="-2.0" miny="-1.0" maxx="2.0" maxy="6.0"/>
            <Layer queryable="1">
                <Name>db87117c-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Ponds</Title>
                <LatLonBoundingBox minx="-0.002" miny="0.0016" maxx="-0.0014" maxy="0.002"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.002" miny="0.0016" maxx="-0.0014" maxy="0.002"/>
            </Layer>
            <Layer queryable="1">
                <Name>c0df7d7e-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Buildings</Title>
                <LatLonBoundingBox minx="8.0E-4" miny="5.0E-4" maxx="0.0024" maxy="0.001"/>
                <BoundingBox SRS="EPSG:4326" minx="8.0E-4" miny="5.0E-4" maxx="0.0024" maxy="0.001"/>
            </Layer>
            <Layer queryable="1">
                <Name>2acee4de-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Bridges</Title>
                <LatLonBoundingBox minx="1.99E-4" miny="6.99E-4" maxx="2.01E-4" maxy="7.01E-4"/>
                <BoundingBox SRS="EPSG:4326" minx="1.99E-4" miny="6.99E-4" maxx="2.01E-4" maxy="7.01E-4"/>
            </Layer>
            <Layer queryable="1">
                <Name>c02411c1-7395-11e7-9454-79f6e71890d3</Name>
                <Title>cite:DividedRoutes</Title>
                <LatLonBoundingBox minx="-0.0032" miny="-0.0024" maxx="-0.0026" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.0032" miny="-0.0024" maxx="-0.0026" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>7e7bbff4-7395-11e7-9454-79f6e71890d3</Name>
                <Title>cite:RoadSegments</Title>
                <LatLonBoundingBox minx="-0.0042" miny="-0.0024" maxx="0.0042" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.0042" miny="-0.0024" maxx="0.0042" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>fc053dcf-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:NamedPlaces</Title>
                <LatLonBoundingBox minx="0.0014" miny="-0.0011" maxx="0.0042" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="0.0014" miny="-0.0011" maxx="0.0042" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>8ab81deb-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Streams</Title>
                <LatLonBoundingBox minx="-4.0E-4" miny="-0.0024" maxx="0.0036" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="-4.0E-4" miny="-0.0024" maxx="0.0036" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>3e24f4f6-7395-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Lakes</Title>
                <LatLonBoundingBox minx="6.0E-4" miny="-0.0018" maxx="0.0031" maxy="-1.0E-4"/>
                <BoundingBox SRS="EPSG:4326" minx="6.0E-4" miny="-0.0018" maxx="0.0031" maxy="-1.0E-4"/>
            </Layer>
            <Layer queryable="1">
                <Name>e351ce99-7395-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Forests</Title>
                <LatLonBoundingBox minx="-0.0014" miny="-0.0024" maxx="0.0042" maxy="0.0018"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.0014" miny="-0.0024" maxx="0.0042" maxy="0.0018"/>
            </Layer>
            <Layer queryable="1">
                <Name>34f162b4-7397-11e7-9454-79f6e71890d3</Name>
                <Title>cite:MapNeatline</Title>
                <LatLonBoundingBox minx="-0.0042" miny="-0.0024" maxx="0.0042" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.0042" miny="-0.0024" maxx="0.0042" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>8092b545-739c-11e7-9454-79f6e71890d3</Name>
                <Title>cite:BasicPolygons</Title>
                <LatLonBoundingBox minx="-2.0" miny="-1.0" maxx="2.0" maxy="6.0"/>
                <BoundingBox SRS="EPSG:4326" minx="-2.0" miny="-1.0" maxx="2.0" maxy="6.0"/>
            </Layer>
        </Layer>
    </Capability>
</WMT_MS_Capabilities>
###################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20170731/0d11deeb/attachment-0001.html>


More information about the CITE-Forum mailing list