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