Warning: SoapClient::SoapClient(http://AWSECommerceService.wsdl): failed to open stream: Connection refuse

View: New views
1 Messages — Rating Filter:   Alert me  

Warning: SoapClient::SoapClient(http://AWSECommerceService.wsdl): failed to open stream: Connection refuse

by majjed2000 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

I am trying to using PHP5's Soap to get some info from Amazon.

The script which I wrote is attached. The script works OK when I run it on my localhost using PHP 5.2.9-1 and Apache 2.0.63. But, when I upload the same script into my actual online website, I've got this Warning:

Warning: SoapClient::SoapClient(http://webservices.amazon.com/AWSECommerceService/US/AWSECommerceService.wsdl) [soapclient.soapclient]: failed to open stream: Connection refused in /home/hudson/pg/d700vtj/public_html/ws/extSeller.php on line 23
++++++++++++++++++++++++++++++++++++++++++++++++
Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "http://webservices.amazon.com/AWSECommerceService/US/AWSECommerceService.wsdl" in /home/hudson/pg/d700vtj/public_html/ws/extSeller.php on line 23
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://webservices.amazon.com/AWSECommerceService/US/AWSECommerceService.wsdl' : failed to load external entity "http://webservices.amazon.com/AWSECommerceService/US/AWSECommerceService.wsdl" in /home/hudson/pg/d700vtj/public_html/ws/extSeller.php:23 Stack trace: #0 /home/hudson/pg/d700vtj/public_html/ws/extSeller.php(23): SoapClient->SoapClient('http://webservi...') #1 {main}
+++++++++++++++++++++++++++++++++++++++++++++++

actually, I am not sure if the problem from my script or from the host server. The host server is using (Apache/2.2.11 (Fedora) port:80) and PHP Version 5.2.9 with SOAP enabled.


Any help would be appreciated.


Many thanks, Majed