WCF - Compact Framework - Pull data from mobile client

Posted by jagse on Stack Overflow See other posts from Stack Overflow or by jagse
Published on 2010-05-19T19:47:54Z Indexed on 2010/05/19 19:50 UTC
Read the original article Hit count: 449

Filed under:
|
|
|

Hello guys, I want to communicate xml serialized objects from the server to the client and the other way arround. Now it is (probably) easy to invoke methods from a mobile client (compact framework) using WCF, but is there a way so that the server can invoke methods on the client side or some other way to pull data from the client? I know that callback contracts are not available in the compact framework as you can see here: http://blogs.msdn.com/andrewarnottms/archive/2007/09/13/calling-wcf-services-from-netcf-3-5-using-compact-wcf-and-netcfsvcutil-exe.aspx

Originally I thought of socket programming and of developing this by myself, then someone here mentioned WCF. But it seems like WCF only would work in a non mobile environment as I need callbacks.

Anyone can help me with this? Is it possible to develop a two way communication with a desktop server and multiple mobile clients using WCF, or will I have to do socket programming?

Thanks for any advice or any kind of help!

© Stack Overflow or respective owner

Related posts about wcf

Related posts about compact-framework