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