disco#publish

Hello,

When I send a service discovery request to my ejabberd server, it responds with disco#publish. However, after reading the example of disco#publish in JEP-0030, so far I have failed to publish a discovery node, i have tried variations of the example but all dont work. I basically get either a feature-not-implemented or not-allowed.

Did any body experiment with disco#publish before? I would appreciate it if you have any examples.

Thanks.

Works for me

I sent this to my ejabberd 1.0.0 server (example 23 from JEP-0030):

<iq type='set' id='emacs-iq-17372.41659.521069'>
  <query xmlns='http://jabber.org/protocol/disco#items' node='jabber:iq:kids'>
    <item action='update' jid='cordelia@shakespeare.lit' name='Cordelia'/>
    <item action='update' jid='goneril@shakespeare.lit' name='Goneril'/>
    <item action='update' jid='regan@shakespeare.lit' name='Regan'/>
  </query>
</iq>

and I got a result back. When sending:

<iq to='legoscia@jabber.cd.chalmers.se' type='get' id='emacs-iq-17372.41766.950190'>
  <query xmlns='http://jabber.org/protocol/disco#items' node='jabber:iq:kids'/>
</iq>

I get the items back, as expected.

Syndicate content