<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>Hi Piero</DIV>
<DIV>&nbsp;</DIV>
<DIV>The returned data will be in the response.responseText.</DIV>
<DIV>&nbsp;</DIV>
<DIV>You need to parse this text with Javascript to get your values.</DIV>
<DIV>&nbsp;</DIV>
<DIV>eg.</DIV>
<DIV>&nbsp;</DIV>
<DIV>var postcode = "<A href="http://ws-esrimt/arcgis/services/mapservice/MapServer/WMSServer?service=WMS&amp;version=1.1.1&amp;request=GetFeatureInfo&amp;QUERY_LAYERS=5&amp;INFO_FORMAT=text/plain&amp;SRS=EPSG:2193&amp;BBOX">http://ws-esrimt/arcgis/services/mapservice/MapServer/WMSServer?service=WMS&amp;version=1.1.1&amp;request=GetFeatureInfo&amp;QUERY_LAYERS=5&amp;INFO_FORMAT=text/plain&amp;SRS=EPSG:2193&amp;BBOX</A>=" + bbox1 + "," + bbox2 + "," + bbox3 + "," + bbox4 + "&amp;WIDTH=20&amp;HEIGHT=20&amp;X=10&amp;Y=10";</DIV>
<DIV>OpenLayers.loadURL(postcode, '', this, setHTML);</DIV>
<DIV>&nbsp;</DIV>
<DIV>function setHTML(response) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alert(response.responseText);</DIV>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Robert S<BR><BR>&gt;&gt;&gt; Piero Campa &lt;piero.campa@gmail.com&gt; 16/03/2010 5:08 a.m. &gt;&gt;&gt;<BR><BR>Hi, <BR>I insert myself in the topic for a little question: I can't understand how<BR>to read the content of the HTTP response which contains the WMS feature<BR>info. <BR><BR>Is it a field in the variable controlInfo or whatelse?<BR>Thank you guys. =)<BR>Piero<BR>-- <BR>View this message in context: <A href="http://n2.nabble.com/Format">http://n2.nabble.com/Format</A>-WMSGetFeatureInfo-response-tp3196230p4737939.html<BR>Sent from the OpenLayers Users mailing list archive at Nabble.com.<BR>_______________________________________________<BR>Users mailing list<BR>Users@openlayers.org<BR><A href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR><BR></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The&nbsp;contents&nbsp;of&nbsp;this&nbsp;email&nbsp;are&nbsp;confidential&nbsp;to&nbsp;AsureQuality.&nbsp;If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;and&nbsp;delete&nbsp;the&nbsp;message&nbsp;and&nbsp;any&nbsp;attachments.&nbsp;The&nbsp;opinions&nbsp;expressed&nbsp;in&nbsp;this&nbsp;email&nbsp;are&nbsp;not&nbsp;necessarily&nbsp;those&nbsp;of&nbsp;AsureQuality.&nbsp;This&nbsp;message&nbsp;has&nbsp;been&nbsp;scanned&nbsp;for&nbsp;known&nbsp;viruses&nbsp;before&nbsp;delivery.&nbsp;AsureQuality&nbsp;supports&nbsp;the&nbsp;Unsolicited&nbsp;Electronic&nbsp;Messages&nbsp;Act&nbsp;2007.&nbsp;If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;similar&nbsp;communications&nbsp;in&nbsp;future,&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;message.<br>
------------------------------------------------------------------</td></tr></table><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc.  </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>