summaryrefslogtreecommitdiffstats
path: root/lib/SAML2/SOAPClient.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SAML2/SOAPClient.php')
-rw-r--r--lib/SAML2/SOAPClient.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/SAML2/SOAPClient.php b/lib/SAML2/SOAPClient.php
index 292d166..fc1824f 100644
--- a/lib/SAML2/SOAPClient.php
+++ b/lib/SAML2/SOAPClient.php
@@ -91,6 +91,8 @@ class SAML2_SOAPClient {
$request = $msg->toSignedXML();
$request = self::START_SOAP_ENVELOPE . $request->ownerDocument->saveXML($request) . self::END_SOAP_ENVELOPE;
+ SimpleSAML_Utilities::debugMessage($request, 'out');
+
$action = 'http://www.oasis-open.org/committees/security';
$version = '1.1';
$destination = $msg->getDestination();
@@ -102,6 +104,8 @@ class SAML2_SOAPClient {
throw new Exception('Empty SOAP response, check peer certificate.');
}
+ SimpleSAML_Utilities::debugMessage($soapresponsexml, 'in');
+
// Convert to SAML2_Message (DOMElement)
$dom = new DOMDocument();
if (!$dom->loadXML($soapresponsexml)) {