<div>Hi,</div>
<div> </div>
<div>I am writing a message listener that would listen (on a socket) for message comming out of an Openfire server #1 on one host to Openfire server #2 on another host. <br>Openfire server #1 is configured to send the chat message to the message listener and the message listener would read the message (thru a socket) and then <br>
forward the message to openfire server # 2. </div>
<div> </div>
<div>My initial design is to use JAXB binding compiler (xbj) to generate a set of Java classes from the XMPP XML Schemas and unmarshalling incomming xml message to the corsponding Java class. However, I am having problem generating the Java classes from the XMPP schemas (downloaded from <a href="http://xmpp.org">xmpp.org</a>) because some of the shemas contain errors. A few of the shemas that I looked at that contains errors are "component-accept.xsd", "x-data.xsd", "component-connect.xsd", "eature-neg.xsd", etc.. Also, this may not work because the message comming out from the Openfire server may not follow the schemas exactly.</div>
<div> </div>
<div>My next step is to looking into the Openfire server src code and see how the server reads in message from another server. I am a newbie to Openfire any help would greatly appreciated.</div>
<div> </div>
<div>thanks,</div>
<div>-ricky</div>
<div> </div>
<div> </div>