Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I've written an MFC application where an ASP .NET Web Service is consumed by the application.

1. Web reference is added through Visual Studio "Add Web Reference".
2. Object of localhost is used to call the web service API.

This application works fine.


But as soon as i enable SSL setting for Web service the client MFC application is unable to process/call the web service. Although the web service is still accessible through web browser through HTTPS. Browser gives a popup message "There is problem with website security certificate". On click of "Continue to this website(not recommended)" the web page opens.


As this is the first time for me developing Web Service can anybody help me in achieving the same when the SSL setting is enabled.

Thanks.
Posted

thanks,

I've already tried this solution but my question is to call the api from a pure MFC code without /clr target. Is it possible to do the same.
Thanks..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900