I need to create a wsdl without the extras xsd files as external files, but have them all inside a single file. I need this because they will be imported by Delphi's WSDL importer, that is quite out-of-date. Can I do this using svcutil.exe? If it's not possible with svcutil, is there any way to do this? I have seen very old samples, based on WCF 3.5, but I don't know if they still apply.
Tks so much
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
This seems to be a popular topic this week. There are several articles on how to generate flattened wsdl but this article should get you started. The code in the article will work for WCF 4. For the actual code to create the behavior this (unrelated) blog post is pretty much all this needed.