<html><div style='background-color:'><DIV class=RTE>Hi all:</DIV>
<DIV class=RTE>I have problems with GetFeatureInfo request. I want the response in XML format and i receive it in text/plain format.</DIV>
<DIV class=RTE>I have added in my .map file the &nbsp; WMS_FEATURE_INFO_MIME_TYPE 'text/xml' parameter so GetCapabilities response is:</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&lt;GetFeatureInfo&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Format&gt;text/plain&lt;/Format&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Format&gt;text/xml&lt;/Format&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Format&gt;application/vnd.ogc.gml&lt;/Format&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DCPType&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;HTTP&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Get&gt;&lt;OnlineResource xmlns:xlink="<A href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</A>" xlink:href="D:/mapserver_aplic/templ.html?"/&gt;&lt;/Get&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Post&gt;&lt;OnlineResource xmlns:xlink="<A href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</A>" xlink:href="D:/mapserver_aplic/templ.html?"/&gt;&lt;/Post&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/HTTP&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DCPType&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/GetFeatureInfo&gt;</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>when I make the GetFeatureInfo request&nbsp;with the option FORMAT=text/xml i get the error</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&lt;?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?&gt;<BR>&lt;!DOCTYPE ServiceExceptionReport SYSTEM "<A href="http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd">http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd</A>"&gt;<BR>&lt;ServiceExceptionReport version="1.1.0"&gt;<BR>&lt;ServiceException code="InvalidFormat"&gt;<BR>msWMSLoadGetMapParams(): Image handling error. Unsupported output format (text/xml).<BR>&lt;/ServiceException&gt;<BR>&lt;/ServiceExceptionReport&gt;<BR></DIV>
<DIV class=RTE>If&nbsp;I don't specify the Format parameter the request is valid in plain text format.</DIV>
<DIV class=RTE>Could someone help me?</DIV>
<DIV class=RTE>Thanks,</DIV>
<DIV class=RTE>aitor</DIV></div><br clear=all><hr>Consigue aquí las mejores y mas recientes ofertas de trabajo en América Latina y USA:  <a href="http://g.msn.com/8HMAES/2743??PS=47575">Haz clic aquí...</a> </html>