I am trying to connect to the open fire using the smack bosh and trying to prebind the converse.js in the web page. My bosh code
BOSHConfiguration config =
I allready give this tip here and apparently it worked for him to so here it is :
I neither did have access to client.getRid/Sid. I check in jbosh sources and discover these methods didn't exist so I had to add them.
I used jbosh sources (uncompiled then recompiled after changes) and add following lines :
In com.kenai.jbosh.BOSHClient class
//I introduced a new property
private Long rid;
//commented the following code
//long rid = requestIDSeq.getNextRID();
//and at that place added
this.rid = requestIDSeq.getNextRID();
//and finally added a new getter for rid
public Long getRid() {
return rid;}
Then in smack-bosh :
In BOSHConnection.java
public Long getRid() {
return client.getRid();}
public String getSid() {
return sessionID;}