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