我应该如何从 .NET CF 3.5 Windows 应用程序连接到 .NET 1.1 Webservice?

发布于 2024-09-26 01:43:27 字数 285 浏览 0 评论 0原文

我有一个 .NET Compact Framework 1.0 中的 Windows 应用程序。我已使用 .NET 转换向导将应用程序迁移到 .NET CF 3.5 (VS 2008)。 CF 1.0 应用程序连接到在 .NET 1.1 中开发的 Web 服务。当我尝试连接到 CF 3.5 应用程序中的同一 Web 服务时,会导致“远程服务器未响应 (503)”错误。谁能帮我解决这个问题吗?我还比较了两个版本的“References.cs”文件。他们是一样的。我应该在 .NET 3.5 或 VS 2008 中进行任何配置更改吗?

谢谢

I have an windows application in .NET Compact Framework 1.0. I have migrated the application to .NET CF 3.5 (VS 2008) using the .NET conversion wizard. The CF 1.0 application connects to a web service developed in .NET 1.1. When I tried to connect to the same web service in CF 3.5 application it results in "Remote Server is not responding (503)" error. Can anyone help me out in this? Also I compared the "References.cs" file of both versions. They are same. Is there any configuration change that I should I do in .NET 3.5 or VS 2008?

Thanks

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

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

发布评论

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

评论(1

请止步禁区 2024-10-03 01:43:27

显然,要做的第一件事是确保 Web 服务仍然按预期运行,浏览到服务器上的定义。

接下来,我将从 WSDL 定义更新 Web 参考,以确保您拥有良好版本的 Web 参考。

1.1 和 2.0/3.5 之间存在一些差异,例如动态端点的配置,但不会影响基本通信。

否则,它应该可以工作。毕竟,Web 服务的理念是不依赖于服务器类型。

Obviously the first thing to do is ensure that the web service is still running as expected, browsing to the definition on the server.

Next I would update the web reference from the WSDL definition to ensure that you have a good version of the Web Reference.

There are a few differences between 1.1 and 2.0/3.5 such as configuration of dynamic endpoints, but none should affect basic communications.

Otherwise, it should just work. After all that is the idea of a web services is that there isn't a dependency on the type of server.

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