2 Replies Latest reply: Apr 23, 2012 9:30 AM by Bo_Salz RSS

    HTTPService and crossdomain.xml doesn't work as expected

    Bo_Salz

      My charting application gets its data through HTTPService over the internet:

       

      <HTTPService id="srv" url="http:myserver1.com/tools/xml/data.aspx?name=bob"/>

       

      and it works fine when I launch the application from my the  bin-release folder of my development environment (Flash Builder 4.6) or from the location http:myserver1.com/xml.

       

      But when I launch it from http:myserver2.com/charts, which is on the same windows domain as myserver2.com, the chart is empty (it gets no data) although a have this test version of CrossDomain.xml in the root dir of myserver1.com/tools:

      <?xml version="1.0" ?> <cross-domain-policy> <allow-access-from domain="*" /> </cross-domain-policy>

       

      I have also, as suggested by Gregory Lafrance on Sep 5, 2010, set the --use-network=true compiler option although it is true as default.

       

      What do I miss? Your advice will be received with gratitude.