Skip navigation
Bo_Salz
Currently Being Moderated

HTTPService and crossdomain.xml doesn't work as expected

Apr 22, 2012 10:49 AM

Tags: #httpservice #crossdomain #use-network

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.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points