如何向.Net CF 2.0应用程序添加WCF服务的引用?

发布于 2024-09-04 17:24:01 字数 103 浏览 1 评论 0原文

.net CF 2.0 应用程序不理解 WCF 代理。因此,需要先将其转换为 ASMX 代理,然后将其添加为 .net CF 2.0 应用程序的参考。 但这是理论上的。需要知道具体的操作步骤。

The .net CF 2.0 application does not understand the WCF proxy. So, it neds to be converted to ASMX proxy first and then to be added as reference to .net CF 2.0 application.
But this is in theory. Need to know the exact steps of how to do it.

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

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

发布评论

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

评论(2

陌路黄昏 2024-09-11 17:24:01

这是一篇关于如何使用 netcfsvcutil.exe 执行此操作的好文章。

http://www.codeproject.com/KB/WCF/netcfwcf.aspx

Here's a good article on how to do it with the netcfsvcutil.exe.

http://www.codeproject.com/KB/WCF/netcfwcf.aspx

青柠芒果 2024-09-11 17:24:01

在您的 .net CF 2.0 项目中,您应该能够为基于 WCF 的服务添加 WSDL 引用。完成此操作后,该项目应该构建一个与 .net CF 2.0 兼容的代理。

In your .net CF 2.0 project, you should be able to add a reference the WSDL for the WCF-based service. Having done that, the project should build a .net CF 2.0-compatible proxy.

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