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