In PHP how can you clear a WSDL cache?

前端 未结 6 1546
被撕碎了的回忆
被撕碎了的回忆 2020-11-28 09:57

In through php_info() where the WSDL cache is held (/tmp), but I don\'t necessarily know if it is safe to delete all files starting with WSDL.

6条回答
  •  难免孤独
    2020-11-28 10:02

    Just for the reason of documentation:

    I have now (2014) observed that from all these valuable and correct approaches only one was successful. I've added a function to the WSDL on the server, and the client wasn't recognizing the new function.

    • Adding WSDL_CACHE_NONE to the parameters didn't help.
    • Adding the cache-buster didn't help.
    • Setting soap.wsdl_cache_enabled to the PHP ini helped.

    I am now unsure if it is the combination of all three, or if some features are terribly implemented so they may remain useless randomly, or if there is some hierarchy of features not understood.

    So finally, expect that you have to check all three to solve problems like these.

提交回复
热议问题