From: mikx at mikx dot de Operating system: Windows XP Pro PHP version: 5.0.0RC1 PHP Bug Type: SOAP related Bug description: basic authentication broken
Description: ------------ When using basic authentication the soap client does not authenticate itself automaticly using the options array. You need to add the login and password in the uri. Reproduce code: --------------- _NOT working_ $client = new SoapClient("http://foo.com/bar.wsdl", array( "login" => "yourLogin", "password" => "yourPassword")); _working_ $client = new SoapClient("http://yourLogin:[EMAIL PROTECTED]/bar.wsdl"); Expected result: ---------------- The SOAP client should take the login and password from the options array and automaticly authenticate itself. -- Edit bug report at http://bugs.php.net/?id=27777&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27777&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27777&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27777&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27777&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27777&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27777&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27777&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27777&r=support Expected behavior: http://bugs.php.net/fix.php?id=27777&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27777&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27777&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27777&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27777&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27777&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27777&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27777&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27777&r=float