예제 #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(UsuarioWSClient.GetEndpointAddress(EndpointConfiguration.UsuarioWSPort));
 }
예제 #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(UsuarioWSClient.GetBindingForEndpoint(EndpointConfiguration.UsuarioWSPort));
 }
예제 #3
0
 public UsuarioWSClient(EndpointConfiguration endpointConfiguration) :
     base(UsuarioWSClient.GetBindingForEndpoint(endpointConfiguration), UsuarioWSClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #4
0
 public UsuarioWSClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(UsuarioWSClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #5
0
 public UsuarioWSClient() :
     base(UsuarioWSClient.GetDefaultBinding(), UsuarioWSClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.UsuarioWSPort.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }