cachingmagentomagento-soap-api

Refresh Magento cache via SOAP API


I am coding a sync tool for Magento that utilizes the SOAP-API. So far I can insert, delete and update products and product images, but the changes don't show up until I flush the block HTML output cache. Is there a way to do that via the SOAP-API or do I have to do that manually every time I synchronize with the shop?


Solution

  • Every time I change something in the SOAP API I have the following routine on linux:

    1. rm -rf var/cache/* - this command is deleting all the magento cache
    2. rm -rf /tmp/wsdl-* this command is finding the cached version of the soap api and is deleting it no worries after first check of the web service the files will be regenerated.