private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(NotaWSClient.GetEndpointAddress(EndpointConfiguration.NotaWSPort)); }
public NotaWSClient(EndpointConfiguration endpointConfiguration) : base(NotaWSClient.GetBindingForEndpoint(endpointConfiguration), NotaWSClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }