Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(MFAWebServicesClient.GetBindingForEndpoint(EndpointConfiguration.MFAWebServicesSoapHttpPort));
 }
Beispiel #3
0
 /// <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);
 }