[JDEV] Jabber-client:unable to authenticate user
Rajeev
rajeevt at cressanda.com
Wed May 28 04:12:55 CDT 2003
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
More information about the JDev
mailing list