[JDEV] Problem with jabber:iq:time request to a client

David Soulayrol david.soulayrol at ago.fr
Mon Feb 10 11:09:10 CST 2003


I've got a problem with IQ requests with jabber:iq:time namespace when addressed
to a client (on Jabber 1.4.2).

The following chunk asks time to my server:
<iq type='get' to='qubacca'>
  <query xmlns='jabber:iq:time' />

The answer is ok:
<iq type='result' to='testclient at qubacca/Gabber' from='qubacca'>
  <query xmlns='jabber:iq:time'>
    <display>Mon Feb 10 16:52:12 2003</display>

But when i send the same chunk to a client, i receive:
<iq type='error' to='testclient at qubacca/Gabber' from='client at qubacca/clientrs'>
  <query xmlns='jabber:iq:time'/>
  <error code='503'>Service Unavailable</error>

I have read the chapter on jabber:iq:time in "Programming Jabber", where it is
said to specify the resource in the JID... But, resource or not, I receive the
same 'Service unavailable'.

The problem is the same when I send a IQ with the 'jabber:iq:version' namespace.
Where am I wrong ?


More information about the JDev mailing list