Have you seen this section in the book: 
http://web2py.com/book/default/chapter/09#Services-and-Authentication

On Tuesday, June 7, 2011 4:25:16 PM UTC-4, Abhishek Gupta wrote:

> Hello,
>
> I have an application in web2py. To create the command line interface of 
> the gui (web-interface), I want to use xmlrpc service. For example if I have 
> following function : 
>
> @auth.requires_login
> def example():
>     temp = request.args[0]
>     //do something on temp
>     return dict(temp=temp)
>
> How can I call this function in xmlrpc, so that I make minimal changes in 
> my original function definition (I require to do authentication, somehow 
> send the request variable, and have some returned data structure).
>

Reply via email to