Example #1
0
 public VerifyserviceClient(EndpointConfiguration endpointConfiguration) :
     base(VerifyserviceClient.GetBindingForEndpoint(endpointConfiguration), VerifyserviceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Example #2
0
 public VerifyserviceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(VerifyserviceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Example #3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(VerifyserviceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IVerifyservice));
 }