title: Flex through Flash Builder 4; Connecting to a dynamic XML feed: "The response is not a valid XML or a JSON string"
body: <p>I am learning how to use Flex with Adobe Flash Builder 4 standalone. I am working my through the Adobe Flash Build 4 Bible by David Gassner. This has led me to create my own micro problems to try and solve.</p>
  
  <p>I am trying to connect to a dynamix XML feed created by the following aspx page:
  generate_xml.aspx</p>
  
  <p>When I create the data connection through the Data/Service panel, I can pick between XML and HTTP. I figured because the generate_xml.aspx has to generate the XML file first, I should use the HTTP service as opposed to the XML. The HTTP service offers GET, which seems to be the kinda thing I want.</p>
  
  <p>However, I am really struggling to do this. I keep getting:</p>
  
  <p>"The response is not a valid XML or a JSON string"</p>
  
  <p>The actual STATIC generated XML file that is created by this page works perfectly when I save it and manually connect with the XML service. Therefore I know my XML code is properly formatted and contains no other HTML of JavaScript.</p>
  
  <p>I figure my problem occurs because the page itself is .aspx, but I cannot work out how to successfully ask Flex to request the output of this page, rather than the page itself.</p>