WCF Duplex service and Android client? Any possibilities

怎甘沉沦 提交于 2019-12-12 03:47:51

问题


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.


回答1:


Unfortunately none of the duplex bindings are interoperable

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)



来源:https://stackoverflow.com/questions/10561054/wcf-duplex-service-and-android-client-any-possibilities

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