[JDEV] Help with deletting the jabber accounts

Amarnath Yara amarny at hotmail.com
Wed Aug 23 16:02:56 CDT 2000


Hi all, I am trying to develop a simple client with jabberbeans. I have been 
able to create new account on the jabber server but could not remove the 
account. When I send IQ with remove request and key, I am getting the error 
message " Not Acceptable ". The test program for the creating and deleting 
an account is giving the following response. BTW the test program is a 
modification of jtest3. Any help is appreciated...

Amar.

CLDebug: Connecting...
CLDebug: Connected!
Connection succeeded!

PLDebug: Sent Packet : <?xml version='1.0'?><stream:stream to="phoenix" 
xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams">
Send requested for IQ Registration key

PLDebug: Sent Packet : <iq id="0" type="get"><query 
xmlns="jabber:iq:register"></query></iq>
Send requested for the creating of new account

PLDebug: Sent Packet : <iq id="1" type="set"><query 
xmlns="jabber:iq:register"><password>ast2</password><name>gan</name><key>911c94f91c5dee29cac47763efb102b9fa1126d8</key><username>ast1</username></query></iq>

PLDebug: RECEIVED PACKET!!! : <iq id="0" type="result"><query
xmlns="jabber:iq:register"><instructions>Choose a username and password to 
register with this 
server.</instructions><password/><name/><email/><key>911c94f91c5dee29cac47763efb102b9fa1126d8</key><username/></query></iq>
PLDebug: RECEIVED PACKET!!! : <iq id="1" type="result"></iq>

Send reuested for the deletion of acc

PLDebug: Sent Packet : <iq id="2" type="set"><query 
xmlns="jabber:iq:register"><remove/><key>911c94f91c5dee29cac47763efb102b9fa1126d8</key></query></iq>

PLDebug: RECEIVED PACKET!!! : <iq id="2" type="error"><query 
xmlns="jabber:iq:register"><remove/><key>911c94f91c5dee29cac47763efb102b9fa1126d8</key></query><error 
code="406">Not Acceptable</error></iq>



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





More information about the JDev mailing list