From: marques at displague dot com Operating system: PHP version: 5.2.9 PHP Bug Type: SOAP related Bug description: SoapClient does not fetch WSDL requiring Digest auth
Description: ------------ SoapClient does not fetch a WSDL file if Digest auth is required to retrieve the WSDL file. Aside from Bug #47761, which states that Basic auth for WSDL is broken in 5.2.9, Basic auth has been used in previous PHP versions. Digest auth should be attempted when retrieving a WSDL file if the login and password options are set. Especially when 'authentication' is set to SOAP_AUTHENTICATION_DIGEST. I can understand if a separate set of options are needed to distinguish between WSDL credentials and Soap service credentials. In practice, I would imagine most WSDL files will be retrieved from the same server as the soap service so the extra authentication options may not be necessary. Another issue is that Digest requires HTTP/1.1 and that isn't fully supported. Bug #47759 blocks HTTP/1.1 usage because "Transfer Encoding: chunked" must be handled properly. Bug #46539 notes that SoapClient incorrectly uses HTTP/1.1 options over HTTP/1.0. This posting is related and sums up how some of these problems are connected: http://marc.info/?l=php-internals&m=123293240706762&w=2 -- Edit bug report at http://bugs.php.net/?id=47762&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47762&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47762&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47762&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47762&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47762&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47762&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47762&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47762&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47762&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47762&r=support Expected behavior: http://bugs.php.net/fix.php?id=47762&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47762&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47762&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47762&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47762&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47762&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47762&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47762&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47762&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47762&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47762&r=mysqlcfg
