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