Skip to main content

Posts

Showing posts from 2019

Call web service from CRM with windows authentication - Sample Code

Call wcf web service with windows authentication - Sample Code Sample Code to Consume Web Service private SurveyWrapperServiceClient CreateClientService()         {             try             {                 SurveyWrapperServiceClient _WrapperClient = new SurveyWrapperService.SurveyWrapperServiceClient();                 string Domain = WebConfigurationManager.AppSettings["SurveyModule.ProxyDomain"].ToString();                 string User = WebConfigurationManager.AppSettings["SurveyModule.ProxyUser"].ToString(); ;                 string Password = EncryptionHelper.GetDecodedText(WebConfigurationManager.AppSettings["SurveyModule.ProxyUserPassword"].ToString());                 _ WrapperClie...