On Sun, Jun 10, 2012 at 03:42:13PM +0200, Jos Vos wrote:
In response to a SOAP logon request, I see the following SOAP header
soap:Header <Header xmlns="..."> <SessionID>b2f73922-8701-4f5c-b3e8-408df89b4564</SessionID> </Header> </soap:Header>
Now I need to include this SessionID in the next request. How can I do this?
I believe, the following Stack Overflow question just deals with the situation you described above:
http://stackoverflow.com/questions/2469988/how-to-pass-soap-headers-into-pyt...
Adding user-defined SOAP headers is part of SUDS since 0.3.4:
https://fedorahosted.org/suds/ticket/6
To extract the SessionID received in response to the first request, see the bottom part of the following blog post:
http://www.jansipke.nl/python-soap-client-with-suds/