Python And Soap

Because I'm sleeping entirely too much lately, I've decided to pick up a new skill and code some worthless Python modules while I'm at it (I'm picking a semi interesting Perl module off of CPAN and implementing it in Python. PyPI needs to grow).

Are there any decent Python SOAP modules out there? I know PythonWare used to have one but they don't have it on there page any more.

I'd prefer one that is at least relatively stable. No Pre-Alpha (which seemed to be all I could find when I googled around for it)

Theres an article on IBM Developerworks covering a few implementations, PySOAP is one, SOAPpy another. I think 4Suite has one.

One of the more robust and I believe commonly used implemenations has a SF page (sf.net is down, and I can't recall the URL--I think its the pywsdl project?), but when I looked at it a while back I found code in CVS to be confusing, as the project merged a few SOAP related projects into one recently, I believe. To be honest, I couldn't make heads nor tails of it with a quick 15 minute glance through the repository, much of the documentation seemed to be out of date or lacking, though I'm certain they've probably changed much of that since I last looked at it (months, admittedly).

I did see a link to this in the Python mailing list a while back: http://interview-machine.com/soap/. I've looked at it just a wee bit but it seemed more straightforward to me.

Yeah, you can do that. I've done this for one project we worked on that just needed a single call to a JMS server. Rather than mess around with an XML library as well, we used string formatting to create the packet. It made the code *much* shorter.

Its just not as "pretty" or as usable as a module would be though. Writing a module that conforms to all ofthe SOAP specs and handles stuff like WSDL is a little bit harder.

I'm not sure what context req is being used in exactly. The project I worked on, we used httplib and created our own header file, and contents. Lemme see if I can dig it up and give you an example. Sorry for the late reply, I just formatted my primary computer and put slackware on it. Finally got mail working and saw this thread had some movement.