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