Select to view content in your preferred language

crossdomain.xml

2617
4
09-27-2011 03:02 AM
FaizanTayyab
Deactivated User
Hi,

I am having some problem accessing an exteranl rss feed in the georssfeed widgets. On my production machine, it works fine, however when i generate the release version and place on the server the georss widget complains about security error. I have a cross domain.xml in the root of the web server, however i am still having issues.

Any suggestions.
Tags (2)
0 Kudos
4 Replies
BjornSvensson
Esri Regular Contributor
problem accessing an exteranl rss feed... . I have a cross domain.xml in the root of the web server, however i am still having issues.


The crossdomain.xml file needs to be on the server with the external RSS feed. Is that where you put it, or did you put it on the server that has your swf file?
0 Kudos
AndrewHargreaves
Deactivated User
The crossdomain.xml file needs to be on the server with the external RSS feed. Is that where you put it, or did you put it on the server that has your swf file?


I'm having an issue whereby I can't configure a Flex Template app to bring in feeds from a clients ArcGIS Server, as well as those hosted on my own ArcGIS Server. I have a crossdomain.xml file in the wwwroot of my IIS server, plus one in the root folder of the my application - just for the hell of it. However, are you saying that my client needs a CrossDomain.xml also - to allow my app to access his services?

thanks
0 Kudos
BjornSvensson
Esri Regular Contributor
I have a crossdomain.xml file in the wwwroot of my IIS server, plus one in the root folder of the my application - just for the hell of it. However, are you saying that my client needs a CrossDomain.xml also - to allow my app to access his services?


There is actually no need for a crossdomain on the machine where your application is (neither the root, nor the folder). The "cross" is from the application's point of view.   The crossdomain issues comes in to effect when that application tries to access the content on other server, like someone elses ArcGIS Server. In that case the crossdomain.xml needs to be on their server, e.g. http://machinewithgreatcontent/crossdomain.xml

The diagram on http://help.arcgis.com/en/webapi/flex/help/index.html#/Deploying_an_application/017p00000019000000/ might help clarify this.

Another useful page on the Flex API resource center is http://help.arcgis.com/en/webapi/flex/help/index.html#/Using_crossdomain_xml/017p0000001w000000/
0 Kudos
philippschnetzer
Frequent Contributor
Can the need for a crossdomain file be circumvented by using a proxy server?  I am accessing a georss feed which works well in flash builder but when the project goes live on the server the feed does not appear.  I know this is because the server which hosts the georss does not have the crossdomain file - and are not about to place one on their machine.  So, could a proxy server be used instead of a crossdomain.xml??  Thanks!
0 Kudos