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

[email protected] (majjed2000)
Newsgroups php.soap
Message-ID <[email protected]>
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

  
-- 
View this message in context: http://www.nabble.com/Warning%3A-SoapClient%3A%3ASoapClient%28http%3A--AWSECommerceService.wsdl%29%3A-failed-to-open-stream%3A-Connection-refuse-tp24507826p24507826.html
Sent from the Php - Soap mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.