469,934 Members | 2,179 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,934 developers. It's quick & easy.

permission denied when using XMLHttpRequest in mozilla

Hello everybody,

I am trying to call a webservice which is deployed in Apache axis using AJAX. I am using servlet to forward the request from client to the webservice and to return the response from the webservice to the client. The servlet runs in Apache Tomcat (http://localhost:8080).When I try to use AJAX to call the service through XMLHttpRequest from Apache Lenya(http://localhost:8888) it gives the security error in mozilla .I am enabling the security like this :netscape.security.PrivilegeManager.enablePrivileg e("UniversalXPConnect UniversalBrowserAccess"); . It works fine when I call from file:/// but it shows" A script from http://localhost:8888 was denied UniversalXPConnect UniversalBrowserAccess privileges" error when called from http://localhost:8888.I read somewhere that its all because mozilla needs signing when communicating with different domains .can anyone came accross such situation ? Please help me in solving such errors. should I use something called proxy scripts? My sucess in thesis depends on sovling this issue only. So it would be of great help if anyone gives some idea regarding this. Thanking you in advance.

Feb 20 '06 #1
0 3770

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by HikksNotAtHome | last post: by
2 posts views Thread by laredotornado | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.