title: Why does owssvr.dll return an empty result for my list?
body: <p>I am trying to use <a href="http://msdn.microsoft.com/en-us/library/ms478653.aspx" rel="nofollow">owssvr.dll and its URL API</a> in SharePoint 2007 to get some list metadata.  For most of the lists in my site of interest, I can use a url formatted like so:</p>
  
  <pre><code>http://hts-app1/compounds/_vti_bin/owssvr.dll?XMLDATA=1&amp;List={F987723C-28A4-47D3-83D7-19094B0267DF}
  </code></pre>
  
  <p>I get back an xml-based list of field metadata for the default view and a list of records in the list.  But when I try to use another guid for a separate list, I get an empty response from the web server.  It's a 200 response code, but the other headers look like:</p>
  
  <pre><code>Connection:close
  Date:Thu, 24 Mar 2011 17:38:46 GMT
  MicrosoftSharePointTeamServices:12.0.0.4518
  Server:Microsoft-IIS/6.0
  X-Powered-By:ASP.NET
  </code></pre>
  
  <p>I am pretty sure the list guid is valid, since I can match it with the guid for the list I can see in the listedit.aspx page.  If I also format my url like so:</p>
  
  <pre><code>http://hts-app1/compounds/_vti_bin/owssvr.dll?XMLDATA=1&amp;List={F987723C-28A4-47D3-83D7-19094B0267DF}&amp;Query=*
  </code></pre>
  
  <p>with the <code>Query=*</code> parameter, I can get valid xml, but it's just showing everything, and not filtered for my view, and I'd really like to have the view.</p>
  
  <p>I looked in the SharePoint log file, and I couldn't find anything that looked related to this request.</p>
  
  <p>So, how can I debug this?  I'd really like to use a simple http GET request to get back this metadata, and owssvr.dll seemed the ideal mechanism.</p>