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