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