使用 svcutil 为 wcf 4 创建扁平化的 WSDL [英] Create flattened WSDL using svcutil for wcf 4

查看:15
本文介绍了使用 svcutil 为 wcf 4 创建扁平化的 WSDL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个没有额外 xsd 文件的 wsdl 作为外部文件,但将它们全部放在一个文件中.我需要这个,因为它们将由 Delphi 的 WSDL 导入器导入,这已经过时了.我可以使用 svcutil.exe 执行此操作吗?如果 svcutil 无法实现,有什么办法可以做到吗?我见过基于 WCF 3.5 的非常旧的示例,但我不知道它们是否仍然适用.
太感谢了

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

推荐答案

这似乎是本周的热门话题.有几篇关于如何生成扁平化 wsdl 的文章,但是 这篇文章 应该可以帮助您入门.文章中的代码适用于 WCF 4.对于创建此行为的实际代码(无关)博客文章 几乎所有这些都需要.

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.

这篇关于使用 svcutil 为 wcf 4 创建扁平化的 WSDL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆