[JDEV] xdb + new namespace
Maciek Borowka
borowka at medialogic.it
Wed Mar 28 13:15:19 CST 2001
Hello,
We have developped our version of xdb module that fits our particular needs.
We have our own jabber client also (OK, we are going to have ;+).
Now, we would like to ask the jabber server for some informations and
we would like it to pass our query to our xdb module. I was thinking about
definition of the new namespace, but I don't know how to say the server
not to interpret it on its own, but to leave xdb take care about it. I suppose,
I will need to put something in jabber.xml file.
So, what I would like is to be able to ask the server:
<iq type='get'>
<query xmlns="jabber:iq:maciek"/> //perhaps, I should call it: jabber:x:maciek
</iq>
And have the server that pass it to xdb and then pass its reply back to client:
<iq type='result' to='me at foo.com'>
<item>my item1</item>
<item>my item2</item>
</iq>
How can I do it? Do I need actually to modify anything in jabber.xml or perhaps
the query will be passed to to xdb automaticaly?
Maciek
More information about the JDev
mailing list