skip to Main Content

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

2

Answers


  1. Chosen as BEST ANSWER

    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


  2. Take a look at the log details ,if you don’t find anything new, try the following steps to check:

    1. Check for spelling and other similar errors.
    2. Check your network Settings.
    3. Try using IIS to host services.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search