What is the best way to download all of the WSDL files exposed by a WCF service?
For example, the root WSDL file references the following other WSDL files:
Meanwhile, disco.exe is considered obsolete technology by Microsoft.
You can use svcutil.exe /t:metadata
to achieve the same in the WCF age. Additional benefits are support for additional features, eg WS-Policy.
Save schema from URL:
svcutil /t:metadata http://host/pathtomy.svc?wsdl
Save schema from assembly, eg in automated build:
svcutil /t:metadata c:\wcfweb\pathToWcfServiceAssembly.dll