First of all, is this a public service? If so, can you provide a WSDL to us? If not, can you provide a dump of the request and the response (with sensitive material stripped if needed)?
Regards, András Veres-Szentkirályi
2011. november 9. szerda 05:33:13 dátummal Karl Putland ezt írta:
I'm trying to talk to a service where the SOAP response is returning Content-Type: multipart/related. This behavior is documented here
http://www.w3.org/TR/SOAP-attachments
All of the current Python SOAP libraries choke on this behavior. It would be great if suds could handle Content-Type parsing in the transport adapters. I'm having difficulty getting my head wrapped around all of the urllib2 abstractions in transport/http.py.
My best guess is that it needs to happen right before Reply is created, and that Reply needs to have and attachments[] attribute and probably something to represent the file.
Thanks,
--Karl