<p>I have an application for Tomcat which needs to offer/consume web services. Since Java web services are a nightmare (xml, code generation, etc.) compared with what is possible in Python, I would like to learn from your experience using jython instead of java for offerring/consuming web services.</p>

<p>What I have done so far involves adapting <a href="http://pywebsvcs.sourceforge.net/" rel="noreferrer">http://pywebsvcs.sourceforge.net/</a> to <a href="http://www.jython.org" rel="noreferrer">Jython</a>. I still get errors (namespaces, types and so), although some of it is succesful for the simplest services.</p>

PyServlet
helps you configure Tomcat to serve up Jython scripts from a URL.  You could use this is a "REST-like" way to do some basic web services without much effort.  (It is also described
here
.)
We used a similar home grown framework to provide a variety of data services in a large multiple web application very successfully.