php - Calling Magento API from .Net and getting a "The HTTP service located at XYZ is too busy" error -
i working on integration between .net app , magento v 1.3.2.4. .net app has service reference magento api , seems working fine in cases. if try pull list of orders, following exception.
"the http service located @ magento api busy."
if set pagesize filter , limit request 500 records, works fine. request/response large , either server/client configuration needs updated? service reference config pasted below. i'm not sure on php/magento side check configuration of web services , haven't found in magento admin screens seems help.
does have advice on start troubleshooting this?
<basichttpbinding> <binding name="mage_api_model_server_v2_handlerbinding" closetimeout="00:01:00" opentimeout="00:01:00" receivetimeout="00:10:00" sendtimeout="00:01:00" allowcookies="false" bypassproxyonlocal="false" hostnamecomparisonmode="strongwildcard" maxbuffersize="524288" maxbufferpoolsize="524288" maxreceivedmessagesize="524288" messageencoding="text" textencoding="utf-8" transfermode="buffered" usedefaultwebproxy="true"> <readerquotas maxdepth="32" maxstringcontentlength="8192" maxarraylength="16384" maxbytesperread="4096" maxnametablecharcount="16384" /> <security mode="none"> <transport clientcredentialtype="none" proxycredentialtype="none" realm="" /> <message clientcredentialtype="username" algorithmsuite="default" /> </security> </binding> </basichttpbinding> <endpoint address="http://magentoservice.com/store/index.php/api/v2_soap/index/" binding="basichttpbinding" bindingconfiguration="mage_api_model_server_v2_handlerbinding" contract="magentoservice.mage_api_model_server_v2_handlerporttype" name="mage_api_model_server_v2_handlerport" />
if have lot of orders, you're not going able pull them without running out of memory. you're going have break , in chunks of 500, since number worked you.
you can try bumping phps memory_limit , max_execution_time settings, shouldn't try pull them @ once.
Comments
Post a Comment