[Twisted-Python] Importing twisted.web.soap raises an exception
Thomas Weholt ( PRIVAT )
2002 at weholt.org
Tue Jul 1 07:47:20 MDT 2003
Ok, it seems to be imported without errors now, but I had to change the line
import SOAP
to
import SOAPpy as SOAP
to make it work. Tried it with SOAPpy 0.10.1.
Still, it's listed as unstable. Does anybody have any comments on the
usability of this module besides that?
Thomas
----- Original Message -----
From: "Andrew Bennetts" <andrew-twisted at puzzling.org>
To: <twisted-python at twistedmatrix.com>
Sent: Tuesday, July 01, 2003 2:54 PM
Subject: Re: [Twisted-Python] Importing twisted.web.soap raises an exception
> On Tue, Jul 01, 2003 at 02:46:19PM +0200, Thomas Weholt ( PRIVAT ) wrote:
> > Trying to use twisted.web.soap raises an exception, saying it cannot
import
> > SOAP-module. Why isn't this module in the distribution and where is it
> > located? I'm using Twisted 1.0.6.
>
> As the docstring of t.w.soap says: "Requires SOAPpy."
>
> You can find it at http://pywebsvcs.sf.net/, although I think you need to
> comment out these lines in t.w.soap to make the latest version work:
>
> # fix 2.2 issues with SOAP
> SOAP.SOAPBuilder.dump_str = SOAP.SOAPBuilder.dump_string
> SOAP.SOAPBuilder.dump_dict = SOAP.SOAPBuilder.dump_dictionary
>
> The docstring should probably updated to include a URL, and those lines
> removed to reflect the current stable version of SOAPpy...
>
> -Andrew.
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
More information about the Twisted-Python
mailing list