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