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