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