Why magento api taken long time to execute?
i can create catalogProductInfo api .it will load long time
Solved! Go to Solution.
Which api are you using SOAP, REST or XML-RPC?
If you can pase some code lines you may get some suggestions.
If you look in your access logs, are you seeing WSDL calls coming from localhost at the same time that you're using the API? It's important to have WSDL caching enabled in the admin or Magento will recreate the WSDL on every request, which can be a very, very expensive operation.
To verify that your WSDL cache is enabled, go to System > Configuration > Magento Core API > General Settings, then make sure that "Enable WSDL Cache" is set to "Yes".