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
-~----------~----~----~----~------~----~------~--~---