I sure do: 
http://www.desfrenes.com/blog/post/python-web2py-et-services-en-json-rpc

On May 7, 10:03 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> tell everybody. ;-)
>
> On May 7, 2:50 pm, desfrenes <desfre...@gmail.com> wrote:
>
> > ah! I should have read the docs better...
>
> > Thank you, it works like a charm (and it's pretty fast too !). This is
> > so easy !
>
> > Funny to see how web2py seems to have answers to all my needs and
> > seems to implement all the functionalities I have struggled to
> > implement on other platforms... but in a much better way :-)
>
> > On May 7, 5:39 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > 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/withthe
> > > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to