I tried <iq type='get' from='[EMAIL PROTECTED]' to='jabber.org' id='dico'> <query xmlns='http://jabber.org/protocol/disco#items'/></iq>
but it doesn't work !!! Now I am doing <iq type='get' from='[EMAIL PROTECTED]' to='jabber.org' id='dico'> <query xmlns='http://jabber.org/protocol/disco#items'/></iq> without the from attribute and it works !! Thanks !!! Thanks, and sorry for the inconvenience. PS I have chat ... but I don't have mu-chat ... haven't made myself clear ... ================================== DISCONSIDER THE REST OF THIS EMAIL I HAD A SUCESSFULL IQ WHEN I WAS WRITING THIS EMAIL ... HEHE ... ================================== Yes, I do understand that this is something that I am doing wrong, not questioning the jabberd implementation ... Take a look at my xml negotiation, is this right ? ============= client ================ 1) client opening stream =================================== <stream:stream to='jabber.org' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>" ============= server ================ 2) server opening stream too =================================== <stream:stream xmlns='jabber:client' xml:lang='en' xmlns:stream='http://etherx.jabber.org/streams' from='jabber.org' id='3E7A272C2A70C' > ============= client ================ 3) client sending plain text authentication =================================== <iq id='login' type='set'><query xmlns='jabber:iq:auth'><username>ra017335</username> <password>mypassword</password> <resource>shockwave</resource> </query> </iq> ============= server ================ 4) server answering that authentication is ok =================================== <iq id='login' type='result'/> ============= client ================ 5) client asking to receive service discovery =================================== <iq type='get' from='[EMAIL PROTECTED]' to='jabber.org' id='dico'> <query xmlns='http://jabber.org/protocol/disco#items'/></iq> ============= halt ================ connection is still on, but server doesn't respond anything ... =================================== Is this stream negotiation enougth to receive the service discovery JEP or am I doing something wrong ? On 7/27/05, Julien PUYDT <[EMAIL PROTECTED]> wrote: > 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 > -- f u cn rd ths u cn b a gd prgmr ! _______________________________________________ jdev mailing list [email protected] http://mail.jabber.org/mailman/listinfo/jdev
