[JDEV] Java Service

Matt Diez matt at vedalabs.com
Fri Dec 22 11:18:08 CST 2000


My department is working on extending Jabber by building a Java application
which can receive and respond to <iq> requests. Presently, we are using
JabberBeans to start the implementation, but are open to other
possibilities.

We have built into the jabber.xml the following service.

   <service id="javatest">
         <host/>
         <accept>
                <ip/>
                <port>5265</port>
                <secret>test</secret>
         </accept>
   </service>

The Java application sucessfully connects to Jabber, and the XML stream is
negotiated, and the handshake is successful.

>From my understanding of services in Jabber, this would mean that a
connected Jabber user can send:
<message to="javatest" from="jabberuser">
<body>Some Text</body>
</message>

And Jabber would deliver it to the service.  

Unfortunately, this isn't quite the case, as the "javatest" service receives
no packets whatsoever after the successful handshaking.

I must ask, is there some sort of additional jabber.xml configuration
necessary? Or, perhaps, after handshaking, the application
should send to Jabber some sort of notification that it is capable of
receiving packets?

What am I doing wrong here?

Matthew D. Diez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20001222/e84f8551/attachment-0002.htm>


More information about the JDev mailing list