Tracking problem
This commit is contained in:
@@ -262,6 +262,8 @@ class HTTPBase(object):
|
||||
|
||||
soap_message = make_soap_enveloped_saml_thingy(request)
|
||||
|
||||
logger.error("SOAP message: %s" % soap_message)
|
||||
|
||||
if sign and self.sec:
|
||||
_signed = self.sec.sign_statement_using_xmlsec(soap_message,
|
||||
class_name(request),
|
||||
|
||||
@@ -161,6 +161,7 @@ def make_soap_enveloped_saml_thingy(thingy, header_parts=None):
|
||||
_child.tag = '{%s}FuddleMuddle' % DUMMY_NAMESPACE
|
||||
body.append(_child)
|
||||
_str = ElementTree.tostring(envelope, encoding="UTF-8")
|
||||
logger.debug("SOAP precursor: %s" % _str)
|
||||
# find an remove the namespace definition
|
||||
i = _str.find(DUMMY_NAMESPACE)
|
||||
j = _str.rfind("xmlns:", 0, i)
|
||||
|
||||
Reference in New Issue
Block a user