I tried making a few modifications, like including newkey while
initiating session and sending key further there after, however I had no
success.

Finally I reduced the amount of information I transfer during session
creation request and here is what happens:

Code:
--------------------
    
  2009-02-08 15:57:47
  Sending Body>>
  <body content='text/xml; charset=utf-8' hold='1' rid='6809' to='localhost' 
wait='30' xml:lang='en' newkey='11e6a8e7c87bb50dd164e13139e92c3fd881f25a' 
xmlns='http://jabber.org/protocol/httpbind'/>
  
  2009-02-08 15:57:47
  Received Body<<
  <body xmlns='http://jabber.org/protocol/httpbind' 
sid='d3093e9765eb2a6ccc03420c3b28ebb78de1d53f' wait='30' requests='2' 
inactivity='30' maxpause='120' polling='2' ver='1.6' from='localhost' 
secure='true' authid='275797987' xmlns:xmpp='urn:xmpp:xbosh' 
xmlns:stream='http://etherx.jabber.org/streams'/>
  
  2009-02-08 15:57:48
  Sending Body>>
  <body xmlns='http://jabber.org/protocol/httpbind' 
key='33b0b91408505c7ddab2c1009be13a4f062bf780' rid='6810' 
sid='d3093e9765eb2a6ccc03420c3b28ebb78de1d53f'/>
  
  2009-02-08 15:58:18
  Received Body<<
  <body xmlns='http://jabber.org/protocol/httpbind'/>
  
--------------------


I end up getting an empty response from the server, which as per
Example 5 in the document here http://xmpp.org/extensions/xep-0124.html
means server has no stanza waiting or ready to be delivered.

I am totally confused and foxed. I don't know where am I doing wrong. I
am just at the basic step but nthing seems to work. :(


-- 
imoracle

------------------------------------
JAXL - Jabber XMPP Library in PHP
http://code.google.com/p/jaxl
------------------------------------
------------------------------------------------------------------------
imoracle's Profile: http://www.jabberforum.org/member.php?userid=17412
View this thread: http://www.jabberforum.org/showthread.php?t=1426

Reply via email to