I\'m trying to invoke a WS over https on a remote host:remote port and I get:
Error fetching http headers
using the PHP5 SoapCli
Please check for the response HTTP-Header. In my case, the following header was set on the API-Site:
Header set Connection keep-alive
It seems like the PHP SoapClient can't deal with that option. As a result, the response body was empty, but content-length in the response-header has been set correctly.
Remove that line or change it to "close" solved my issue.