[Soap-Python] Soaplib beat1 released into the wild
Michael Wood
esiotrot at gmail.com
Fri Feb 4 09:13:08 CET 2011
On 2 February 2011 21:54, Brad Allen <bradallen137 at gmail.com> wrote:
> We haven't gotten much feedback about soaplib 2.0 beta; has anyone
> reviewed the Sphinx docs, done any testing, etc?
A week or so ago I gave 2.0.0b1 a try and it seemed like the changes
to get it to work would be quite small. Mostly @rpc -> @soap and
[Ss]erializer -> [Mm]odel IIRC.
One thing I was not able to figure out in the short time I spent on
it, though, was how to get it to work with modwsgi. It seems the way
this is done has changed with 2.0.
Basically, what I'm doing at the moment (with 1.0) is I have a file
(e.g. MyService.wsgi) that contains something like this:
========================
import MyService
from soaplib.wsgi import Application
application = Application([MyService.MyService], 'myns')
========================
When I try that with 2.0.0b1, though (after fixing up the
"Application" import IIRC), it seems that modwsgi tries to call
application, but there's no __call__() method. I only spent a few
minutes looking at it and was not able to figure out what I was
supposed to do to make it work. I plan to come back to it at some
point, but don't have the time right now.
Thanks :)
--
Michael Wood <esiotrot at gmail.com>
More information about the Soap
mailing list