From d7e41d4da7e06ba7eb9416239f58c8f95cb58f5f Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Fri, 18 Jan 2013 15:50:33 +0100 Subject: [PATCH] Tracking problem --- src/saml2/httpbase.py | 2 ++ src/saml2/pack.py | 1 + 2 files changed, 3 insertions(+) diff --git a/src/saml2/httpbase.py b/src/saml2/httpbase.py index 89a62d5..ec29075 100644 --- a/src/saml2/httpbase.py +++ b/src/saml2/httpbase.py @@ -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), diff --git a/src/saml2/pack.py b/src/saml2/pack.py index c68d213..2d933b2 100644 --- a/src/saml2/pack.py +++ b/src/saml2/pack.py @@ -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)