How can we help you today?

How to Flush the WSDL Cache

Created by: Jesper Verkade

Modified on: Tue, 14 Jan, 2020 at 10:59 AM


The WSDL cache is used for API soap calls to Magento. In some very rare cases this cache can get corrupted, causing errors on all API calls to Magento. In most of the cases this causes one of the following errors:

  • Resource path not callable
  • Invalid API path
  • Is not a valid method

This can be resolved in some cases by removing the WSDL cache file so this file is refetched with the next api call. To clear the WSDL cache, remove the cache files in /tmp:

rm /tmp/wsdl-*

NB: This does not solve the following error: SOAP error: Parsing WSDL: Couldn’t load from "": failed to load external entity. This error is related to Magento not being able to access it’s own API

J
Jesper is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.