[JDEV] Negotiate implementing problems

Ulrich Staudinger chicago5 at gmx.de
Fri Oct 11 16:32:33 CDT 2002


Casey Crabb wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm trying to implement JIDLink in my client and I'm having a small
> problem.  JIDLink depends on JEP20 (Negotiation). I've implemented
> Negotiation like I think it should work, but sending any iq packet with
> a query xmlns of jabber:iq:negotiate immediately returns a 503 (service
> not available). I don't receive anything on the other end.
> 
> Example:
> user1 at host.org sends
> <iq type='get' id='neg1' to='user2 at host.org'>
> ~  <query xmlns='jabber:iq:negotiate'>
> ~    <feature type='jabber:iq:jidlink'>
> ~      <option>dtcp-active</option>
> ~      <option>dtcp-passive</option>
> ~    </feature>
> ~  </query>
> </iq>
> 
> The server immediately returns:
> <iq to='user1 at host.org' type='error' id='neg1' from='user2 at host.org'>
> ~  <query xmlns='jabber:iq:negotiate'>
> ~    <feature type='jabber:iq:jidlink'>
> ~      <option>dtcp-active</option>
> ~      <option>dtcp-passive</option>
> ~    </feature>
> ~  </query>
> ~  <error code='503'>Service Unavailable</error>
> </iq>
> 
> user2 at host.org NEVER receives any packet.
> 
> Does jabberd not pass along abitrary iq packets? Am I missing something
> completely?
> 

I am really not sure about this, but i think i remember packets with
namespace jabber:* are not supported, if the server's implementation
doesn't?

ulrich


> - --
> Casey
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.0 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQE9p9a2UidG/HUEju8RAnwTAKCAbPvZLYv0cAJrNy4NGyQNXoKx4ACgpgA5
> ekXObpmIcM3mAqS7K3g4iug=
> =qwch
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list