简体   繁体   中英

communication between windows mobile client and winforms application throw wcf

i created a wcf service to receive gps coordinates from windows mobile 6 client and save them into data base.Every thing works fine but i'm trying to send some configuration from a winforms application to the windows mobile client. Does any one have any idea?

The WCF Service needs to be on a running Web Service (localhost is OK).

Once the WCF Service is created and running on your PC, Right-Click and add a Web Reference to your project.

网络参考

Once that is done, create a client instance of your service so you can call the public methods you created in it.

The PC running the Web Service must be able to "see" your device. See if you can PING your device:

ping

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM