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