fork download
  1. <?php
  2.  
  3. $_server = 'http://X...content-available-to-author-only...X.nl/XXXX.ws/prsdfsfdows.asmx?WSDL';
  4. try {
  5. $client = new SoapClient($_server, array('trace' => 1, 'exception' => 1));
  6. } catch (SoapFault $e) {
  7. var_dump($e);
  8. }
Runtime error #stdin #stdout #stderr 0.02s 24608KB
stdin
Standard input is empty
stdout
object(SoapFault)#2 (9) {
  ["message":protected]=>
  string(198) "SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://X...content-available-to-author-only...X.nl/XXXX.ws/prsdfsfdows.asmx?WSDL' : failed to load external entity "http://X...content-available-to-author-only...X.nl/XXXX.ws/prsdfsfdows.asmx?WSDL"
"
  ["string":"Exception":private]=>
  string(0) ""
  ["code":protected]=>
  int(0)
  ["file":protected]=>
  string(21) "/home/le2qPY/prog.php"
  ["line":protected]=>
  int(5)
  ["trace":"Exception":private]=>
  array(1) {
    [0]=>
    array(6) {
      ["file"]=>
      string(21) "/home/le2qPY/prog.php"
      ["line"]=>
      int(5)
      ["function"]=>
      string(10) "SoapClient"
      ["class"]=>
      string(10) "SoapClient"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        string(57) "http://X...content-available-to-author-only...X.nl/XXXX.ws/prsdfsfdows.asmx?WSDL"
        [1]=>
        array(2) {
          ["trace"]=>
          int(1)
          ["exception"]=>
          int(1)
        }
      }
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["faultstring"]=>
  string(198) "SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://X...content-available-to-author-only...X.nl/XXXX.ws/prsdfsfdows.asmx?WSDL' : failed to load external entity "http://X...content-available-to-author-only...X.nl/XXXX.ws/prsdfsfdows.asmx?WSDL"
"
  ["faultcode"]=>
  string(4) "WSDL"
}
stderr
PHP Fatal error:  SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://X...content-available-to-author-only...X.nl/XXXX.ws/prsdfsfdows.asmx?WSDL' : failed to load external entity "http://X...content-available-to-author-only...X.nl/XXXX.ws/prsdfsfdows.asmx?WSDL"
 in /home/le2qPY/prog.php on line 5