1. 인터페이스를 호출하면 다음과 같은 오류가 보고됩니다
2,
<code>Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in D:\xampp\htdocs\price\index1.php:36 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://218.93.1...', 'http://tempuri....', 1, 0) #1 D:\xampp\htdocs\price\index1.php(36): SoapClient->__call('GetDXCSList', Array) #2 D:\xampp\htdocs\price\index1.php(36): SoapClient->GetDXCSList('2016-10-21') #3 {main} thrown in D:\xampp\htdocs\price\index1.php on line 36 </code>
3, 소스코드는 다음과 같습니다
<code><?php $client = new SoapClient("http://218.93.114.150:12004/WebServiceJGT.asmx?WSDL"); echo "<pre class="brush:php;toolbar:false">"; var_dump($client->GetDXCSList('2016-10-21')); echo "";
<code>?></code>
1. 인터페이스를 호출하면 다음과 같은 오류가 보고됩니다
2,
<code>Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in D:\xampp\htdocs\price\index1.php:36 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://218.93.1...', 'http://tempuri....', 1, 0) #1 D:\xampp\htdocs\price\index1.php(36): SoapClient->__call('GetDXCSList', Array) #2 D:\xampp\htdocs\price\index1.php(36): SoapClient->GetDXCSList('2016-10-21') #3 {main} thrown in D:\xampp\htdocs\price\index1.php on line 36 </code>
3, 소스코드는 다음과 같습니다
<code><?php $client = new SoapClient("http://218.93.114.150:12004/WebServiceJGT.asmx?WSDL"); echo "<pre class="brush:php;toolbar:false">"; var_dump($client->GetDXCSList('2016-10-21')); echo "";
<code>?></code>
호스트에 연결할 수 없습니다. 당연하지 않나요?