I've read mixed reviews of both Suds and ZSI -- two Python SOAP libraries. However, I'm unclear whether either of them can support WS-Attachments. I'd prefer to use Suds (appears to be more straightforward), but I'll defer to whichever library suits my needs.
Asked
Active
Viewed 2,391 times
3 Answers
1
For your requirements I'd have to recommend ZSI. From its documentation,
It can also be used to build applications using SOAP Messages with Attachments.
Their website is not as pretty as Suds but the package includes promising documentation.
SOAPpy has support for attachments on its TODO list. Suds does not mention the word "attachments" anywhere. If you need attachments and don't want to implement them yourself, then ZSI is your choice.

joeforker
- 40,459
- 37
- 151
- 246
-
Yes, SOAP support in python sucks. Seriously. – vezult Aug 27 '10 at 15:16
-
@vezult : are you the same guy who made the soap attachment with suds here : https://fedorahosted.org/suds/attachment/ticket/350/soap_attachments.py ? If it is you I have the following question regarding this post which I formulated here : http://stackoverflow.com/questions/6601107/how-to-send-a-file-through-soap-in-python – Philippe Carriere Jul 07 '11 at 14:50
0
In my experience Suds was the only Python package that actually works. I did not use attachments.

MK.
- 33,605
- 18
- 74
- 111