Skip to content
Snippets Groups Projects
Commit 9f77da4e authored by Olav Morken's avatar Olav Morken
Browse files

AttributeQuery example: Use standard debug method.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1652 44740490-163a-0410-bde0-09ae8108e29a
parent 940b8ca4
No related branches found
No related tags found
No related merge requests found
......@@ -20,12 +20,8 @@ function sendQuery($dataId, $url, $nameId) {
$query->setIssuer($GLOBALS['spEntityId']);
$query->setNameId($nameId);
$xml = $query->toUnsignedXML();
SimpleSAML_Utilities::formatDOMElement($xml);
$xml = $xml->ownerDocument->saveXML($xml);
error_log($xml);
$binding = new SAML2_HTTPRedirect();
$binding->setDestination(sspmod_saml2_Message::getDebugDestination());
$binding->send($query);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment