如何连接到一个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.