From 967edad97f38578f9b4561d6f624c974dd2c14a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Pe=CC=81rez?= Date: Wed, 14 Dec 2016 17:25:47 +0100 Subject: [PATCH] bugfix: We are using namespaces, so SoapClient is not available, we need to prepend the root namespace: \SoapClient. --- src/SAML2/SOAPClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SAML2/SOAPClient.php b/src/SAML2/SOAPClient.php index 31622d099..c498f5cd6 100644 --- a/src/SAML2/SOAPClient.php +++ b/src/SAML2/SOAPClient.php @@ -107,7 +107,7 @@ public function send(Message $msg, SimpleSAML_Configuration $srcMetadata, Simple $options['proxy_port'] = $srcMetadata->getValue('saml.SOAPClient.proxyport'); } - $x = new SoapClient(null, $options); + $x = new \SoapClient(null, $options); // Add soap-envelopes $request = $msg->toSignedXML();