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