[英]Can a WCF Service provide publish/subscribe activity to a Linux-based C++ client application?
I have a WCF service written to provide certain functionality to intranet-based clients. 我编写了WCF服务,以为基于Intranet的客户端提供某些功能。 This is easy when a client is running Windows.
当客户端运行Windows时,这很容易。 I want to implement the same functionality for my Windows clients that is available to my linux clients.
我想为Windows客户端实现与Linux客户端相同的功能。 My questions are?
我的问题是?
How can I communicate to a linux c++ based client (supporting callback operations for a publish subscribe) type situation? 如何与基于linux c ++的客户端(支持针对发布订阅的回调操作)类型的情况进行通信? I am aware of using SOAP over the HTTPBinding but is that the only way (does not support callbacks I believe)?
我知道在HTTPBinding上使用SOAP,但这是唯一的方法(我相信不支持回调)吗?
Would the same apply if I were using TCPBinding on the service-side? 如果我在服务端使用TCPBinding,是否同样适用? Currently, the service is set up using TCP but what are my options for the linux client communcation?
当前,该服务是使用TCP设置的,但是对于Linux客户端通信,我有哪些选择?
I read somewhere that messages can also be sent (via webservices I believe) in XML rather than SOAP? 我读过某个地方的消息,也可以使用XML而不是SOAP(通过我相信的Web服务)发送消息吗? Which would be a better approach or how to determine which is a better approach?
哪种方法更好?如何确定哪种方法更好?
I am trying to understand the options I would have for a WCF data service if I wanted to communicate with it from a linux client. 如果我想从linux客户端与WCF数据服务进行通信,我试图理解该选项。 I appreciate all your help.
感谢您的帮助。
Thank You, 谢谢,
Jeremy 杰里米
On the linux side Mono is developing WCF functionality but it is not finished yet 在Linux方面,Mono正在开发WCF功能,但尚未完成
http://go-mono.com/status/ http://go-mono.com/status/
On the c side there is a WCF template, but I think that it only supports basicHttpBinding 在c端有一个WCF模板,但我认为它仅支持basicHttpBinding
http://www.blinnov.com/2008/01/22/wcf-service-unmanaged-client/en/ http://www.blinnov.com/2008/01/22/wcf-service-unmanaged-client/zh/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.