Question

Just using following tutorials created custom api in magento and working properly in local host
http://easyway2magento.blogspot.in/2015/04/magento-custom-api-method-to-login-as.html
But when we push this code into server and run api call according to documentation.

Its give fatal error:
Fatal error: Uncaught SoapFault exception: [3] Invalid api path. in /API2_DEV/apicall.php:7
Stack trace: #0 /API2_DEV/apicall.php(7): SoapClient->__call('call', Array) #1 /API2_DEV/apicall.php(7): SoapClient->call('cb12be9e72de1f1...', 'fcustomer.check...', Array) #2 {main} thrown in /API2_DEV/apicall.php on line 7

Please help me i am stuck here .

Was it helpful?

Solution

Finally got the solution. Have problem in api.xml and wsdl.xml files. some tags names are mismatched . cache also problem here. delete cache from magento. For cache path magento/var/cache

thanks.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top