ID: 27777
Updated by: [EMAIL PROTECTED]
Reported By: mikx at mikx dot de
Status: Open
Bug Type: SOAP related
Operating System: Windows XP Pro
PHP Version: 5.0.0RC1
New Comment:
Authentication should work for SOAP requests, but it is not working
during requesting of WSDL file (not implemented).
Do you have problem only with WSDL loading or with SOAP requests too?
Previous Comments:
------------------------------------------------------------------------
[2004-03-30 08:33:57] mikx at mikx dot de
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 this bug report at http://bugs.php.net/?id=27777&edit=1