try setting the to-ports attribute.

<?xml version="1.0"?> 
<!DOCTYPE cross-domain-policy SYSTEM " 
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";> 
<cross-domain-policy> 
<allow-access-from domain="*" to-ports="80"/> 
<allow-http-request-headers-from domain="*" headers="*"/> 
</cross-domain-policy>

thanks
vin




--- In [email protected], "akila_ksri" <akila_k...@...> wrote:
>
> Hi,
> 
> My flex application is hosted on a public-ip machine and it is accessing the 
> webservice hosted on a Jboss server on another public-ip machine. The 
> crossdomain.xml file is placed at the root of the server and looks as shown 
> below
> 
>   <?xml version="1.0" ?> 
>   <!DOCTYPE cross-domain-policy (View Source for full doctype...)> 
>  <cross-domain-policy>
>   <site-control permitted-cross-domain-policies="master-only" /> 
>   <allow-access-from domain="*" secure="true" /> 
>   <allow-http-request-headers-from domain="*" headers="*" secure="true" /> 
>   </cross-domain-policy>
> 
> I am able to access and load the swf file in the same domain. But when I 
> access the swf from a different domain, I am getting 'Security Error' and the 
> webservice call fails inspite of having the crossdomain file on the server.
> 
> Any pointers in this regard would be greatly appreciated. I am stuck with 
> problem from past 1 week and need to get this working at the earliest.
> 
> Thanks in advance,
> Akila
>


Reply via email to