Ejemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(HQServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IHQService));
 }
Ejemplo n.º 2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(HQServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IHQService));
 }
Ejemplo n.º 3
0
 public HQServiceClient(EndpointConfiguration endpointConfiguration) :
     base(HQServiceClient.GetBindingForEndpoint(endpointConfiguration), HQServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Ejemplo n.º 4
0
 public HQServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(HQServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Ejemplo n.º 5
0
 public HQServiceClient() :
     base(HQServiceClient.GetDefaultBinding(), HQServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IHQService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }