I want to post some data to java restservice based on the post, service will return data. both(posting and return) in xml e4x format. since flex doesnt have the restservice( WADL ) i used the RestHttpService library http://code.google.com/p/resthttpservice/ in this resthttpservice they are using socket communication.
i am using JBOSS server . flex client and server java code are in seperate .war but in same jboss server installed in my local. i added crossdomain.xml
in the root of the jboss server and this crossdomain.xml is loading in the flex as well.
<allow-access-from domain="*" secure="false" to-ports="999,8080-8082"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="SOAPAction"/>
this error is coming...
Error #2048: Security sandbox violation: http://10.25.236.9:8080/restservice/restservice.swf cannot load data from 10.25.236.9:8080.
i searched in so many blogs none got the solution for this problem. please let me know if anybody knows the solution for this problem.
Thanks in advance.