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
None of the above techniques worked for me.
When I analyzed the request header from __getLastRequestHeaders, I saw the following:
POST /index.php/api/index/index/?SID=012345 HTTP/1.1
Host: www.XYZ.com
The API URL I had been using was different, like www.ABC.com. I changed the API URL to www.XYZ.com/index.php/api?wsdl, and then it worked.
Both URLs returned the same WSDL from the same server, but only one allowed login.