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