You can setup various caching options to improve the performance for resolving WSDL and authentication tokens.
First of all, you can setup the internal SoapClient (PHP) caching values.
Example 793. WSDL cache options
<?php
Zend_Service_DeveloperGarden_SecurityTokenServer_Cache::setWsdlCache(
[PHP CONSTANT]
);
The [PHP CONSTANT] can be one of the following values:
WSDL_CACHE_DISC: enabled disc cachingWSDL_CACHE_MEMORY: enabled memory cachingWSDL_CACHE_BOTH: enabled disc and memory cachingWSDL_CACHE_NONE: disabled both caching
If you also want to cache the result for calls to the SecuritTokenServer
you can setup a Zend_Cache instance and pass it to the
setCache().
Example 794. SecurityTokenServer cache option
<?php
$cache = Zend_Cache::factory('Core', ...);
Zend_Service_DeveloperGarden_SecurityTokenServer_Cache::setCache($cache);




