Thanks Pete i sent an IQ get to the sever with just the username but i still received the same error from the server. ......<stream:error>Invalid Namespace</stream:error></stream>
I'm unable to figure out the reason for Invalid Namespace.... Rajeev "Peter Mottram" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You need to send an IQ get to the server 1st with just the username > included & then once you receive the IQ result from the server you can > send an IQ set to authenticate. Have a look at JEP-0078.... > > http://www.jabber.org/jeps/jep-0078.html > > R. > PeteM > > On Wed, 28 May 2003, Rajeev wrote: > > > 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 > > [EMAIL PROTECTED] > > http://mailman.jabber.org/listinfo/jdev > > _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
