title: can't access a web server using soap and wsdl
body: <p>I wrote the following code:</p>
  
  <pre><code>&lt;?php
  
  
  
  $url = "https://ops.isignmedia.com/iSign-ear-iSign-ejb/DownloadServices4?wsdl";
  
  
  $client = new SoapClient($url);
  $fcs = $client-&gt;__getFunctions();
  var_dump($fcs);
  
  $res = $client-&gt;downloadData(array('startDateTime' =&gt; 'null', 'endDateTime' =&gt; 'null','accountCode' =&gt; 'xxxx', 'userName' =&gt; 'xxxx', 'password' =&gt; 'xxxx'));
  
  
  
  
  print_r($res);
  
  
  
  ?&gt;
  </code></pre>
  
  <p>The error that I get is the following: </p>
  
  <pre><code>Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in /home/gsapte/public_html/grupsapte/test_webservice/isign.php:10 Stack trace: #0 [internal function]: SoapClient-&gt;__doRequest('&lt;?xml version="...', 'http://ip-172-3...', '', 1, 0) #1 /home/gsapte/public_html/grupsapte/test_webservice/isign.php(10): SoapClient-&gt;__call('downloadData', Array) #2 /home/gsapte/public_html/grupsapte/test_webservice/isign.php(10): SoapClient-&gt;downloadData(Array) #3 {main} thrown in /home/gsapte/public_html/grupsapte/test_webservice/isign.php on line 10
  </code></pre>
  
  <p>If I punt another wsdl address then using this method I can access all information I need. Question: what can be the reasons that I can't access that wsdl? can it be that is https instead of http?</p>