Directadmin soapclient错误

时间:2017-09-18 15:53:03

标签: php soap centos soap-client directadmin

在服务器一中,我使用soapclient

$GLOBALS['params'] = [
        "where" => $fldpar,

    ];

    $client1 = new soapclient('http://**.**.**.**:3000/Service1.svc?wsdl');

$res = $client1->Read_1522($GLOBALS['params']);
$arr = json_decode(json_encode($res), True);


$xml = simplexml_load_string($arr['Read_1522Result']['any']);
 $json = json_encode($xml);


 $array = json_decode($json,TRUE);

配置服务器一个是:centos,directadmin,php56

并且在服务器中我有ssl并安装soap但是当使用soapcliene时这有错误:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://**.**.**.**:3000/Service1.svc?wsdl' : failed to load external entity "http://**.**.**.**:3000/Service1.svc?wsdl" in /home/ht2net/domains/****/public_html/ab/index.php:26 Stack trace: #0 /home/ht2net/domains/******/public_html/ab/index.php(26): SoapClient-

问题是什么?

0 个答案:

没有答案