public MovieTitleClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(MovieTitleClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public MovieTitleClient(EndpointConfiguration endpointConfiguration) : base(MovieTitleClient.GetBindingForEndpoint(endpointConfiguration), MovieTitleClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(MovieTitleClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IMovieTitle)); }
public MovieTitleClient() : base(MovieTitleClient.GetDefaultBinding(), MovieTitleClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IMovieTitle.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(MovieTitleClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IMovieTitle)); }