[JDEV] User account get automatically deleted by Jabber Server
Vincent Ong
kwong at sasoft.com.my
Tue Jul 30 04:27:09 CDT 2002
Hi All,
I am having this problem. The user that I created got deleted automatically
by the Jabber Server. Is there anything wrong with my steps? Or did i miss
out something? These are the xml that i sent:
Logon:
<iq id='logon' type='set'>
<query xmlns='jabber:iq:auth'>
<username>user</username>
<password>password</password>
<resource>home</resource>
</query>
</iq>
Setting Presence to Available:
<presence type='available' />
Sending Message:
<message to='cheryl0616 at vincent' type='text'>
<subject>Test Subject</subject>
<body>Test Body</body>
<thread>deadrat0616 at vincent</thread>
</message>
Setting Presence to UnAvailable:
<presence type='unavailable' />
Disconnect From Server:
</stream:stream>
I perform all these action together with 1 second of delay. However, I
failed to connect to the server again the second time. It seems like the
Jabber Server deleted the user automatically. I am lost. Is it because I
cannot perform all these tasks one shot? Of is there anything I have done
wrong or missed out?? Please Help.
Sincerely,
Vincent
More information about the JDev
mailing list