/** * Gets the service by its service name. * * @param string $serviceName the service name * @param SoapClientFactory $serviceFactory the service factory * * @return \SoapClient the instantiated service */ public function GetServiceSoapClient($serviceName, SoapClientFactory $serviceFactory) { return $serviceFactory->GenerateSoapClient($serviceName); }