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