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