error with SoapClient
Posted: Tue Jan 04, 2011 2:36 pm
Hello, I am having some trouble with SoapClient.
When I make a new object it takes forever and returns an error message.
[text]Parsing WSDL: Couldn't load from 'http://soap.amazon.com/schemas2/AmazonWebServices.wsdl' :
failed to load external entity "http://soap.amazon.com/schemas2/AmazonWebServices.wsdl"[/text]
I have tried searching for answers and haven't found anything. I have all the modules in php installed, I don't know if they are correctly configured.
I have soap, libxml, curl.
So I tried just to do a file_get_contents and that times out also saying HTTP request failed. I have the allow_url_fopen On.
This all works if I am just doing it all local. By the way I don't really know how all this works. Also I am using php 5.3.3 and ubuntu maverick.
It works on windows xamp and a mac in the same office. I can't get the SoapClient to work on my machine.
Oh and I also tried doing a CURL call and it pulled all the info correctly.
Thanks for any input
When I make a new object it takes forever and returns an error message.
[text]Parsing WSDL: Couldn't load from 'http://soap.amazon.com/schemas2/AmazonWebServices.wsdl' :
failed to load external entity "http://soap.amazon.com/schemas2/AmazonWebServices.wsdl"[/text]
I have tried searching for answers and haven't found anything. I have all the modules in php installed, I don't know if they are correctly configured.
I have soap, libxml, curl.
So I tried just to do a file_get_contents and that times out also saying HTTP request failed. I have the allow_url_fopen On.
This all works if I am just doing it all local. By the way I don't really know how all this works. Also I am using php 5.3.3 and ubuntu maverick.
It works on windows xamp and a mac in the same office. I can't get the SoapClient to work on my machine.
Oh and I also tried doing a CURL call and it pulled all the info correctly.
Thanks for any input