public function GetServiceSoapClient($serviceName, SoapClientFactory $serviceFactory) { return $serviceFactory->GenerateSoapClient($serviceName); }
public function GetService($serviceName, $version = null, $server = null, SoapClientFactory $serviceFactory = null) { $this->ValidateUser(); if ($serviceFactory === null) { if ($version === null) { $version = $this->GetDefaultVersion(); } if ($server === null) { $server = $this->GetDefaultServer(); } $serviceFactory = new DfpSoapClientFactory($this, $version, $server); } return parent::GetServiceSoapClient($serviceName, $serviceFactory); }