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