Yeah, that's right. Sounds like you'll need to do some preprocessing before posting it out though.
Share your models.py and we'll work from there On Sun, Sep 2, 2012 at 6:22 PM, hasan alnator <halna...@gardeniatelco.com>wrote: > 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, >>> >>> -- >>> >>> >>> >>> >> >> -- >> >> >> >> > > -- > > > > --