4
回答
soap调用api时报错
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   
Warning : SoapClient::SoapClient(http://**/am5/soap/auth?wsdl) [ soapclient.soapclient ]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in  C:\Program Files (x86)\vtigercrm-5.4.0\apache\htdocs\vtigerCRM\xmlrpc\soap.php  on line  3

Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "http://**/am5/soap/auth?wsdl" in C:\Program Files (x86)\vtigercrm-5.4.0\apache\htdocs\vtigerCRM\xmlrpc\soap.php on line 3

当我运行一下代码时出现以上错误:

<?php
$authnSvc = new SoapClient("http://localhost:8080/am5/soap/auth?wsdl");
$querySvc = new SoapClient("http://localhost:8080/am5/soap/query?wsdl");

echo '<pre>';
print_r($authnSvc->__getFunctions());
print_r($authnSvc->__getTypes());
print_r($querySvc->__getFunctions());
print_r($querySvc->__getTypes());
?>

求高手解答谢谢!

PHP
举报
gongsl
发帖于3年前 4回/347阅
顶部