Samuel Goto a écrit :
I belive I have completed the IM Protocol.
   1)  chat, etc )

You have IM but no chat!?

   2) I've connected to the server, started the <stream>, logged and
then sent a

<iq type='get'
    from='[EMAIL PROTECTED]/orchard'
    to='plays.shakespeare.lit'
    id='info1'>
  <query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
as suggested on the JEP documentation but got no response from the
server ... I was expecting to receive all the services avaiable, but
got nothing ... I tought something was wrong with my server, so I
tried on jabber.org ... no response either ... what am I donig wrong ?

Two things I notice in your xml node:
1) you probably shouldn't set the "from" yourself ;
2) the "to" should be the name of your server (or "jabber.org", if it's with jabber.org you tried).

I just tried <iq type='get' to='localhost' id='info0'><query xmlns='http://jabber.org/protocol/disco#info'/></iq> to my local server (hence the localhost) and received: <iq from='localhost' to='[EMAIL PROTECTED]/JabberHelper' id='info0' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='server' type='im' name='ejabberd'/><feature var='ejabberd:config'/><feature var='http://ejabberd.jabberstudio.org/protocol/configure'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/stats'/><feature var='iq'/><feature var='jabber:iq:last'/><feature var='jabber:iq:register'/><feature var='jabber:iq:time'/><feature var='jabber:iq:version'/><feature var='presence'/><feature var='presence-invisible'/><feature var='vcard-temp'/></query></iq>

So you see it _is_ possible to get an answer, when asking correctly ;-)

Cheers,

JP
_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to