/// <summary> /// /// </summary> public MFAWebServicesClient() : base(MFAWebServicesClient.GetDefaultBinding(), MFAWebServicesClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.MFAWebServicesSoapHttpPort.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(MFAWebServicesClient.GetEndpointAddress(EndpointConfiguration.MFAWebServicesSoapHttpPort)); }
/// <summary> /// /// </summary> /// <returns></returns> private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(MFAWebServicesClient.GetBindingForEndpoint(EndpointConfiguration.MFAWebServicesSoapHttpPort)); }
/// <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> /// <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); }