Hi, I am currently writing my own java client which is nothing more than
a simple test
for what Im really interested in, and that is a very solid java
connnection package.
(I know al sutton has one, but I prefer my design over his...nothing
personal al :-)
At any rate, my big question right now revolves around conferences.
Holy crap, is the
documentation that I have read on
www.jabber.org not
helping me :-|
Im coding for 1.4 and all Im trying to do is enter an already created
conference.
I start with the documented
<iq type='get'
to='[EMAIL PROTECTED]'>
<enter xmlns='jabber:iq:conference'/>
</iq>
which gets me the proper result in the documentation
(http://docs.jabber.org/draft-proto/html/conferencing.html)
next I do :
<iq type='set' to='[EMAIL PROTECTED]'>
<enter xmlns='jabber:iq:conference'>
<nickname>wayner</nickname>
</enter>
</iq>
this gives me forbidden error.
so I change nickname to nick (cause thats what the response actually gave
me)
and same error.
realising the doc is in draft state, and it may be out of date, I
then
fire up winjab, run my server in debug mode and see whats up.
At this point, I realise it is not an enter iq but rather a query
iq
(that is what winjab sends) so I do this :
<iq type='set' to='[EMAIL PROTECTED]'>
<query xmlns='jabber:iq:conference'>
<nickname>wayner</nickname>
</query>
</iq>
and
<iq type='set' to='[EMAIL PROTECTED]'>
<query xmlns='jabber:iq:conference'>
<nick>wayner</nick>
</query>
</iq>
I still get a forbidden error. Does anyone have any advice for
me? Im kind
of at a loss.
One thing I should note actually is that the nick/nickname element
actually
looks like <nick xmlns="">wayner</nick> because my
dom library seems to want
to do that if there is an xmlns somewhere in the node tree. But I
don't think
that should really matter.
Wayner
P.S.
My apologies if this has been asked before...I am knew to this
list.
P.P.S.
like al, when I am done my connection package, I plan on making it public
somehow.
- Re: [JDEV] conferences Wayne Pinette
- Re: [JDEV] conferences Iain Shigeoka
- Re: [JDEV] conferences Wayne Pinette
- Re: [JDEV] conferences David Waite
- Re: [JDEV] conferences Wayne Pinette
- Re: [JDEV] conferences David Waite
