private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(SigortamWcfClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ISigortamWcf)); }
public SigortamWcfClient(EndpointConfiguration endpointConfiguration) : base(SigortamWcfClient.GetBindingForEndpoint(endpointConfiguration), SigortamWcfClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }