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