<html 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=utf-8">
<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;}
@font-face
        {font-family:"Lucida Grande";
        panose-1:2 11 6 0 4 5 2 2 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        margin:0in;
        margin-bottom:.0001pt;
        background:white;
        font-size:8.5pt;
        font-family:Menlo;
        color:black;}
p.p2, li.p2, div.p2
        {mso-style-name:p2;
        margin:0in;
        margin-bottom:.0001pt;
        background:white;
        font-size:8.5pt;
        font-family:Menlo;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.s1
        {mso-style-name:s1;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle23
        {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:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Steve,<o:p></o:p></p>
<p class="MsoNormal">   For some reason I’m not getting responses through the mailing list… but I did see your responses in the archive…
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">   Digging into this further, it looks like our WMS wrapper is setting “VERSION=” when it invokes mapsever… which is an easy fix.  However, I was also able to reproduce this through direct mapserv command line access.  But that gives me
 a different error and perhaps the default version feature isn’t supported in this use case.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">$> mapserv -nh "QUERY_STRING=LAYERS=MODIS_Fires_All&width=256&height=256&BBOX=-180,-90,180,90&SERVICE=WMS&REQUEST=GetMap&map=/home/user/wms_test/cfg/
 4326.map&TIME=2018144&PRODUCTYEAR=2018&PRODUCTMONTH=05&PRODUCTDAY=24&transparent=trueSRS=EPSG:4326&format=image/png"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black"><ServiceException><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black">  msWMSDispatch(): WMS server error. Incomplete WMS request: VERSION parameter missing<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-size:8.5pt;font-family:Menlo;color:black"></ServiceException><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Matt<span style="font-size:11.0pt"><o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">.................................................................<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Lucida Grande",sans-serif;color:black">Matthew Cechini</span><span style="font-size:10.5pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black">Contractor, Science Systems and Applications, Inc.</span><span style="font-size:10.5pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black">NASA GIBS Systems/Software Engineer</span><span style="font-size:10.5pt;color:black"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black">410.205.6272</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">mapserver-users <mapserver-users-bounces@lists.osgeo.org> on behalf of Matthew Cechini <matthew.f.cechini@nasa.gov><br>
<b>Date: </b>Wednesday, May 16, 2018 at 5:29 PM<br>
<b>To: </b>mapserver-users <mapserver-users@lists.osgeo.org><br>
<b>Subject: </b>[non-nasa source] [mapserver-users] Default GetCapabilities Version Not Working<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt">All,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">   We are running MapServer version 7.0.1 and attempting to use the MAP > WEB > METADATA > wms_getcapabilities_version configuration value to support GetCapabilities requests that do not supply the VERSION
 parameter.  Unfortunately, even if we do add this value to our mapserver configuration file, we continue to see the following service exception.  Any suggestions?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><span style="font-size:10.0pt;font-family:"Courier New";color:black">msOWSParseVersionString(): OWS error. Invalid version (). Version must be in the format 'x.y' or 'x.y.z'</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">   Here is our METADATA block:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">  </span>
<span class="s1">WEB</span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">    </span>
<span class="s1">METADATA</span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">      </span>
<span class="s1">"wms_enable_request" </span><span class="apple-converted-space">   
</span><span class="s1">"GetMap GetCapabilities"</span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">      </span>
<span class="s1">"wms_title"</span><span class="apple-converted-space">             
</span><span class="s1">"Some Text"</span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">      </span>
<span class="s1">"wms_abstract"</span><span class="apple-converted-space">           </span><span class="s1">"Some Text"</span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">      </span>
<span class="s1">"wms_onlineresource" </span><span class="apple-converted-space">   
</span><span class="s1">"https://our_url?"</span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">      </span>
<span class="s1">"wms_srs"</span><span class="apple-converted-space">               
</span><span class="s1">"epsg:4326"</span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">      </span>
<span class="s1">"wms_getcapabilities_version"</span><span class="apple-converted-space"> 
</span><span class="s1">"1.3.0"</span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">      </span>
<span class="s1">"wms_connectiontimeout"</span><span class="apple-converted-space"> 
</span><span class="s1">"180"</span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">     </span>
<span class="s1">END                  </span><o:p></o:p></p>
<p class="p1" style="margin-left:.5in"><span class="apple-converted-space">  </span><span class="s1">END</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Matt</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">.................................................................</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Lucida Grande",sans-serif;color:black">Matthew Cechini</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black">Contractor, Science Systems and Applications, Inc.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black">NASA GIBS Systems/Software Engineer</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black">410.205.6272</span><o:p></o:p></p>
</div>
</body>
</html>