Hi,

the contents of the crossdomain.xml is as follows:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "
http://www.adobe.com/xml/dtds/cross-domain-policy.dtd";>
<cross-domain-policy>
 <!--This domain can accept the SOAPAction header from a SWF file from
www.example.com -->
<allow-http-request-headers-from domain="* <http://www.example.com/>"
headers="SOAPAction"/>
</cross-domain-policy>

I am not sure if this is correct.I have tried giving the IP address of the
server instead of  ' *' .
I have deployed this file under the webapps\ROOT folder of Apache Tomcat



On 9/22/09, rishi narang <[email protected]> wrote:
>
> can you send the crossdomain.xml file that u r using? and location of the
> same in webserver..
>
> On Tue, Sep 22, 2009 at 10:08 AM, Shyam <[email protected]>wrote:
>
>>
>> Hi All,
>>        I have deployed my flex swf in a tomcat server.I tried accesing the
>> application in a remote client and i got the following message:
>>
>> Channel.Security.Error error Error #2048 url: 'http://localhost:8080/
>> blazeds/messagebroker/amf<http://localhost:8080/%0Ablazeds/messagebroker/amf>
>> '
>>
>> The application runs locally in the server where i have deployed the
>> swf of my application.
>>
>> I did some search on the net and came across the following link :
>>
>>
>> http://talsma.tv/post.cfm/flash-9-0-124-and-webservice-over-https-channel-security-error
>>
>> which says that there is an an issue  with Flash version 9.0.124 and
>> this is the version i am using.I have deployed the crossdomain .xml
>> file in my tomcat web server as suggested, but i
>> am still facing the issue.
>>
>> I also read the documentation at
>>
>> http://labs.adobe.com/wiki/index.php/Flex:Accessing_Data
>>
>> which says:
>> When you need to access data from a Flex application, you have three
>> choices:
>>
>> 1.Add a crossdomain.xml file to the server with the data.
>> 2.Upload your SWF file to the same server as the data service.
>> 3.Create a proxy on your server that calls the data service, and put
>> your SWF file on the same server as the proxy.
>>
>> I have tried both 1 and 2 but the issue persists.
>>
>> I also came across a discussion on Flex india community regarding this
>> issue.
>>
>>
>> http://groups.google.com/group/flex_india/browse_thread/thread/3d85dc52ae1f10c0
>>
>> Can somebody who has faced this issue and solved it please guide me?
>> Do i have to change the version of my flash player?
>>
>> Expecting your suggestions.
>>
>> Thanks and Regards
>>
>> Shyam
>>
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to