Пример #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(AndromedaServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IAndromedaService));
 }
Пример #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(AndromedaServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IAndromedaService));
 }
Пример #3
0
 public AndromedaServiceClient(EndpointConfiguration endpointConfiguration) :
     base(AndromedaServiceClient.GetBindingForEndpoint(endpointConfiguration), AndromedaServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #4
0
 public AndromedaServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(AndromedaServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #5
0
 public AndromedaServiceClient() :
     base(AndromedaServiceClient.GetDefaultBinding(), AndromedaServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IAndromedaService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }