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