[JDEV] Registration question
John C. Wojtulewicz
jcw at ideamakers.com
Fri Feb 16 17:49:09 CST 2001
I've noticed a problem when creating new accounts on a server. It seems
that the final IQ tag doesn't finish sending. Heres my session XML
SENDING : <stream:stream to="jabber.server" xmlns="jabber:client"
xmlns:stream="http://etherx.jabber.org/streams">
INCOMING: <?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' id='3A8D9A0D'
xmlns='jabber:client' from='jabber.server'>
SENDING : <iq type="get" id="JCOM_2"><query
xmlns="jabber:iq:register"></query></iq>
INCOMING: <iq type='result' id='JCOM_2'><query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this
server.</instructions>
<name/>
<email/>
<username/><password/></query></iq>
SENDING : <iq type="set" id="JCOM_3"><query
xmlns="jabber:iq:register"><username>UserName</username><password>Pass</pass
word><resource>Resource</resource><instructions/><name>NickName</name><email
/></query></iq>
INCOMING: <iq type='result' id='JCOM_3'/>
The final IQ type tag doesn't seem to be finished sending although the
connection is good and the session can proceed. But without the finished
tag I don't get the OnConnect event to start the presence and roster
processes. I have tried with the jabber.org server also and the same
happens so I don't believe it's a issue with my server alone.
John Wojtulewicz
More information about the JDev
mailing list