[JDEV] Re: Jabber.xml DTD ?

Gerard BUNEL gerard.bunel at ago.fr
Tue May 15 11:03:44 CDT 2001


> Is there, somewhere, a DTD for he jabber.xml file ?
>
> I'm discovering some features in the JDEV archives
> but it's a little hard to inspect the whole archives

Here is a more detailed question regarding what as to be put in the
jabber.xml file

I did search how to handle jabber:iq:auth request
I found it in the archives where an answer is to define a service like this

(which uses accept, there)

<service id"myservice">
  <hosts/>
    <accept>
        <port>5263</port>
        <secret>test</secret>
    </accept>
</service>

Then in the <jsm ...> section add

    <auth>myservice</auth>

And it works OK.

Now I want to also handle some XDB requests
So I define a section like this

<xdb id="my_xdb">
    <hosts/>
    <accept>
        <port>5264</port>
        <secret>test</secret>
    </accept>
</xdb>

And it also works OK.

But I should like to open only one port.
So isn't it possible to share the same port for a service handling the
jabber:iq:auth requests and the XDB requests ?






More information about the JDev mailing list