简体   繁体   English

WCF服务可以向基于Linux的C ++客户端应用程序提供发布/订阅活动吗?

[英]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.

相关问题 在基于 Linux 的发行版上签署 Windows 应用程序 - Signing Windows application on Linux-based distros C#Windows窗体应用程序无法从基于Linux的服务器正确读取文件 - C# Windows Form Application not reading files correctly from Linux-based server 从服务Linux C ++打开应用程序 - Opening an application from service linux c++ 通过调制解调器连接到基于 Linux 的服务器 - Connecting to a Linux-based server over a modem 试图将使用X11的基于Linux的开源C ++项目移植到OSX中。 我已经安装了XQuartz:现在呢? - Trying to port a linux-based open source C++ project that uses X11 into OSX. I've installed XQuartz: now what? 如何在Docker Hub中过滤基于Windows或Linux的容器? - How can I filter on Windows-based or Linux-based containers within Docker Hub? 如何为window构建一个基于linux的程序? - how to build a linux-based program for window? 基于Linux的域管理解决方案? - Linux-based solution for domain management? 基于Linux的RDBMS,用于偶尔连接的复制 - Linux-based RDBMS for Occasionally Connected Replication 如何提高在 Windows 10 上运行 R 脚本的基于 Linux 的 Docker 桌面容器的性能? - How can I improve the performance of Linux-based Docker Desktop containers running R scripts on Windows 10?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM