如何连接到一个WebService从Windows Mobile 6.0的设备 [英] How to connect to a Webservice from a Windows Mobile Device 6.0

查看:188
本文介绍了如何连接到一个WebService从Windows Mobile 6.0的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个Windows移动应用程序(6.5),它连接到一个Web服务通过GPRS承载我在主服务器上。 web服务使用Windows应用程序中测试成功。

I would like to create a windows mobile application (6.5) which connect to a webservice via GPRS hosted on my server at home. The webservice was tested successfully using a windows application.

有人能指导我该怎么办,因为我不知道该怎样继续的想法。
部分的代码将是非常赞赏。

Can someone please guide me what should I do because I have no idea of how to proceed. Some code will be very appreciated.

感谢

推荐答案

如果服务是一个标准的XML或WCF服务,然后只需在项目的树中的参考节点上单击鼠标右键,选择添加Web引用就像你有一个桌面项目。这将创建代理类,你然后你就可以在你的应用程序中使用,再次就像一个桌面应用程序

If the service is a standard XML or WCF service, then simply right-click on the "References" node in the project's tree and select "Add Web Reference" just like you would with a desktop project. This will create the proxy classes for you which you can then use in your application, again just like a desktop application.

MSDN甚至有这些步骤的教程。

如果您已经试过这一点,并遇到的具体的问题,可随时提供更多的细节,我们可以帮助你。

If you've tried this and are having specific problems, feel free to provide more detail and we can help you out.

这篇关于如何连接到一个WebService从Windows Mobile 6.0的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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