Beispiel #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(FHTWServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding));
 }
Beispiel #2
0
 public FHTWServiceClient(EndpointConfiguration endpointConfiguration) :
     base(FHTWServiceClient.GetBindingForEndpoint(endpointConfiguration), FHTWServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }