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