<?php
if (!class_exists('SoapClient'))
{
die ("You haven't installed the PHP-Soap module.");
}
$wsdl = 'http://localhost:8080/WebService/WebServices?wsdl';
file_get_contents($wsdl);
$client = new SoapClient($wsdl, array(
'soap_version' => SOAP_1_2,
'trace' => 1,
'cache_wsdl' => WSDL_CACHE_NONE, // this is important for the purpose of the test
'exception' => true,
));
?>
Warning: file_get_contents(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 7
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/WebService/WebServices?wsdl' : failed to load external entity "http://localhost:8080/WebService/WebServices?wsdl"
in /in/upAcg:13
Stack trace:
#0 /in/upAcg(13): SoapClient->SoapClient('http://localhos...', Array)
#1 {main}
thrown in /in/upAcg on line 13
Process exited with code 255.
Output for 5.2.7 - 5.2.17
Warning: file_get_contents(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 7
Warning: SoapClient::SoapClient(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 13
Warning: SoapClient::SoapClient(): I/O warning : failed to load external entity "http://localhost:8080/WebService/WebServices?wsdl" in /in/upAcg on line 13
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/WebService/WebServices?wsdl' : failed to load external entity "http://localhost:8080/WebService/WebServices?wsdl"
in /in/upAcg:13
Stack trace:
#0 /in/upAcg(13): SoapClient->SoapClient('http://localhos...', Array)
#1 {main}
thrown in /in/upAcg on line 13
Process exited with code 255.
Output for 5.2.0 - 5.2.6
Warning: file_get_contents(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 7
Warning: SoapClient::SoapClient(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 13
Warning: SoapClient::SoapClient(): I/O warning : failed to load external entity "http://localhost:8080/WebService/WebServices?wsdl" in /in/upAcg on line 13
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/WebService/WebServices?wsdl' in /in/upAcg:13
Stack trace:
#0 /in/upAcg(13): SoapClient->SoapClient('http://localhos...', Array)
#1 {main}
thrown in /in/upAcg on line 13
Process exited with code 255.
Output for 5.1.5 - 5.1.6
Warning: file_get_contents(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 7
Warning: SoapClient::__construct(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 13
Warning: SoapClient::__construct(): I/O warning : failed to load external entity "http://localhost:8080/WebService/WebServices?wsdl" in /in/upAcg on line 13
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/WebService/WebServices?wsdl' in /in/upAcg:13
Stack trace:
#0 /in/upAcg(13): SoapClient->__construct('http://localhos...', Array)
#1 {main}
thrown in /in/upAcg on line 13
Process exited with code 255.
Output for 5.1.0 - 5.1.4
Warning: file_get_contents(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 7
Notice: Use of undefined constant WSDL_CACHE_NONE - assumed 'WSDL_CACHE_NONE' in /in/upAcg on line 11
Warning: SoapClient::__construct(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 13
Warning: SoapClient::__construct(): I/O warning : failed to load external entity "http://localhost:8080/WebService/WebServices?wsdl" in /in/upAcg on line 13
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/WebService/WebServices?wsdl' in /in/upAcg:13
Stack trace:
#0 /in/upAcg(13): SoapClient->__construct('http://localhos...', Array)
#1 {main}
thrown in /in/upAcg on line 13
Process exited with code 255.
Output for 5.0.4 - 5.0.5
Warning: file_get_contents(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 7
Notice: Use of undefined constant WSDL_CACHE_NONE - assumed 'WSDL_CACHE_NONE' in /in/upAcg on line 11
Warning: SoapClient::__construct(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 13
Warning: unreachable networkunreachable networkI/O warning : failed to load external entity "http://localhost:8080/WebService/WebServices?wsdl" in /in/upAcg on line 13
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/WebService/WebServices?wsdl' in /in/upAcg:13
Stack trace:
#0 /in/upAcg(13): SoapClient->__construct('http://localhos...', Array)
#1 {main}
thrown in /in/upAcg on line 13
Process exited with code 255.
Output for 5.0.3
Warning: file_get_contents(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 7
Notice: Use of undefined constant WSDL_CACHE_NONE - assumed 'WSDL_CACHE_NONE' in /in/upAcg on line 11
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/WebService/WebServices?wsdl' in /in/upAcg:13
Stack trace:
#0 /in/upAcg(13): SoapClient->__construct('http://localhos...', Array)
#1 {main}
thrown in /in/upAcg on line 13
Process exited with code 255.
Output for 5.0.0 - 5.0.2
Warning: file_get_contents(http://localhost:8080/WebService/WebServices?wsdl): failed to open stream: Network is unreachable in /in/upAcg on line 7
Notice: Use of undefined constant WSDL_CACHE_NONE - assumed 'WSDL_CACHE_NONE' in /in/upAcg on line 11
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/WebService/WebServices?wsdl' in /in/upAcg:13
Stack trace:
#0 {main}
thrown in /in/upAcg on line 13
Process exited with code 255.