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