/// <summary> /// /// </summary> /// <param name="endpointConfiguration"></param> /// <param name="remoteAddress"></param> public MFAWebServicesClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(MFAWebServicesClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
/// <summary> /// /// </summary> /// <returns></returns> private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(MFAWebServicesClient.GetBindingForEndpoint(EndpointConfiguration.MFAWebServicesSoapHttpPort)); }
/// <summary> /// /// </summary> /// <param name="endpointConfiguration"></param> public MFAWebServicesClient(EndpointConfiguration endpointConfiguration) : base(MFAWebServicesClient.GetBindingForEndpoint(endpointConfiguration), MFAWebServicesClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }