BUGFIX: A SoapServer will cache the wsdlFile when it is first initialized and never get updated if the constructor is not explicitly passed in 'cache_wsdl' as WSDL_CACHE_NONE.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74487 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Normann Lou 2009-04-15 03:06:53 +00:00 committed by Sam Minnee
parent a7cd85b06a
commit d78fecdfe6

View File

@ -60,7 +60,7 @@ class SapphireSoapServer extends Controller {
fwrite($fh, $wsdl);
fclose($fh);
$s = new SoapServer($wsdlFile);
$s = new SoapServer($wsdlFile, array('cache_wsdl' => WSDL_CACHE_NONE));
$s->setClass($this->class);
$s->handle();
}