Example #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(UsuarioWSClient.GetEndpointAddress(EndpointConfiguration.UsuarioWSPort));
 }
Example #2
0
 public UsuarioWSClient(EndpointConfiguration endpointConfiguration) :
     base(UsuarioWSClient.GetBindingForEndpoint(endpointConfiguration), UsuarioWSClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }