#47761 [Opn->Fbk]: Since 5.2.9 SoapClient no longer attempts Basic auth to retrieve a WSDL file
| From: | sjoerd@php.net | Date: | Tue, 29 Sep 2009 11:20:41 +0000 |
| Subject: | #47761 [Opn->Fbk]: Since 5.2.9 SoapClient no longer attempts Basic auth to retrieve a WSDL file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143031@lists.php.net to get a copy of this message | ||
ID: 47761
Updated by: sjoerd@php.net
Reported By: marques at displague dot com
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: *
PHP Version: 5.2.9
New Comment:
Thank you for your bug report.
How did you try to pass the username and password to the SOAP client?
Please try putting them in the URL, like this:
http://user:pass@www.example.com/service.wsdl
Previous Comments:
------------------------------------------------------------------------
[2009-08-07 03:52:10] marques at displague dot com
One scenario, you are making your own SOAP Server service. It is more
difficult to write a digest auth server than it is to write a basic auth
server. Again, consider that PHP web requests are all made as HTTP/1.0
because Chunk decoding is not handled properly (or at all) and so
Digest, which is HTTP/1.1 specific is technically not an option without
a good deal of custom coding.
Aside from that, I imagine there are just some HTTP/1.0 or Basic only
servers out there.
------------------------------------------------------------------------
[2009-08-06 22:02:12] sriram dot natarajan at gmail dot com
why is there still a need to support basic authentication ? can u
kindly explain that scenario ?
------------------------------------------------------------------------
[2009-03-24 13:53:48] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47761&edit=1