1,在調用介面的時候報錯如下
2,
Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in D:\xampp\htdocs\price\index1.php:36Stack trace:#0 [internal function]: SoapClient->__doRequest('__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
3,原始碼如下
";var_dump($client->GetDXCSList('2016-10-21'));echo "
";
?>
回複內容:
1,在調用介面的時候報錯如下
2,
Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in D:\xampp\htdocs\price\index1.php:36Stack trace:#0 [internal function]: SoapClient->__doRequest('__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
3,原始碼如下
";var_dump($client->GetDXCSList('2016-10-21'));echo "
";
?>
Could not connect to host,這還不明顯嗎?