[JDEV] Negotiate implementing problems

Justin Karneges justin-jdev at affinix.com
Sat Oct 12 04:19:44 CDT 2002


Hi Casey,

You must specify a resource when sending an iq packet to a client.

-Justin

> 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>




More information about the JDev mailing list