<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.qt-msonormal1, li.qt-msonormal1, div.qt-msonormal1
        {mso-style-name:qt-msonormal1;
        margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.Shkpostityyli19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">I first run the test but now I have also read part of the documentation. There may be other errors if the test server is configured properly. For getting a certificate it is mandatory
 to set up a service that contains layers from the shapefiles of the standard dataset
<a href="https://cite.opengeospatial.org/teamengine/about/wms13/1.3.0/site/">https://cite.opengeospatial.org/teamengine/about/wms13/1.3.0/site/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">The first step could be to add a new demo service “WMS CITE service” into
<a href="https://demo.mapserver.org/">https://demo.mapserver.org/</a>. And I think that the CITE mapfile should be maintained somewhere in GitHub
<a href="https://github.com/MapServer/MapServer">https://github.com/MapServer/MapServer</a>. Maybe a copy of CITE vectors could be there as well because it is a very small dataset. Unfortunately there in not any kind of license file included in the zipfile
 that I just downloaded. That way it should be rather easy to run CITE tests also with locally installed Teamengine, maybe even automatically and integrated with CI process. Some public online service is needed anyway for the certificate and demo.mapserver.org
 feels good for that purpose. The one who maintains the service may disagree, though.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">-Jukka-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Lähettäjä:</b> Seth G <sethg@geographika.co.uk> <br>
<b>Lähetetty:</b> keskiviikko 18. lokakuuta 2023 13.23<br>
<b>Vastaanottaja:</b> Rahkonen Jukka <jukka.rahkonen@maanmittauslaitos.fi>; MapServer Devs <mapserver-dev@lists.osgeo.org><br>
<b>Aihe:</b> Re: [MapServer-dev] Testing WMS with Teamengine<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Are they the only 2 issues to meet compliancy for WMS 1.3.0?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The first seems an easy fix - simply changing the error code (I presume the message is ok?).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">No idea for the second though. image/vnd.jpeg-png is supported by GeoServer and MapProxy which I presume work the same way? Seems more like an issue for OGC, but as you write  it may be easiest to remove the format from the test server.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Seth<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="sig62266145">
<div>
<p class="MsoNormal">--<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">web:<a href="https://geographika.net/">https://geographika.net</a> & <a href="https://mapserverstudio.net/">https://mapserverstudio.net</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">twitter: @geographika<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">On Wed, Oct 18, 2023, at 10:08 AM, Rahkonen Jukka via MapServer-dev wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt;overflow-wrap:break-word" id="qt">
<div>
<p class="qt-msonormal1">Hi,<o:p></o:p></p>
<p class="qt-msonormal1"> <o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US">I tested if MapServer could get an OGC WMS 1.3.0 certificate. At least one failure seems relevant. I used
<a href="https://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities">
<span style="color:#0563C1">https://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities</span></a> for testing and this GetFeatureInfo test fails: Assertion: When GetFeatureInfo is requested on a Layer that is not queryable, then
 the server issues a Service Exception (code=LayerNotQueryable).</span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US">Mapserver gives this error instead: msWMSFeatureInfo(): WMS server error. Layer(s) specified in QUERY_LAYERS parameter is not offered by the service instance.</span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US">Test query: <a href="https://demo.mapserver.org/cgi-bin/wms?FoRmAt=image%2Fpng&InFo_fOrMaT=text%2Fhtml&CrS=EPSG%3A4326&I=50&HeIgHt=100&J=50&ReQuEsT=GetFeatureInfo&StYlEs=&QuErY_LaYeRs=bluemarble&VeRsIoN=1.3.0&LaYeRs=bluemarble&BbOx=-90.000000,-180.000000,90.000000,180.000000&WiDtH=100">
<span style="color:#0563C1">https://demo.mapserver.org/cgi-bin/wms?FoRmAt=image%2Fpng&InFo_fOrMaT=text%2Fhtml&CrS=EPSG%3A4326&I=50&HeIgHt=100&J=50&ReQuEsT=GetFeatureInfo&StYlEs=&QuErY_LaYeRs=bluemarble&VeRsIoN=1.3.0&LaYeRs=bluemarble&BbOx=-90.000000,-180.000000,90.000000,180.000000&WiDtH=100</span></a></span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US">Another failure comes from the MIME type test but I do not know how and where to resolve it. The test is “For format “image/vnd.jpeg-png”, when the FORMAT parameter is set to that format, the MIME type of the response
 matches that format”. That will fail because the jpeg-png is sort of a bogus mime type and the result is either jpeg or png. Maybe the format should be disabled from the service that is used for OGC tests. Of course if OGC recognizes image/vnd.jpeg-png then
 the Teamengine could be made to accept jpeg and png.</span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US">I found also some issues in the Teamengine that created odd looking requests which yielded errors from Mapserver. I will contact the Teamengine developers for resolving which part has a bug.</span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US">-Jukka Rahkonen-</span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="qt-msonormal1"><span lang="EN-US"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">MapServer-dev mailing list<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:MapServer-dev@lists.osgeo.org"><span style="color:#0563C1">MapServer-dev@lists.osgeo.org</span></a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-dev"><span style="color:#0563C1">https://lists.osgeo.org/mailman/listinfo/mapserver-dev</span></a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>