有关可能的WCF和Jabber互操作性的问题 [英] Question regarding possible WCF and Jabber interoperability

查看:128
本文介绍了有关可能的WCF和Jabber互操作性的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,这实际上是我在MSDN上的第一篇文章,我真的不确定是否要使用WCF实现我想做的事情.

本质上,我是要做的是编写一个可用作Jabber聊天客户端的ASP.NET网页.我需要它能够来回转换XMPP消息,以中继状态信息,键入状态,花名册信息和基本消息传递.我想尝试使用WCF服务作为后端,该后端从服务器接收消息,然后将它们转换为ASP.NET页,还从用户那里接收输入并将它们转发给服务器,这将如何处理就像普通的用户客户端一样.

同样,我也不完全确定这样做的可行性,因此非常感谢将我指向正确方向的任何尝试.

谢谢提前

Hello, this is actually my first post here on MSDN and I'm really unsure of wether or not what I'm trying to do is feasible with WCF or not.

Essentially, what I'm wanting to do, is to write an ASP.NET webpage that would function as a Jabber Chat client. I would need it to be able to do back and forth translation of XMPP messages to relay the presence information, typing status, roster information, and basic messaging. I'd like to try to do this with a WCF service as the backend that receives messages from the server and then translates them to the ASP.NET page and also receive inputs from the user and forward them off to the server, whihc would treat it like a normal user client.

Again, I'm not entirely sure how feasible this would be, and any attempt to point me in the right direction would be very much appreciated.

Thanks in advance

推荐答案

Onnij,

巧合的是,我目前的宠物项目正在为WCF编写XMPP绑定,重点关注 XEP- 0060 (发布-订阅)和
Hi Onnij,

 Quite a coincidence, my current pet project is writing a XMPP binding for WCF, with focus on XEP-0060 (Publish-Subscribe) and XEP-0072 (SOAP over XMPP).

It is really early in the project (and I'm on paternity leave at the moment, so I have to take care of my son during day time), but I currently looking into using agXMPP for the real XMPP communication. My first impression of the library is that it is a bit messy and poorly documented - so it may be that I'll write my own lightweight XMPP library.

The plan was to put it on www.codeplex.com if I get it working - I'll give you update later.

 --larsw


这篇关于有关可能的WCF和Jabber互操作性的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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