2011-08-19 81 views
1

我在做基於這個例子有些SOAP練習:http://www.vankouteren.eu/blog/2009/03/simple-php-soap-example/SOAP練習。致命錯誤:未捕獲的SOAPFault異常:[WSDL] SOAP的錯誤:解析

但是,我不能讓這對WAMP工作。

錯誤,我得到的是:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: 
Couldn't load from 'http://footballpool.dataaccess.eu/data/info.wso?WSDL' : 
failed to load external entity "http://footballpool.dataaccess.eu/data/info.wso?WSDL" 
in C:\Documents and Settings\USER\Desktop\Dropbox\wamp\soap\index.php:5 Stack trace: 
#0 C:\Documents and Settings\USER\Desktop\Dropbox\wamp\soap\index.php(5): SoapClient->SoapClient('http://football...') 
#1 {main} thrown in C:\Documents and Settings\USER\Desktop\Dropbox\wamp\soap\index.php on line 5 

5號線:$client = new SoapClient("http://footballpool.dataaccess.eu/data/info.wso?WSDL");

谷歌大叔不知道答案。任何建議非常感謝。

回答

2

該主機上的端口8080似乎已關閉,這將是問題所在。與他們聯繫。

實際上,嘗試使用代理服務器是這樣的:

$client = new SoapClient(「http://someaddress?WSDL」, array(‘proxy_host’ => 「example.proxy.com」,’proxy_port’ => portnumber)); 
相關問題