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