note 113574 added to soap.requirements
| From: | hoiduhfjalhdfjladhklj at gfail dot com | Date: | Thu, 31 Oct 2013 08:47:33 +0000 |
| Subject: | note 113574 added to soap.requirements | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197359@lists.php.net to get a copy of this message | ||
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?
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/soap.requirements.php
Edit -- https://master.php.net/note/edit/113574
Del: integrated -- https://master.php.net/note/delete/113574/integrated
Del: useless -- https://master.php.net/note/delete/113574/useless
Del: bad code -- https://master.php.net/note/delete/113574/bad+code
Del: spam -- https://master.php.net/note/delete/113574/spam
Del: non-english -- https://master.php.net/note/delete/113574/non-english
Del: in docs -- https://master.php.net/note/delete/113574/in+docs
Del: other reasons-- https://master.php.net/note/delete/113574
Reject -- https://master.php.net/note/reject/113574
Search -- https://master.php.net/manage/user-notes.php