Just follow below two steps:
-
Add missing HTTPS binding in IIS. Go to IIS > Website > Bindings >
Add Binding.
See below screenshot. -
Now, Add
serviceBehaviours
inweb.config
file like below:<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>