private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(CucCliCadastroPessoaClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ICucCliCadastroPessoa)); }
public CucCliCadastroPessoaClient(EndpointConfiguration endpointConfiguration) : base(CucCliCadastroPessoaClient.GetBindingForEndpoint(endpointConfiguration), CucCliCadastroPessoaClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }