This is a follow up in regards to my question about removing the expect headers.
I have a mock soap server imitating the external endpoint. It was set up by using the default SoapServer
of php:
$server = new SoapServer('http://externalapi.foo/the_wsdl.xml');
$server->setClass(ExternalApi::class);
$server->handle($HTTP_RAW_POST_DATA);
which worked before, once I remove the expect header in the client, I only get an empty response back, no matter the request making my acceptance fail:
HTTP/1.1 200 OK
Connection: keep-alive
Content-Type: text/html
Date: Wed, 23 Nov 2016 11:18:40 GMT
Server: nginx/1.11.6
Transfer-Encoding: chunked
X-Powered-By: HHVM/3.15.3
""
(The ""
is placeholder for empty text.)