简体   繁体   English

SOAP错误:解析WSDL:无法从http://demo.tuleap.com加载

[英]SOAP-ERROR: Parsing WSDL: Couldn't load from http://demo.tuleap.com

$soap_option  = array(
'cache_wsdl' => WSDL_CACHE_NONE,
'exceptions' => 1,
'trace'      => 1
);

$client_login = new SoapClient($host_login, $soap_option);
$session_hash = $client_login->login($userName,$password)->session_hash;
$client_tracker = new SoapClient($host_tracker, $soap_option);

The connection was successful the first time, but it fails if I try one more time. 第一次连接成功,但是如果再尝试一次则连接失败。

The below steps are helped me to resolve. 以下步骤可帮助我解决。 Step 1: Replace the second argument of a constructor SoapClient as 步骤1:将构造函数SoapClient的第二个参数替换为

$soap_option  = array(
'cache_wsdl' => WSDL_CACHE_DISK,
'exceptions' => 1,
'trace'      => 1
);

Step:2 clear the files in /tmp directory Step3: Restart the server Step4: Run the file on browser Note: ini_set("soap.wsdl_cache_enabled", 0); 步骤2:清除/ tmp目录中的文件步骤3:重新启动服务器步骤4:在浏览器上运行文件注意:ini_set(“ soap.wsdl_cache_enabled”,0); This line should be called before create instance for SoapClient 在为SoapClient创建实例之前应调用此行

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SOAP 错误:解析 WSDL:无法从“http://127.0.0.1/test/index?wsdl”加载: - SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://127.0.0.1/test/index?wsdl' : SOAP 错误:解析 WSDL:无法从<URL> - SOAP-ERROR: Parsing WSDL: Couldn't load from <URL> SOAP错误:解析WSDL:无法从-XAMPP加载 - SOAP-ERROR: Parsing WSDL: Couldn't load from - XAMPP SOAP错误:解析WSDL:无法从中加载 - SOAP-ERROR: Parsing WSDL: Couldn't load from SOAP错误:解析WSDL:无法从&#39;https加载 - SOAP-ERROR: Parsing WSDL: Couldn't load from 'https SOAP错误:解析WSDL:无法从Google App Engine PHP应用程序中的“ http://…”加载 - SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://…' in Google App Engine PHP App SOAP错误:解析WSDL:无法从“ wsdl”加载:无法加载外部实体“ wsdl” - SOAP-ERROR: Parsing WSDL: Couldn't load from 'wsdl' : failed to load external entity “wsdl” SOAP错误:解析WSDL:无法从“ http://10.31.1.106:8080/gss-0.1/FileUtilities?wsdl”加载 - SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://10.31.1.106:8080/gss-0.1/FileUtilities?wsdl' 未捕获的SoapFault异常:[WSDL] SOAP-ERROR:解析WSDL无法从&#39;http://88.XXX.XXX.XXX:8080/加载 - Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL Couldn't load from 'http://88.XXX.XXX.XXX:8080/ 致命错误:未捕获的SoapFault异常:[WSDL] SOAP-ERROR:解析WSDL:无法加载 - Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM