我正在访问SOAP Web服务,如:
$client = new Zend_Soap_Client($wsdl_url, array('proxy_host'=>"virtual-browser.25u.com" , 'proxy_port'=>80));
由于我的共享服务器阻止端口8888,我正在使用此代理服务器。但是Zend Soap Client尝试直接连接它。
Exception information:
Message: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://abs..oup.com:8888/clsRSchedule.soap?wsdl' : failed to load external entity "http://abs..oup.com:8888/clsRSchedule.soap?wsdl"
Stack trace:
#0 /home/..../library/Zend/Soap/Client/Common.php(51): SoapClient->SoapClient('http://abslive3...', Array)
#1 /home/..../library/Zend/Soap/Client.php(1024): Zend_Soap_Client_Common->__construct(Array, 'http://abslive3...', Array)
#2 /home/..../library/Zend/Soap/Client.php(1180): Zend_Soap_Client->_initSoapClientObject()
#3 /home/..../library/Zend/Soap/Client.php(1104): Zend_Soap_Client->getSoapClient()
#4 [internal function]: Zend_Soap_Client->__call('ReturnDataSet', Array)
我做错了什么?
修改我看到此old bug标记为已修复。