thybag/PHP-SharePoint-Lists-API — Issue #2: Unauthorized
Author: iltdev
Created: 2012-02-08 16:50:17+00:00
State: open

Hi,

I've entered my Sharepoint username and password and received the following error (I've changed my actual credentials to 'username' and 'password'):

Fault code: HTTP
Fault string: Unauthorized
Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Empty string supplied as input in /srv/www/htdocs/wwwkc/includes/sharepoint/sharepointAPI.php on line 252
sharepointAPI Object ( [spUser:private] => username [spPass:private] => password [wsdl:private] => Lists.wsdl [MAX_ROWS:private] => 10000 )

I've managed to connect using SOAP/cURL in the past, so my credentials are correct.
Any ideas where I'm going wrong?