[JDEV] Jabber-client:unable to authenticate user

Alessio Sudetti alesud at yahoo.it
Wed May 28 05:08:12 CDT 2003


Hi,

I recive the same error when i send the authentication message after the
open stream message like this
<stream:stream to='192.168.12.31'
		xmlns='jabber:client'
		xmlns:stream='http://etherx.jabber.org/streams'>

Alesud

-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
Rajeev
Sent: Wednesday, May 28, 2003 11:13 AM
To: jdev at jabber.org
Subject: [JDEV] Jabber-client:unable to authenticate user


Hi all

I'm working on a jabber client using java. I've already registered a user on
the
jabberd-1.4.2 server. Now if i try to authenticate the user by sending the
following xml programatically

<iq id='auth' type='set'>
  <query xmlns='jabber:iq:auth'>
    <username>userName</username>
    <password>userPassword</password>
    <resource>some IP address</resource>
  </query>
</iq>

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?

Thanking in advance
Rajeev



_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev




More information about the JDev mailing list