Hi Michael,
      Have a look at following links and find out whether it suits your requirements.

[1] - http://wso2.org/project/wsf/jython/1.0alpha/docs/Jython-Quick%20Start%20Guide.html
[2] - https://wso2.org/library/invoking-enterprise-web-services-using-jython

On Mon, Dec 22, 2008 at 4:24 AM, Michael Chisholm <chisholm@mitre.org> wrote:
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

Heshan Suriyaarachchi