Dear Alec ,

Is the the right way :

in the controller i added  >>

def call():
  session.forget()
  return service()

@service.run
def xmlservice():
    solutoins = db().select(db.solutions.ALL)
    return locals()


then i get this : http://gardeniatelco.com/call/xml/xmlservice






On Sun, Sep 2, 2012 at 11:08 AM, Alec Taylor <alec.tayl...@gmail.com> wrote:

> Just add the @service.xml decorator to your controller.
>
> Tutorial:  https://web2py.com/books/default/chapter/29/10
>
>
> On Sun, Sep 2, 2012 at 5:57 PM, Hassan Alnatour <
> halna...@gardeniatelco.com> wrote:
>
>> Dear ALL,
>>
>> I want to create a web service that returns an xml of the
>> some recorders in a table  ?
>>
>> Best Regards,
>>
>> --
>>
>>
>>
>>
>
>  --
>
>
>
>

-- 



Reply via email to