 <?xml-stylesheet type="text/css" href="https://www.esdm.co.uk/Data/style/rss1.css" ?> <?xml-stylesheet type="text/xsl" href="https://www.esdm.co.uk/Data/style/rss1.xsl" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
  <channel>
    <title>The knowledge base blog</title>
    <link>https://www.esdm.co.uk/knowledge</link>
    <description />
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>mojoPortal Blog Module</generator>
    <language>en-GB</language>
    <ttl>120</ttl>
    <atom:link href="https://www.esdm.co.uk/Blog/RSS.aspx?p=138~108~56" rel="self" type="application/rss+xml" />
    <itunes:owner />
    <itunes:explicit>no</itunes:explicit>
    <item>
      <title>Inspecting web service requests from Quantum GIS with Fiddler</title>
      <description><![CDATA[<p>When connecting to any mapping web service, such as a WMS of WFS, just occasionally things don’t work first time (or is that just me…?).&nbsp; When this happens it is useful to be able to inspect the HTTP requests/responses for clues.</p> <p>Our HTTP inspection tool of choice is of course <a href="http://www.fiddler2.com" target="_blank">Fiddler</a>, however if you open this while using QGIS to connect to a web service, you see… nothing. So you need to tell QGIS to pass requests through a proxy, using Host = localhost and Port 8888 as shown below:</p> <p>QGIS menu Settings &gt; Options &gt; Network:</p> <p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="QGIS proxy options" border="0" alt="QGIS proxy options" src="https://www.esdm.co.uk/Data/Sites/1/media/wlw/image_7.png" width="644" height="416"></p> <p>Requests now start appearing in Fiddler.</p> <p>However, there’s a small gotcha… once set into this mode, requests fail entirely if Fiddler is not running.&nbsp; A WMS will simply fail to draw, and connecting to a WMS server gives this error:</p> <blockquote> <p>Could not understand the response. The wms provider said:  <p>Download of capabilities failed: Connection refused</p></blockquote> <p>This cost me half an hour this morning, having forgotten that I had set QGIS into this mode a few days ago, grrr.&nbsp; Here we are after I’d remembered the solution, showing a WMS of archaeological sites recorded by the National Trust, in Snowdonia, Wales.</p> <p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Archaeological sites in Snowdonia, Wales" border="0" alt="Archaeological sites in Snowdonia, Wales" src="https://www.esdm.co.uk/Data/Sites/1/media/wlw/image_9.png" width="496" height="484"></p><br /><a href='https://www.esdm.co.uk/inspecting-web-service-requests-from-quantum-gis-with-fiddler'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/inspecting-web-service-requests-from-quantum-gis-with-fiddler'>...</a>]]></description>
      <link>https://www.esdm.co.uk/inspecting-web-service-requests-from-quantum-gis-with-fiddler</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/inspecting-web-service-requests-from-quantum-gis-with-fiddler</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/inspecting-web-service-requests-from-quantum-gis-with-fiddler</guid>
      <pubDate>Mon, 04 Jun 2012 07:33:04 GMT</pubDate>
    </item>
  </channel>
</rss>