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