I'm trying to open a socket between my server and the other server, but it returns the following warring msg :
SoapClient::SoapClient() [soapclient.soapclient]: failed to open stream: HTTP request failed
my SoapClient should be connected using a specific IP, so I'm using the following code:
$aOpts = array('socket' => array('bindto' => 'my IP')); $rStreamContext = stream_context_create($aOpts);
$client = new SoapClient($this->_wsdl_test_url, array('stream_context'=>$rStreamContext));
the server keep giving me the same warning, failed to open stream: HTTP