robbiehanson/XMPPFramework — Issue #6: Prebind, xmppframework and openfire
Author: jrsfiend
Created: 2011-12-14 22:59:52+00:00
State: open

Hi

We're trying to implement XMPP over BOSH for our product. The Strophe.js javascript library works fine for our needs on the WWW site. We request a prebind, it's delivered and then we use Strophe's 'attach' method to start our session - then we're able to update presence and send/receive messages. On the iOS side of things, we're using your XMPPFramework which includes a BOSH transport, but there's no attach method.

I was wondering if anyone's tried prebinding (which I have working in iOS) and then using the provided SID/RID and known or provided JID to get passed authentication and be able to update presence and send/receive messages. I have the XMPP Framework sending/receiving messages fine when I authenticate to Openfire using a known username/password, but the dynamics of our systems require we use a prebind.

Any thoughts would be greatly appreciated. I've also posted more details here: http://stackoverflow.com/questions/8511974/openfire-prebind-robbiehanson-xmppframework-using-bosh-not-working