从工作流服务中提取合同接口(WF 4.0)

发布于 2024-09-11 22:32:12 字数 104 浏览 0 评论 0原文

我有一个使用 WF 4.0 创建的工作流服务,并且需要从中提取一个典型的 WCF 装饰接口,其中包含所有操作。我需要它用于测试目的。 有没有办法从工作流服务中提取装饰界面?

谢谢

I have a workflow service created with WF 4.0 and the need to have a typical WCF decorated interface extracted from it, containing all operations. I need it for testing purposes.
Is there a way to extract a decorated interface from a workflow service?

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浪荡不羁 2024-09-18 22:32:12

如果从非 WF4 客户端应用程序添加服务引用,它将生成包括服务接口的正常客户端项。另一种方法是自行针对服务运行 SvcUtil。服务项目本身没有服务接口 CS 文件,所有必需的 WCF 工件都是在运行时基于 XAMLX 文件生成的。

If add a service reference from a non WF4 client application it will generate the normal client items including the service interface. Another way of doing the same is running SvcUtil against the service yourself. There is no service interface CS file in the service project itself, all of the required WCF artifacts are generated at runtime based on the XAMLX file instead.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文