public UbsServiceManagerSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(UbsServiceManagerSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public UbsServiceManagerSoapClient(EndpointConfiguration endpointConfiguration) : base(UbsServiceManagerSoapClient.GetBindingForEndpoint(endpointConfiguration), UbsServiceManagerSoapClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }