As I understand it, ZSI is the preferred choice for SOAP web services. I'm
actually planning to look at it for my work this coming week, so that's
likely to help ensure Jython supports it :)
ZSI is seeing at least *some* active development, based on the commits on
trunk: http://pywebsvcs.svn.sourceforge.net/viewvc/pywebsvcs/trunk/zsi/ .
SOAPpy is supposedly not under active development according to the project
home page, in favor of ZSI.
Sebastian Boisgerault has a project under active development to port expat
to Jython, http://code.google.com/p/jython-elementtree/, by emulating with
SAX. I rather like his emulation: it has that great combination of being
both readable and clever. And we plan to make it part of Jython 2.5! Ideally
we should then be able to use it to support ZSI, Genshi (for TurboGears 2
and Trac), and other tools that use expat.
On Sun, Dec 21, 2008 at 3:54 PM, Michael Chisholm <chisholm@...:
> I've been trying to find a way to use SOAP web services from Jython.
> The main Python library seems to be ZSI, which depends on PyXML, which
> depends on expat, which is not Java, so it isn't usable from Jython.
> SOAPpy has the same problem (PyXML dependence). PyXML itself doesn't
> even seem to be maintained anymore (see
> http://sourceforge.net/projects/pyxml/). Anyway, the latest update from
> ZSI seems to be from almost 2 years ago, so it isn't looking too active
> Alternatively, of course, I could just use a Java API like Axis or
> JAX-WS from Jython. But Java isn't as dynamic a language as Python, and
> I don't want to have to generate Java stubs. The goal is to be able to
> access web services from a Python environment, without having to know
> Java or need to modify the execution environment (so no java
> compilation, classpath modification, etc). You should be able to just
> import some packages and write some python code, and thats it.
> The state of affairs w.r.t. Python and SOAP web services seems rather
> depressing--only one game in town, which isn't very active, isn't
> pure-Python, relies on unmaintained packages, and has no easy way of
> building on Windows anyway (see
> ; someone else had to figure out a way and make it available, and thats
> only for Python 2.5).
> Are any of you accessing SOAP web services from Jython? How did you do it?
> Jython-users mailing list