public DBserviceSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(DBserviceSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(DBserviceSoapClient.GetBindingForEndpoint(EndpointConfiguration.DBserviceSoap)); }
public DBserviceSoapClient(EndpointConfiguration endpointConfiguration) : base(DBserviceSoapClient.GetBindingForEndpoint(endpointConfiguration), DBserviceSoapClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }