php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #41196 Unable to make SOAP calls to NTLM authenticated web services
Submitted: 2007-04-26 04:17 UTC Modified: 2011-02-21 21:04 UTC
Votes:26
Avg. Score:4.3 ± 1.0
Reproduced:19 of 21 (90.5%)
Same Version:5 (26.3%)
Same OS:14 (73.7%)
From: james dot talbot at brennanit dot com dot au Assigned:
Status: Open Package: SOAP related
PHP Version: 5.2.1 OS: All
Private report: No CVE-ID: None
 [2007-04-26 04:17 UTC] james dot talbot at brennanit dot com dot au
Description:
------------
Currently, you can choose SOAP_AUTHENTICATION_BASIC or SOAP_AUTHENTICATION_DIGEST as authentication methods when creating a new SoapClient.  However, there is no option to authenticate using Samba/NT's challenge-response NTLM authentication.  NTLM authentication is required, for example, for Microsoft's Dynamics CRM webservice.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-18 16:21 UTC] thomas dot rabaix at gmail dot com
I have written a solution to call SOAP using NTLM authentication

http://rabaix.net/articles/2008/3/13/using-soap-php-with-ntlm-authentication

Thomas
 [2009-06-17 13:47 UTC] valli at icsurselva dot ch
Probably the easiest way to implement this in SoapClient
would be the use of cURL instead if php_streams.
I think this would also fix a lot of other issues like
- Bug #27777 (basic authentication broken)
- Bug #33716 (HTTP authentication)
- Bug #46539 (SoapClient uses HTTP/1.1 options over HTTP/1.0)
- Bug #47761 (Since 5.2.9 SoapClient no longer attempts Basic auth to retrieve a WSDL file)
- Bug #47762 (SoapClient does not fetch WSDL requiring Digest auth)
 [2011-02-21 21:04 UTC] jani@php.net
-Package: Feature/Change Request +Package: SOAP related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC