Hi David!<br><br>The url is :<br><br><a href="http://localhost/cgi-bin/mapserv.exe?map=map.map&amp;&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetFeatureInfo&amp;LAYERS=Test1,Test2&amp;QUERY_LAYERS=Test1,Test2&amp;STYLES=,&amp;BBOX=-65.806807%2C-16.885911%2C-38.978193%2C-11.238939&amp;FEATURE_COUNT=10&amp;HEIGHT=257&amp;WIDTH=1221&amp;FORMAT=image%2Fpng&amp;INFO_FORMAT=text%2Fhtml&amp;SRS=EPSG%3A4326&amp;X=366&amp;Y=217">http://localhost/cgi-bin/mapserv.exe?map=map.map&amp;&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetFeatureInfo&amp;LAYERS=Test1,Test2&amp;QUERY_LAYERS=Test1,Test2&amp;STYLES=,&amp;BBOX=-65.806807%2C-16.885911%2C-38.978193%2C-11.238939&amp;FEATURE_COUNT=10&amp;HEIGHT=257&amp;WIDTH=1221&amp;FORMAT=image%2Fpng&amp;INFO_FORMAT=text%2Fhtml&amp;SRS=EPSG%3A4326&amp;X=366&amp;Y=217</a><br>
<br>Executing that URL direct in browser generate that:<br><br>Content-type: application/vnd.ogc.se_xml



<br><br>Thanks<br><br>Stella<br><br><div class="gmail_quote">2010/1/26 Fawcett, David (MPCA) <span dir="ltr">&lt;<a href="mailto:David.Fawcett@state.mn.us">David.Fawcett@state.mn.us</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Stella, </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">What does the getFeatureInfo call look like?  </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Use Firebug to find the URL used to make the request and post it
here.’</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">David.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>stela
anders<br>
<b>Sent:</b> Tuesday, January 26, 2010 1:33 PM<br>
<b>To:</b> MapserverList OSGEO<br>
<b>Subject:</b> [mapserver-users] Re: WMSGetFeatureInfo problem (No results,
using OL)</span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-bottom: 12pt;">Any idea whats happening?<br>
I lost all day trying to fix that, but got nothing :(<br>
<br>
Stella<br>
<br>
</p>

<div>

<p class="MsoNormal">2010/1/25 stela anders &lt;<a href="mailto:stelaanders@gmail.com" target="_blank">stelaanders@gmail.com</a>&gt;</p>

<p class="MsoNormal" style="margin-bottom: 12pt;">Hello guys...<br>
<br>
My mapfile:<br>
<br>
...<br>
  PROJECTION<br>
        &quot;+init=epsg:4326&quot;<br>
    END<br>
<br>
    WEB<br>
        IMAGEPATH &#39;C:\temp\&#39;<br>
        IMAGEURL &#39;/tmp/&#39;<br>
        QUERYFORMAT text/html   
  <br>
        <br>
        METADATA<br>
            &quot;wms_title&quot;    
&quot;WMS Server&quot; <br>
           
&quot;wms_onlineresource&quot; &quot;<a href="http://localhost/cgi-bin/mapserv.exe" target="_blank">http://localhost/cgi-bin/mapserv.exe</a>?&quot; 
<br>
           
&quot;wms_srs&quot;       &quot;EPSG:4326
EPSG:42304 EPSG:42101 EPSG:4269&quot; <br>
            &#39;wms_feature_info_mime_type&#39;
&quot;text/html&quot; <br>
        END<br>
    END<br>
<br>
   QUERYMAP<br>
        COLOR 255 0 0<br>
        SIZE -1 -1<br>
        STATUS OFF<br>
        STYLE hilite<br>
    END<br>
...<br>
<br>
LAYER<br>
...<br>
       METADATA<br>
           
&quot;wms_title&quot;    &quot;Test&quot;   ##required<br>
             &quot;wms_include_items&quot;
&quot;all&quot;<br>
           
 &quot;wms_feature_info_mime_type&quot; &quot;text/html&quot;
             <br>
        END       <br>
        TYPE POINT<br>
        STATUS ON<br>
        INCLUDE &quot;Connection.map&quot; <br>
        DATA &quot;the_geom from viwtest USING
UNIQUE oid USING SRID=0&quot;<br>
        PROJECTION<br>
           
&quot;+init=epsg:4326&quot;<br>
        END<br>
        <br>
        TOLERANCE 5<br>
         HEADER  
&quot;header.html&quot; <br>
        TEMPLATE
&quot;template.html&quot;     <br>
         FOOTER  
&quot;footer.html&quot; <br>
...<br>
<br>
Templates:<br>
Header.html<br>
&lt;!-- MapServer Template --&gt;<br>
&lt;html&gt; <br>
  &lt;head&gt; <br>
    &lt;title&gt;MapServer Template Sample&lt;/title&gt; <br>
  &lt;/head&gt; <br>
<br>
Template.html<br>
&lt;!-- MapServer Template --&gt;<br>
&lt;body&gt; <br>
    &lt;b&gt;OID:&lt;/b&gt; [oid]<br>
  &lt;/body&gt; <br>
<br>
Footer.html<br>
&lt;/html&gt;<br>
<br>
WMSGetFeatureInfo  Javascript (OpenLayer)<br>
<br>
var infoCtl = new OpenLayers.Control.WMSGetFeatureInfo({ <br>
                   
layers: [_test], <br>
                   
title: &#39;Click on the map to get information on layers&#39;, <br>
                   
queryVisible: true, <br>
                   
infoFormat: &#39;text/html&#39; <br>
               
}); <br>
              <br>
               
infoCtl.events.register(&quot;getfeatureinfo&quot;,map,showInfo); <br>
<br>
 function showInfo(evt) {    <br>
           
alert(evt.text);<br>
} <br>
<br>
<br>
I´m getting that :<br>
<br>
&lt;html&gt; <br>
  &lt;head&gt; <br>
    &lt;title&gt;MapServer Template Sample&lt;/title&gt; <br>
  &lt;/head&gt; Content-type: application/vnd.ogc.se_xml<br>
<br>
&lt;?xml version=&#39;1.0&#39; encoding=&quot;ISO-8859-1&quot;
standalone=&quot;no&quot; ?&gt;<br>
&lt;!DOCTYPE ServiceExceptionReport SYSTEM &quot;<a href="http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd" target="_blank">http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd</a>&quot;&gt;<br>
&lt;ServiceExceptionReport version=&quot;1.1.1&quot;&gt;<br>
&lt;ServiceException&gt;<br>
&lt;/ServiceException&gt;<br>
&lt;/ServiceExceptionReport&gt;<br>
<br>
<br>
Any idea whats happening?<br>
<br>
Stella<br>
<br>
</p>

</div>

<p class="MsoNormal"> </p>

</div></div></div>

</div>


</blockquote></div><br>