[JDEV] Unregister from a service

Kerem HADIMLI waster at iname.com
Thu Mar 22 15:56:54 CST 2001


AFAIK, you should send your details filled, too. Such as password etc. in
order to unregister. Just send all the fields, and also a <remove/> with them,
it should work.

Regards,
Kerem HADIMLI

Todd Miller wrote:
> 
> 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
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

-- 
If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's a design philosophy.





More information about the JDev mailing list