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