4 messages in com.googlegroups.google-talk-openRe: Preforming a service Discovery re...| Subject: | Re: Preforming a service Discovery request![]() |
|---|---|
| From: | Domenique (Dome...@gmail.com) |
| Date: | 05/18/2007 08:48:26 AM |
| List: | com.googlegroups.google-talk-open |
That's strange because the service discovery is documented on the Google code pages :
http://code.google.com/apis/talk/jep_extensions/shared_status.html
Here it describes that you should use the discovery to check if the client supports certain functionalities
Grtz
On May 18, 5:31 pm, stpeter <stpe...@gmail.com> wrote:
On May 18, 8:08 am, Domenique <Dome...@gmail.com> wrote:
Hi,
I'm creating a gtalk client and was wondering if there was anyone here that could help me with this problem :
I'm implementing the basic Extensions used by Gtalk but I can't seem to get the service discovery to work....
I'm sending the following packet to a buddy in my list that is connected with the GTalk official client :
<iq id="7v2Eu-4" to="u....@gmail.com/Talk.v104362CAD30" type="get"> <query xmlns="http://jabber.org/protocol/disco#info"/> </iq>
And this is the response I'm getting : <iq id="7v2Eu-4" to="u....@gmail.com/SmackD98F3F34" from="u....@gmail.com/Talk.v104362CAD30" type="error"> <error code="501" type="CANCEL"> <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp- stanzas"/> </error> </iq>
IIRC, the Google Talk client does not support the disco#info namespace, see here for an earlier report:
http://mailman.jabber.org/pipermail/jdev/2006-April/023477.html
Maybe test with some other Jabber clients to see if your code works properly (your XML request looks correct to me).
--stpeter




