I'm having a similar issue with loading a policy file. My problem is that everything works in Firefox 3, but I'm getting a security sandbox error due to the fact that I cannot load the policy file in IE7. I was unable to get the web services to connect using the mxml tags, so I went ahead and built them using actionscript. I'm guessing you're having a problem because the web services are initiated through the mxml and then you're trying to load the policy file in an init function after the application is completed.
Try this in your init function to create your web services in actionscript:
var ws:WebService = new WebService();
ws.loadWSDL( "wsdl path" );
var op:Operation = ws.getOperation("methodName") as Operation;
op.resultFormat = "xml" or "e4x";
op.addEventListener( ResultEvent.RESULT, resultHandler );
op.addEventListener( FaultEvent.FAULT, faultHandler );
I'm loading a secure web service from an unsecure domain, so I need to add in an encoded header to the webservice.
Hope this fixes your problem and let me know if you know how to load a policy file in IE7.
based on crossdomain.xml specification FlashPlayer will be looking for main crossdomain.xml file in the root of the domain so, error message is correct,
FP can not possible know architecture of your service etc ... so it will just take url append crossdomain.xml to it and try to load it.
(I am not sure if you can change the location of Main crossdomain.xml file) I beleive it can only exist under root, but others you can place it anywhere you like
(if you have more than one).
simple test is following if
is accessible through browser , than your problem is solved.