Wednesday, September 15, 2010

Soap api use in magento

This was a very big problem for me. Soap client is running in the local host but it's not working in live server.
In be4 i used this code
$proxy = new SoapClient("http://navsoft.co.in/ironore/api/soap/?wsdl");
but it's not running at last i have solved it
i use this code
$proxy = new SoapClient("http://192.168.0.65:80/ironore/api/soap/?wsdl");
where 192.168.0.65 is the local ip of navsoft.co.in now the magic point is that you have to put the port number which is 80 . after that it will run in the server.

No comments:

Post a Comment