Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WCF _how to add user and password to the specific call in order to get the data

$
0
0

I use add reference service to call to this service,when I do it for services that doesn't have user and password I was able to get the data but since that this service needed to provide user and password I was not able to get data from it ,how should i add the credentials like user and password to the service ?

var service = new DAYSP_05_SRV_Entities(new Uri("https://vmw3844.stp:44350/svt/odata/DAYSP_05_SRV/User") );

when I use the same logic for service without user and password I was able to get the data...


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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