Search code examples
c#asp.net.netwcf

WCF service error no endpoint listening on HTTPS


I'm trying to consume a WCF data service from another application, both are running locally on my machine. I am able to consume it from the console and visit the WCF endpoint from the browser. However, my application cannot reach the application for some reason. Both applications are running on HTTPS. Any ideas?

(Error while consuming the endpoint from the asp.net application) Service trying to access endpoint

(Consuming successfully endpoint from console with svcutil) Confirmed from console that the endpoint exists


Solution

  • it looks like i had to add <security mode="Transport" /> to the my basicHttpBinding tag in the service's web config.

    service's web config