cancel
Showing results for 
Search instead for 
Did you mean: 

Why magento api taken long time to execute?

SOLVED

Why magento api taken long time to execute?

Why magento api taken long time to execute?

i can create catalogProductInfo api .it will load long time
?

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Why magento api taken long time to execute?

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

Problem solved? Click Accept as Solution!
www.iweb.co.uk | Magento Small Business Partner

View solution in original post

Re: Why magento api taken long time to execute?

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".

Problem solved? Click Accept as Solution!
www.iweb.co.uk | Magento Small Business Partner

View solution in original post

3 REPLIES 3

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

Re: Why magento api taken long time to execute?

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

Problem solved? Click Accept as Solution!
www.iweb.co.uk | Magento Small Business Partner

Re: Why magento api taken long time to execute?

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".

Problem solved? Click Accept as Solution!
www.iweb.co.uk | Magento Small Business Partner