[JDEV] jabber newbie need help for XDB

mike pablo jabberd2002 at yahoo.com
Mon Feb 11 14:13:15 CST 2002


David,

When I sent:

<xdb to="user1 at mylinux.com" from="mycompoment" id="0"
type="get" ns="jabber:iq:auth"></xdb>

I got back:

<xdb to="mycomponent" from="user1 at mylinux.com" id="0"
type="result" ns="jabbe
r:iq:auth"><query
xmlns="jabber:iq:auth"></query></xdb>

I also found if jabber user id begins with capital
letter the XDB response is different from above, for
example, when I sent:

<xdb to="User2 at mylinux.com" from="mycompoment" id="0"
type="get" ns="jabber:iq:auth"></xdb>

I got back:

<xdb to="mycomponent" from="User2 at mylinux.com" id="0"
type="result" ns="jabber:iq:auth"></xdb>

there is no <query> element inside <xdb> element.

Anybody can help?

Mike




>mike pablo wrote:

>>I am running Jabber-1.4.2-test2 in Redhat Linux 7.1,
I
>>have an accept component, when I send the following
>>packet from my component:
>><xdb to="user1 at mylinux.com/Work" from="mycompoment"
>>id="0" type="get" ns="jabber:iq:auth"></xdb>
>>
>Try to='user1 at mylinux.com', without the resource

>-David Waite


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



More information about the JDev mailing list