mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
a7cd85b06a
commit
d78fecdfe6
@ -60,7 +60,7 @@ class SapphireSoapServer extends Controller {
|
|||||||
fwrite($fh, $wsdl);
|
fwrite($fh, $wsdl);
|
||||||
fclose($fh);
|
fclose($fh);
|
||||||
|
|
||||||
$s = new SoapServer($wsdlFile);
|
$s = new SoapServer($wsdlFile, array('cache_wsdl' => WSDL_CACHE_NONE));
|
||||||
$s->setClass($this->class);
|
$s->setClass($this->class);
|
||||||
$s->handle();
|
$s->handle();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user