Thank you. This is the approach I am using at the moment. Also learnt about the XML-RPC support in Zope. Using the xmlrpclib module it is also possible to connect and query from clients. The only issue I had is with the use of multiple arguments . This was discussed previously in this thread http://copilotco.com/mail-archives/zope.2002/msg19971.html and with the information there, I am now using arguments with default parameters and it seems to be working.
Vimal ----- Original Message ----- From: Fernando Martins <ferna...@cmartins.nl> To: zope@zope.org Cc: Sent: Wednesday, September 14, 2011 5:18 PM Subject: Re: [Zope] REST webservice on Zope 2 I don't have specific experience with REST, but I return json using Python scripts and XML is page templates are supported. So, at least the basics are possible, if you need more automatic generation from Python objects I don't see why it would not work but I have no idea if it exists a library for that in zope2. Fernando On 09/14/2011 12:59 PM, Vimal wrote: > Hi all, > We need to implement a webservice for our Zope 2 website. Among SOAP and > REST, REST appears to be easier to implement for what we need - return json > or > xml based on the URLs accessed. Zope 3 supports REST (z3c.rest) but not Zope > 2. > Does somebody have experience implementing REST on Zope 2? > > Regards, > Vimal > > _______________________________________________ > Zope maillist - Zope@zope.org > https://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope-dev ) > _______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev ) _______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )