diff --git a/www/example-simple/attributequery.php b/www/example-simple/attributequery.php index 5e53158946a316e3891c30642078a8547e61967f..a81ab6a8b84cdf42f8b07ebcb94f4e97739251cd 100644 --- a/www/example-simple/attributequery.php +++ b/www/example-simple/attributequery.php @@ -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); }