Hi, 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. 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 forward the message to openfire server # 2.
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 xmpp.org) 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. 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. thanks, -ricky
_______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________
