I have developed a python-suds SOAP client that query a database and receive the complex data. The client authenticates, receives a session_id from the server and include that in the queries that follow.
When the session-id contains a '@' the following code seems to split it using the @ as separator causing the subsequent communication to fail. Why the issue with @? For example when the session_id = 'Wok@asdfpoas@13adkE' just 'Wok' will be sent in the header.
session_id = aclient.service.authenticate('authenticateResponse')
qclient = Client(qurl, transport = tq, username='l', password='l') # Set HTTP headers httpHeaders = {'Cookie':'SID = %s' % session_id} qclient.set_options(headers=httpHeaders)
When there is no @ in the session-id the query works.
Regards Johann