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