How to connect to a Webservice from a Windows Mobile Device 6.0

元气小坏坏 提交于 2019-12-02 04:12:22

问题


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.

thanks


回答1:


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 even has a tutorial for these steps.

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



来源:https://stackoverflow.com/questions/3289906/how-to-connect-to-a-webservice-from-a-windows-mobile-device-6-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!