Tuesday 15 February 2011

c# - Connecting to web-service without metadata -


I want to connect to this web service

I try Has both of "add service reference" and "add web context", but in both cases the error was found:

There was an error downloading '$ metadata'.

The request with the HTTP status 404 has been unsuccessful: Not found.

Is this an extra part of the URL normally for web services or especially for WCF?

And what should I do?

Thanks in advance.

What do you need to download the WSDL file on your machine and to generate codes directly from the WSDL Use the svcutil.exe tool.

See an example of how it is done.

I believe that what you are doing is called a WSDL-first development, there is a more detailed link on it.

No comments:

Post a Comment