views:

3415

answers:

2

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.

Yes, I should be able to just delete everything from /tmp, but I don't know what else this could effect if I delete any all wsdl files.

+5  A: 

you can safely delete the WSDL cache files. if you wish to prevent future caching:

ini_set("soap.wsdl_cache_enabled", 0);

or dynamically:

$client = new SoapClient('http://somewhere.com/?wsdl', array('cache_wsdl' => 0) );
Owen
I believe that when using SoapClient, instead of hardcoding a 0, it is recommended that you use the defined constant WSDL_CACHE_NONE.See http://php.net/manual/en/soapclient.soapclient.php
Dan
A: 

Oh, thank you. You've safe my life.

Kanakorn