ERROR: HTTP Error: Unsupported HTTP response status 415

Feb 8, 2012 at 10:41 AM

Hi, 

I wanted to check that i'm doing things correctly... 

The phpmscrm has been installed as per the instructions and a mysql user has been created. The config file has been amended, and ldap auth has been set to FALSE. 

We have a standalone (On-Premise version) of Microsoft Dynamic CRM 2011; which i can log into through the browser using the same credentials. 

When i log into the phpmscrm site i get the following error : 

ERROR: HTTP Error: Unsupported HTTP response status 415 Cannot process the message because the content type 'text/xml; charset=UTF-8' was not the expected type 'application/soap+xml; charset=utf-8'. (soapclient->response has contents of the response)
____________Request____________
string(2358) "POST /***ORG-NAME-REMOVED***/XRMServices/2011/Organization.svc HTTP/1.1 Host: ***NAME-REMOVED*** User-Agent: NuSOAP/0.9.5 (1.123) Connection: close Content-Type: text/xml; charset=UTF-8 SOAPAction: "http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/RetrieveMultiple" Content-Length: 2063 0AAT00000000-0000-0000-0000-000000000000activitypointersubjectactivitytypecoderegardingobjectidscheduledstartscheduledendAndowneridEqualstatecodeEqualOpensubjectAscendingfalse120

____________Response____________
string(990) "HTTP/1.1 401 Unauthorized Content-Type: text/html; charset=us-ascii Server: Microsoft-HTTPAPI/2.0 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAwADADssAAAGgokCo1TvRnLZ5ZUAAAAAAAAAALoAuss7AAAABgGxHQAAAA9BQVQCAAYAQQssAFQAAQAOAEEAQQBUAC0AQwBSAE0ABAAmAGkAbgB0AGUAcgBuAGEAbAAuAGEAYQB0AC4AbwByAGcALgB1AGsAAwA2AEEAQQBUAC0AQwBSAE0ALgBpAG4AdABlAHIAbgBhAGwALgBhAGEAdAAuAG8AcgBnAC4AdQBrAAUAJgBpAG4AdABlAHIAbgBhAGwALgBhAGEAdAAuAG8AcgBnAC4AdQBrAAcACACbf0ZVUubMAQAAAAA= Date: Wed, 08 Feb 2012 11:10:57 GMT Content-Length: 341 HTTP/1.1 100 Continue HTTP/1.1 415 Cannot process the message because the content type 'text/xml; charset=UTF-8' was not the expected type 'application/soap+xml; charset=utf-8'. Cache-Control: private Transfer-Encoding: chunked Content-Type: text/html Server: Microsoft-IIS/7.5 X-AspNet-Version: 4.0.30319 Persistent-Auth: true X-Powered-By: ASP.NET Date: Wed, 08 Feb 2012 11:10:57 GMT The server cannot service the request because the media type is unsupported."

Any thoughts on what i need to do; either on the CRM site or with php scripts/config  ? 

Thanks your help,

M