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