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