[jdev] Problem in adding a group

Ganesh Kundapur ganesh.kundapur at gmail.com
Thu Mar 1 02:52:05 CST 2007


Hi all,
    I wanted to know wheather is it possible to add only groups without any
jid's by sending the fallowing stanza

<iq type="set" id="311432316575"> <query xmlns="jabber:iq:roster">
 <item>
    <group>myfreinds</group>
    <group>Family</group>
 </item>
</query>
</iq>

If i send the above stanza, I'm getting the fallowing error message from the
server
--
<iq xmlns='jabber:client' id='311432316575' type='error'> <error
type='modify' code='400'><bad-request
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error><query
xmlns='jabber:iq:roster'> <item> <group>myfreinds</group>
 <group>Family</group>
</item>
</query>
</iq>

Is there any way to add only groups and is it possible to create a new
contact list ( roster ) in jabber?

Regards,
Ganesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20070301/3fb9a537/attachment-0002.htm>


More information about the JDev mailing list