• Post Reply Bookmark Topic Watch Topic
  • New Topic

Security error accessing url  RSS feed

Siddhesh Deodhar
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I am having a Web Application running a servlet returning some xml output to a Flex application which is accessing the Servlet using HttpService.
Things work fine when both servlet application and flex application are running on my machine.

I have declaration of service as follows

I created one more web project "FlexClient" on same Tomcat server and dumped content of bin-debug(output of my Flex application) to web content folder of this new project.
Now I am accessing flex application file as follows using URL http://<my ip>:8181/FlexClient/samplehttp.html.
Again, Flex application works fine if I open the above URL on my machine browser.

Now if I open this URL (http://<my ip>:8181/FlexClient/samplehttp.html.) from some other machine, I get error "Security error accessing url" .

I tried searching on the net about this problem most of the people resolved the issue by adding crossdomain.xml file.
I tried adding crossdomain file but still I am not able to resolve the issue.

my crossdomain file is like follows

I have added crossdomain file to WebContent folder and also to conf and ROOT folders of my Tomcat.

Please let me know what more changes I need to do to resolve this.

Note :
I have copied crossdomain.xml to "FlexClient" project's WebContent directory on my tomcat.
I am able to access servlet and view the output from other machines. So issue is not related to network
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!