You should not decorate call but you should decorate functions you
want to expose via the "call" handler. This is not the the book but it
will be in the new book, very soon

Massimo

On Jul 27, 2:05 pm, rb <[email protected]> wrote:
> The example code in a controller contains the call() function as shown
> below.
>
> def call():
>     """
>     exposes services. for example:
>    http://..../[app]/default/call/jsonrpc
>     decorate with @services.jsonrpc the functions to expose
>     supports xml, json, xmlrpc, jsonrpc, amfrpc, rss, csv
>     """
>     return service()
>
> Chapter 10 of the manual gives a brief example of how to use xmlrpc,
> but it does not mention the use of any decorator (like
> "@services.xmlrpc"). In fact, "services()" is not even mentioned. What
> is this? Should I be decorating my xmlrpc functions?
>
> ---Rb
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to