Heim >Backend-Entwicklung >PHP-Tutorial >javascript - 接口Uncaught SoapFault exception 是什么问题?

javascript - 接口Uncaught SoapFault exception 是什么问题?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 20:06:541297Durchsuche

调用接口有时候报这个错

<code>Uncaught SyntaxError: Unexpected token </code>
<code><br>
<b>Fatal error</b>:  Uncaught SoapFault exception: [HTTP] Could not connect to host in /data/vhosts/dyactive2.vip.*****.com/inc/library/interface/check_verify.php:36
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://webservi...', 'http://test-uri...', 1, 0)
#1 [internal function]: SoapClient->__call('checkSessionid', Array)
#2 /data/vhosts/dyactive2.vip.****.com/inc/library/interface/check_verify.php(36): SoapClient->checkSessionid('136274824', '1EFE297625341D0...')
#3 /data/vhosts/dyactive2.vip.****.com/inc/library/functions.php(436): check_verify::getUserInfo('1EFE297625341D0...')
#4 /data/vhosts/dyactive2.vip.****.com/webroot_dynamic/common_iface.php(65): islogin()
#5 /data/vhosts/dyactive2.vip.****.com/webroot_dynamic/2016/fanle/index.php(81): _init_class('Index', Array, Array)
#6 {main}
  thrown in <b>/data/vhosts/dyactive2.vip.****.com/inc/library/interface/check_verify.php</b> on line <b>36</b><br></code>

回复内容:

调用接口有时候报这个错

<code>Uncaught SyntaxError: Unexpected token </code>
<code><br>
<b>Fatal error</b>:  Uncaught SoapFault exception: [HTTP] Could not connect to host in /data/vhosts/dyactive2.vip.*****.com/inc/library/interface/check_verify.php:36
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://webservi...', 'http://test-uri...', 1, 0)
#1 [internal function]: SoapClient->__call('checkSessionid', Array)
#2 /data/vhosts/dyactive2.vip.****.com/inc/library/interface/check_verify.php(36): SoapClient->checkSessionid('136274824', '1EFE297625341D0...')
#3 /data/vhosts/dyactive2.vip.****.com/inc/library/functions.php(436): check_verify::getUserInfo('1EFE297625341D0...')
#4 /data/vhosts/dyactive2.vip.****.com/webroot_dynamic/common_iface.php(65): islogin()
#5 /data/vhosts/dyactive2.vip.****.com/webroot_dynamic/2016/fanle/index.php(81): _init_class('Index', Array, Array)
#6 {main}
  thrown in <b>/data/vhosts/dyactive2.vip.****.com/inc/library/interface/check_verify.php</b> on line <b>36</b><br></code>

令牌?方便贴一下代码吗

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn