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)
(Consuming successfully endpoint from console with svcutil)
CodePudding user response:
Take a look at the log details ,if you don't find anything new, try the following steps to check:
- Check for spelling and other similar errors.
- Check your network Settings.
- Try using IIS to host services.
CodePudding user response:
it looks like i had to add <security mode="Transport" />
to the my basicHttpBinding
tag in the service's web config.
i found the solution here: [enter link description here][1]