public HiltonRoomServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(HiltonRoomServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(HiltonRoomServiceClient.GetBindingForEndpoint(EndpointConfiguration.HiltonRoomServiceSoapHttpPort)); }
public HiltonRoomServiceClient(EndpointConfiguration endpointConfiguration) : base(HiltonRoomServiceClient.GetBindingForEndpoint(endpointConfiguration), HiltonRoomServiceClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }