Gets the service by its service name.
public GetService ( string $serviceName, string $version = null, string $server = null, SoapClientFactory $serviceFactory = null ) : SoapClient | ||
$serviceName | string | the service name |
$version | string | the version of the service to get. If null, then the default version will be used |
$server | string | the server to make the request to. If null, then the default server will be used |
$serviceFactory | SoapClientFactory | the factory to create the client. If null, then the built-in SOAP client factory will be used |
return | SoapClient | the instantiated service |