note 55744 deleted from soapclient.soapclient by crell

From: Date: Mon, 04 Apr 2022 16:48:51 +0000
Subject: note 55744 deleted from soapclient.soapclient by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218060@lists.php.net to get a copy of this message
Note Submitter: Arjan van Bentem ---- When using HTTP basic authentication, PHP will only send the credentials when invoking the service, not when fetching the WSDL. To solve this, one needs to fetch the WSDL manually (or using PHP, of course!) and store it on the file system. Obviously, the first parameter for SoapClient(..) then needs to refer to that local copy. Alternatively, the user annotations at http://nl3.php.net/manual/en/ref.soap.php state that one could encode the login and password into the URL as well. See http://bugs.php.net/bug.php?id=27777

« previous php.notes (#218060) next »