We created a wcf service with two endpoints one for http for internal users and the other for https for external users.
When the service is viewed in the browser using https , svcutil.exe metadata path is pointing to http instead of https. Moreover, I am not able to add this service through service reference screen as well. I configured the wcf service like in the link. How to correct the svcutil.exe path.