note 55744 added to function.soap-soapclient-construct

From: Date: Fri, 12 Aug 2005 06:31:42 +0000
Subject: note 55744 added to function.soap-soapclient-construct
Groups: php.notes 
Request: Send a blank email to php-notes+get-93476@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-construct.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+55744 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55744&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55744&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55744&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55744&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55744&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55744&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+55744&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#93476) next »