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