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

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

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
calling handleResponse from an instance function of the XMLRPCMetho   Message List  
Reply | Forward Message #277 of 411 |
Hi,

I had to bypasss the XML RPC ServiceProxy and HTTP POST directly to a
server. The server returns an XMLRPC response. I want to use the
XMLRPC module to handle the response.

I tried using the handleResponse function from the XMLRPCMethod. But I
couldn't get it to work.

I have something like this:

function foo(url)
{
var liburl = imprt("urllib");
var xmlrpc = imprt("xmlrpc");

var resp = postURL(url);
var obj = new this.xmlrpc.XMLRPCMethod();

test.handleResponse(obj);
}

Are functions declared as "var" in the class not callable from outside
the function?

-Roy







Thu Sep 28, 2006 12:07 am

roynos
Offline Offline
Send Email Send Email

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

Hi, I had to bypasss the XML RPC ServiceProxy and HTTP POST directly to a server. The server returns an XMLRPC response. I want to use the XMLRPC module to...
roynos
Offline Send Email
Sep 28, 2006
12:13 am

I tried using the handleResponse function from the XMLRPCMethod. But I couldn't get it to work. I have something like this: function foo(url) { var liburl =...
roynos
Offline Send Email
Sep 28, 2006
12:18 am

Hi, ... handleResponse is declared with var and therefor enot visible outside of the class. it might be a good idea to handle have it part of the object so one...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Sep 30, 2006
4:28 pm

... Hi, I simply went into the xmlrpc.js. I change "var handleResponse" to "publ.handleResponse" and located all the calls to "handleResponse" and changed it...
roynos
Offline Send Email
Oct 2, 2006
8:17 pm

That should work. I will have a look and make thwe changes in the trunk...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Oct 5, 2006
4:54 pm
Advanced

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