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