<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 WMS_FEATURE_INFO_MIME_TYPE 'text/xml' parameter so GetCapabilities response is:</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE><GetFeatureInfo><BR> <Format>text/plain</Format><BR> <Format>text/xml</Format><BR> <Format>application/vnd.ogc.gml</Format><BR> <DCPType><BR> <HTTP><BR> <Get><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?"/></Get><BR> <Post><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?"/></Post><BR> </HTTP><BR> </DCPType><BR> </GetFeatureInfo></DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>when I make the GetFeatureInfo request with the option FORMAT=text/xml i get the error</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE><?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?><BR><!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>"><BR><ServiceExceptionReport version="1.1.0"><BR><ServiceException code="InvalidFormat"><BR>msWMSLoadGetMapParams(): Image handling error. Unsupported output format (text/xml).<BR></ServiceException><BR></ServiceExceptionReport><BR></DIV>
<DIV class=RTE>If 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>