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