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