ID: 47761 User updated by: marques at displague dot com Reported By: marques at displague dot com Status: Open Bug Type: SOAP related Operating System: * PHP Version: 5.2.9 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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