【发布时间】:2011-11-23 07:47:24
【问题描述】:
我将 Zend 框架下载到我的 Windows 服务器...
现在我尝试将它与这段代码一起使用:
// generate secret auth token
require_once 'Zend/Soap/Client.php';
$soapClient = new Zend_Soap_Client('http://TheSite.com/webservice.php?wsdl');
$response = 0;
$response = $soapClient->authorise('KEY');
if($response){//we are authorised
echo $response;
}
我得到了这个奇怪的致命错误:
致命错误:未捕获的 SoapFault 异常:[Sender] D:\inetpub\vhosts\gossipbingo.net\httpdocs\GossipApp\tests\vip-store\Zend\Soap\Client.php 中的最大执行时间超过 30 秒: 995 堆栈跟踪:#0 D:\inetpub\vhosts\gossipbingo.net\httpdocs\GossipApp\tests\vip-store\Zend\Soap\Client.php(995): Zend_Soap_Client::_doRequest() #1 [内部函数]: Zend_Soap_Client->_doRequest(Object(Zend_Soap_Client_Common), '_doRequest('_soapCall('authorise', Array, NULL, NULL, Array) #5 [internal f in D:\inetpub\vhosts\gossipbingo .net\httpdocs\GossipApp\tests\vip-store\Zend\Soap\Client.php 在第 995 行
【问题讨论】:
标签: php web-services zend-framework soap zend-soap