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