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