Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

How to Consume or Call a WCF Service With Basic Authentication From Windows Application

$
0
0

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.


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>