SOAP, Python, suds

Posted by iscarface on Stack Overflow See other posts from Stack Overflow or by iscarface
Published on 2010-03-10T15:38:40Z Indexed on 2010/03/21 2:41 UTC
Read the original article Hit count: 368

Filed under:
|
|

Hello everybody!
Please advise library for working with soap in python.
Now, i'm trying to use "suds". And i can't undestand how get http headers from server reply
Code example:

from suds.client import Client
url = "http://10.1.0.36/money_trans/api3.wsdl"
client = Client(url)
login_res = client.service.Login("login", "password")

variable "login_res" contain xml answer and doesnt contain http headers. But i need to get session id from them.

Thank you.

© Stack Overflow or respective owner

Related posts about python

Related posts about soap