- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why magento api taken long time to execute?
i can create catalogProductInfo api .it will load long time
?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Aaron
www.iweb.co.uk | Magento Small Business Partner
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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".
www.iweb.co.uk | Magento Small Business Partner
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Why magento api taken long time to execute?
Which api are you using SOAP, REST or XML-RPC?
If you can pase some code lines you may get some suggestions.
Problem Solved Click Accept as Solution!:Magento Community India Forum
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Aaron
www.iweb.co.uk | Magento Small Business Partner
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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".
www.iweb.co.uk | Magento Small Business Partner