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