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.
regards,
robi