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