/** * Disable wsdl caching by PHP. * * {@inheritdoc} */ protected function getSoapClient($wsdlUrl, array $options = []) { $options['cache_wsdl'] = WSDL_CACHE_NONE; if (!isset($options['login'], $options['password'])) { $options = array_merge($options, $this->auth); } if (!empty($this->bundleConfig['sync_settings']['skip_ssl_verification'])) { $context = stream_context_create(['ssl' => ['verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true]]); $options['stream_context'] = $context; } return parent::getSoapClient($wsdlUrl, $options); }
/** * Disable wsdl caching by PHP. * * {@inheritdoc} */ protected function getSoapClient($wsdlUrl, array $options = []) { $options['cache_wsdl'] = WSDL_CACHE_NONE; if (!isset($options['login'], $options['password'])) { $options = array_merge($options, $this->auth); } return parent::getSoapClient($wsdlUrl, $options); }