[JDEV] Jabber-client:unable to authenticate user
Ralph Siemsen
ralphs at blueairnetworks.com
Wed May 28 06:23:10 CDT 2003
Rajeev wrote:
> I'm receiving the following response from the server:
>
> <?xml version='1.0'?><stream:stream
> xmlns:stream='http://etherx.jabber.org/streams' id='3ED4669B'
> xmlns='jabber:client'><stream:error>Invalid
> Namespace</stream:error></stream:stream>
>
> Can someone tell me the solution to this problem?
Judging from this reply packet, you have not sent the stream header
before you send your IQ packet. It is necessary to establish the stream
first, before you can do anything else with it. You must send a
<stream:stream> tag with appropriate attributes. It will be something
like this:
<stream:stream
to='yourjabberservername'
xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams'>
THEN you can send the IQ packets.
-R
More information about the JDev
mailing list