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