I am trying to test the jsonrpc service on the web2py server.
I am using the simple jsonrpc client found at http://lkcl.net/jsonrpclib.tgz,
and the sample code from the pyjamas book:
import jsonrpclib
s = jsonrpclib.ServerProxy("http://127.0.0.1:8000/todo/default/call/
jsonrpc/")
reply = s.echo("foo bar")
print reply
the result I get is:
Evaluating jsonrpctest.py
{'version': '1.1', 'id': 2, 'error': {'message': 'method "echo" does
not exist', 'code': 100, 'name': 'JSONRPCError'}}
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---