[Json-rpc-java] system.listMethods
Hanley, Mark
mhanley at sharplabs.com
Thu Sep 17 00:10:17 SGT 2009
I am using jsonrpc in a WebObjects application. The following client
code produces 2 different results and I am at a loss as to why:
var jsonrpc = new
JSONRpcClient("/cgi-bin/WebObjects/ANetDemo.woa/ajax/2J1YCbmUmSBIABr6wic
4mw/0.0.0.11.9.1.15.3.1");
Stepping through the debugger in jsonrpc.js shows that in
_handleResponse, the http.status in both cases is 200, but the
http.responseText in one is a JSON list of methods as you would expect.
In the case that fails, the responseText is the HTML of the page - it's
not an exception page, just the page I would expect were I not
attempting an AJAX call.
Has anyone else seen this behavior?
Thanks,
Mark
More information about the Json-rpc-java
mailing list