Have you received the following error message?
The Magento installation which is acting as a SOAP server makes some SOAP client calls to itself.
These calls lookup the same domain you are accessing in your client script, but originate from the sever on which that domain is hosted and loopback to said server.
Therefore, you need to check your host file, usually at /etc/hosts for Linux distros and try to append
Your.IP.Address.Here Your.Magento.Domain (i,e
iptables allows loopback connections, especially if you try to run localhost instead of your external IP; but most likely you'll need to use the external IP address.
That's it; once the file is edited,
/etc/hosts, add the IP Address to the host file, everything should work fine.
You should receive the following message once you have properly connected:
After following these steps and you still receive the same issue, please contact your hosting provider and provide them information below.
While you can load the WSDL URL (
http://REMOTE_HOST/index.php/api/index/index/wsdl/1/) from your computer, your remote server can't contact itself via its
Magento's SOAP object needs to contact the WSDL to know which methods are exposed.
It's a common network configuration for a server to not have access to it's own DNS entries. Contact your system administrator or hosting provider to give your server access to itself.