[JDEV] Unregister from a service

Todd Miller toddmi at ikano.com
Thu Mar 22 13:47:41 CST 2001


What is the proper XML for removing a service?  Here is what I am doing
currently, but I get the following error.

SENT >>>: <iq type="set" id="REMOVESERVICE" to="yahoo.jabber.org"><query
xmlns="jabber:iq:register"><key>MyKey</key><remove/></iq>

RECV <<<: <iq type='error' id='REMOVESERVICE' to=MyJID
from='yahoo.jabber.org'><query
xmlns='jabber:iq:register'><remove/><key>MyKey</key></query><error
code='406'>Not Acceptable</error></iq>

Thanks,

Todd





More information about the JDev mailing list