|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-03-24 13:53 UTC] marques at displague dot com
Description: ------------ Since 5.2.9, SoapClient no longer attempts HTTP Basic authentication to retrieve a wsdl file. Prior to this version Basic was attempted and Digest was not. Digest should also be attempted but that is a matter for another bug. The SoapClient option 'authentication' has no effect on wsdl retrieval. A work-around is to fetch the WSDL file manually or via PHP commands within the SOAP code, but that method can be cumbersome because digest auth code has to be written from scratch and Bug #47759 (chunk encoding) can get in the way. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 13:00:02 2025 UTC |
$ php -v PHP 5.2.17-0.dotdeb.0 with Suhosin-Patch 0.9.7 (cli) (built: Jan 7 2011 07:47:48) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies Doing: <?php $wsdl = ...; $soapOptions = array( 'login' => '...', 'password' => '...', 'trace' => 1, 'exceptions' => true, ); $code_table_client = new RPDesktopCodeTableSoapClient(new SoapClient($wsdl, $soapOptions)); The basic auth works for the initial connection, but other components of the WSDL that are being referred to don't load the credentials.