WCF双工服务和Android客户端?任何posibilities [英] WCF Duplex service and Android client? Any posibilities

查看:162
本文介绍了WCF双工服务和Android客户端?任何posibilities的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个 WCF双工服务并在客户端.NET和它的做工精细和pretty也不错。结果
现在,我想使一个Android客户端。我用的 KSOAP previously为Web服务,而这些都是很好的客户服务连接。结果
但在案件的双面通信,其中的我需要的服务来发送消息到客户端,我不知道如何实现。结果
任何人都可以请帮我在清理这件事。结果
谢谢

I have created a WCF duplex service and client in .NET and its working fine and its pretty good also.
Now I wish to make an Android client. I have used kSoap previously for webservices and those are good for client to service connections.
But in the case of duplex communication in which I need the service to sent message to client, I dont know how to implement.
Can anybody please help me in clearing this up.
Thank you

推荐答案

不幸的是没有一个双工绑定的互操作性

Unfortunately none of the duplex bindings are interoperable

在这一点上轮询可能是你最简单的选择。再往下行,也许你可以使用类似的WebSockets(WCF支持他们的下一个版本 - 4.5)

At this point polling might be your simplest option. Further down the line maybe you could use something like WebSockets (WCF supports them in the next version - 4.5)

这篇关于WCF双工服务和Android客户端?任何posibilities的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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