[JDEV] Jabber-client:unable to authenticate user

Alessio Sudetti alesud at yahoo.it
Wed May 28 05:04:10 CDT 2003


Hi,
I don't know very well the meaning of resource tag element but I use only
simple string like "name of my application".
My java client work. Try.

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