note 113574 deleted from soap.requirements by salathe

From: Date: Thu, 31 Oct 2013 09:17:22 +0000
Subject: note 113574 deleted from soap.requirements by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-197361@lists.php.net to get a copy of this message
Note Submitter: hoiduhfjalhdfjladhklj at gfail dot com ---- I am using a SOAP1.2 WCF service and I consume it from PHP. I get a : "Fault code: HTTP Fault string: Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'." I use these options: $options = array( 'login' => 'blah', 'password' => 'blah', 'soap_version' => 'SOAP_1_2', 'encoding'=>'UTF-8', 'exceptions' => 1, 'cache_wsdl' => 0 ); I have the following extensions active: SOAP OPENSSL (I have tried also CURL) The same service and PHP client works perfectly on an other machine. Does anyone know what could be wrong?

« previous php.notes (#197361) next »