Is there an AJAX web client that can connect to ejabberd? - ajax

I'm looking for a way to host an AJAX web client on my jabber server for people that can't install a real jabber client.
I tried JWchat but it hasn't been updated since 2004 and doesn't work anymore.

Yes there is:
Strophe.js http://strophe.im/strophejs/ is pretty much what most people use currently. You can find the code here: https://github.com/metajack/strophejs

Related

Getting HTTP 401 Unauthorized response from SOAP call using php-ews trying to connect to Exchange server

I am using the latest version (1.0.0-beta-4) of James I. Armes php-ews code (https://github.com/jamesiarmes/php-ews) to connect to a local Exchange serge (Exchange 2010 SP1). This code connects just fine to Office/365, but it is getting ah 'HTTP 401 Unauthorized' back when it tries to connect to our local Exchange server. I have seen some old entries addressing similar problems, but none with a specific answer. Any suggestions on where to look?
I remember encountering something similar, where the server that I was using threw a 401 if you the SOAP client was trying to send a combination of CURLAUTH_BASIC and CURLAUTH_NTLM. I remember the solution was to try and find the SoapClient file and changing the CURLOPT_HTTPAUTH option to either CURLAUTH_BASIC, CURLAUTH_BASIC | CURLAUTH_NTLM or CURLAUTH_NTLM until you found the setting that worked for you.
On a side note, I'd recommend you trying my alternative library, garethp/php-ews, as it provides many benefits (including simpler ways to use EWS) and I try to provide support for people on the issues page

How to develop web sockets in worklight

I have an android application developed with IBM Worklight, in which a html file is making http request every 5 seconds and fetching the data from the server. Now I wish to replace this with HTML5 web sockets. But I wish to use the Worklight capabilities.
Is there anything like HTTP Adapter in Worklight for web socket?
If not could anyone please give any pointer about how to achieve it in worklight?
Is there anything like HTTP Adapter in Worklight for web socket?
No. At least to the best of my knowledge.
If not could anyone please give any pointer about how to achieve it in
worklight?
Web Sockets are not supported on Android (2.1-4.2): http://caniuse.com/#search=web%20sockets
However, you can try a Cordova Plugin like WebSocket-for-Android. There's a blog post that may help here. I just got those links for a quick Google Search.

Websockets, Apache/wamp and PHP

I am quite new to websockets. I googled and grabbed some example code and none of them is working. All shows disconnected message despite of strictly following the tutorial rules.
I am testing from chrome, wamp and PHP 5.3.13 (php_socket is also active) on localhost, windows 7 ultimate(32bit).
What I want to ask is, do I need to configure my server to support websokets. If not what is the reason of not running it as intended?
Any kind of help is heartily welcomed!
thanks
I'd recommend you have search through StackOverflow as this question, and similar ones, have been asked quite a few times e.g.
Is native PHP support for Web Sockets available?
PHP server and websockets
Websockets & PHP
How Can a LAMP Guy Easily Implement WebSockets?

SignalR performs long polling instead of websocket in case of cross domain

When I connect to signalR hosted in same virtual directory, I get data via websocket transport. But in case of cross domain, long polling is getting used as a transport.
Here browser compatibility is not an issue as I am trying in Chrome browser.
What I can do to use websocket as a transport in case of cross domain.
I have tried every possible solution available on net, including available at signalR wiki.
https://github.com/SignalR/SignalR/wiki/SignalR-JS-Client-Hubs
Thanks David for answering my question in the comments:
Because only IIS8 supports websockets and neither SSE or ForeverFrame works cross domain so you're stuck with long polling –

XMPP (Jabber) windows client with SSO features

I'k looking for a xmpp windows client with SSO feature in a Windows Domain.
I've tried pandion but it doens't work.
You're likely looking for Kerberos 5 support. The GSSAPI SASL mechanism is how this works on the wire. I think Psi implements GSSAPI. Setting this up on the server side can be hard, so please don't assume that if it doesn't work the first time it is the client's fault.
Spark + Openfire (http://community.igniterealtime.org/docs/DOC-1362)

Resources