First of all notice these are different @service.json @service.jsonrpc
consider @service.json @service.jsonrpc def f(a,b): return a+b def call(): return service() You call the first via http://.../call/json/f?a=3&b=5 i.e. you specify the funciton (f) and parameters (a,b) in the URL. You call the second via a jsonrpc client and the url is http://.../call/jsonrpc and you specify the funciton (f) and parameters (a,b) in the request message generated by the client. Massimo On May 7, 10:03 am, desfrenes <desfre...@gmail.com> wrote: > Thank you. > > callinghttp://127.0.0.1:8000/app/default/call/xml/rpctestdoes > display an xml response (I added both @service.xml and @service.json), > however, hittinghttp://127.0.0.1:8000/app/default/call/json/with the > client I get a 404 response with "Object does not exist". :-/ > > On May 7, 3:23 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Yes > > >http://www.web2py.com/examples/default/tools#services > > > Massimo > > > On May 7, 2:43 am, desfrenes <desfre...@gmail.com> wrote: > > > > Hello, > > > > I saw the xml-rpc support for web2py via response.xmlrpc() but is > > > there any json-rpc 1.0 support (response.jsonrpc())? > > > > I already made a client module, and use it successfully with web > > > services (see here:http://www.desfrenes.com/python-json-rpc), what > > > would it take to add json-rpc 1.0 support ? > > > > see you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---