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