Hi;

 

Can someone give some insight or help with some cross domain issues. I'm
trying to run a Flex app that is running in my development system, the Flex
app tries to call a Java class in another server. So far not successfully.

 

I have tried using Apache on the remote server listening on port 843 to
serve the crossdoamin.xml file:

 

<?xml version="1.0"?>

<!DOCTYPE cross-domain-policy SYSTEM
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd";>

<cross-domain-policy>

                <site-control permitted-cross-domain-policies='all'/>

               <allow-access-from domain='*' to-ports='*' secure='false'/>

                <allow-http-request-headers-from domain='*' headers='*'
secure='false' />

</cross-domain-policy>

 

I have also tried using the Flash Socket Policy Server "socketpolicy.pl"
also on the remote server and also unsuccessfully.

 

when I run my Flex app this is the message I get:

Warning: Failed to load policy file from
https://192.168.3.41:8443/crossdomain.xml

 

*** Security Sandbox Violation ***

Connection to https://192.168.3.41:8443/blazeds/messagebroker/my-secure-amf
halted - not permitted from
http://192.168.3.11/applications/CruzControlUrBusiness/CruzControlUrBusiness
.swf

Error: Request for resource at
https://192.168.3.41:8443/blazeds/messagebroker/my-secure-amf by requestor
from
http://192.168.3.11/applications/CruzControlUrBusiness/CruzControlUrBusiness
.swf/[[DYNAMIC]]/4 is denied due to lack of policy file permissions.

 

 

Eventually the app will be called from a public IP, but the Java server will
be the same.

 

 

Thanks for any help!!!

 

 

Reply via email to