[JDEV] Registration question

Peter Saint-Andre stpeter at jabber.org
Fri Feb 16 18:07:28 CST 2001


> 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 <iq type='result'/> is a complete iq element telling you that the
registration was successful, and the id # enables you to sync it up with
the iq set that you sent in. Were you expecting further information in
the iq result, such as another query element? That isn't really required
here....

Peter

--
Peter Saint-Andre
stpeter at jabber.org




More information about the JDev mailing list