[JDEV] Negotiate implementing problems
Casey Crabb
debug at nafai.dyndns.org
Sat Oct 12 03:00:54 CDT 2002
-----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?
- --
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-----
More information about the JDev
mailing list