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