Hi,
Can someone give me sample code to consume/call a wcf service with Basic Authentication (Need to Pass UserName and Password)
from windows Forms application.
Actually when I am trying to add service reference to below WCF Service URL I am getting error as Operation Timed out.
https://webservice.abc.gov.sa/abcfinance.finance.svc?wsdl
The instructions written in the document of Service Provider are below.
This ABC Service can be accessed over HTTPS Certificate using TLS V1.2.
This ABC service can be accessed through basic authentication over HTTPS.