Search code examples
wcfservice-reference

There was an error downloading metadata from the address


I am trying to add service reference.

There was an error downloading metadata from the address

this is the error which is being displayed again and again?

Please help


Solution

  • There are atleast 4 possibilities:

    • The metadata exchange mex endpoint is not defined
    • metadata exchange is not enabled
    • You are using the wrong address
    • You are being blocked by some security setting

    Try the url in a browser to see that it returns a wsdl