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