[JDEV] retrieving name from server
Jason Anderson
jason at guanosoft.org
Mon Apr 22 13:18:00 CDT 2002
JOSS 1.4.2 and 1.4.1 (tried both) running on RedHat 7.2
I don't have any server problems that I know of. I'm asking because I'm
working on a client.
jason
Thomas Muldowney wrote:
> Server details?
>
> --temas
>
>
> On Sun, 2002-04-21 at 20:16, Jason Anderson wrote:
>
>>I'm trying to retrieve the name of the logged-on user from the jabber
>>server, but I can't figure it out. Here's what I'm doing:
>>
>>-connect
>>-authorize
>>-set presence
>>-try a query like this:
>><iq type='get' to='localhost'>
>> <query xmlns='jabber:iq:register'/>
>></iq>
>>
>>The result is:
>> <iq to="zwei at localhost/Home" from="localhost" type="result">
>><query xmlns="jabber:iq:register">
>><instructions>Choose a username and password to register with this
>>server.</instructions>
>><password></password>
>><name></name>
>><email></email>
>><key>00c46204ce5a85a2a4ea0a6d6249642446006454</key>
>><registered></registered>
>></query>
>></iq>
>>
>>I have a name set, but it is never returned to me. Maybe I should be
>>using the browse protocol. Can anyone suggest what the problem might be?
>>
>>Thanks,
>>jason
>>
>>_______________________________________________
>>jdev mailing list
>>jdev at jabber.org
>>http://mailman.jabber.org/listinfo/jdev
>
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
> .
>
More information about the JDev
mailing list