Search the web
Sign In
New User? Sign Up
jsolait
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Mozilla: xmlrpc ServiceProxy RequestOpenFailed, Opening of HTTP req   Message List  
Reply | Forward Message #299 of 411 |
I getting RequestOpenFailed Opening of HTTP request failed when doing
a xmlrpc ServiceProxy call to a different host in Mozilla.

I've read about the cross-domain security issue and am bypassing it with
netscape.security.PrivilegeManager.enablePrivilege, for now.

This works from my server(localhost:9080/test.html) when the
url=http://jsolait.net/test.py.
But it fails when url=http://localhost:9080/echo.

The code is pretty simple and below.

Thanks for any help

try{
if (navigator.appName=="Netscape"){
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
}
var service = new xmlrpc.ServiceProxy(url, ['echo']);
var asXml = service.echo(msg);
result.value = asXml;
}catch(e){

result.value='Error occured '+printException(e);
}




Mon Feb 26, 2007 8:48 pm

mpbahl
Offline Offline
Send Email Send Email

Forward
Message #299 of 411 |
Expand Messages Author Sort by Date

I getting RequestOpenFailed Opening of HTTP request failed when doing a xmlrpc ServiceProxy call to a different host in Mozilla. I've read about the...
mpbahl
Offline Send Email
Feb 26, 2007
8:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help