This question already has an answer here:
I am trying to figure out a CORS header or cross domain issue but to no avial. We have an OpenLayer application hosted on a Linux server.
However, it calls a WMS service that is hosted on a Windows Server created through ArcGIS Server. The request goes out via an AJAX call but never comes back.
The outgoing request looks like this:
I have verified this is something to do with a CORS header or cross domain I think because I took the same OpenLayers site and put in on the Windows server and it works. I have tried a couple of thing like putting a crossdomain.xml in a couple of places on the Windows server but had no luck. Any help would be greatly appreciated.