Thanks so much for the help. I use json for some other functions, but that was not a requirement here so I just hit it with a hammer and switched to xmlrpc. I didn't realize that you could use the service proxy like that for json though, so that was a very useful exercise.
-d On Jul 16, 11:48 am, Fran <[email protected]> wrote: > On Jul 16, 4:43 pm, Fran <[email protected]> wrote: > > > @service.xmlrpc > > I see you use JSON, so: > @service.jsonrpc > > > from xmlrpclib import ServerProxy > > server = ServerProxy('http://..../app/default/call/xmlrpc') > > print server.myfunction('user', 'password') > > from jsonrpc import ServiceProxy > server = ServiceProxy("http://localhost:8000/app/default/call/ > jsonrpc") > server.myfunction("user","password") > > F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---

