Reputation: 4364
I am new to WCF
but I am trying to download metadate
of some service.
I am using svcUtil
application found here on my computer C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin
When I click on the file to open command line tool. It runs and scroll some lines of commands but after that the svcUtil
closes down.
Anyone came across this before. Any help will be appreciated
Upvotes: 0
Views: 467
Reputation: 3757
svcUtil is a command line, so you need to open a command prompt in order to execute it.
Open the Developer Command Prompt and execute svcUtil passing you WCF address, like this:
svcutil http://yourdns/service.svc
or
svcutil /dconly http://yourdns/service.svc
Read more here: https://msdn.microsoft.com/en-us/library/aa347733%28v=vs.110%29.aspx
Hope it helps.
Upvotes: 1