Document doc = builder.build(getResourceAsStream("/org/codehaus/xfire/xmpp/echo.xml"));
MessageContext context = new MessageContext();
OutMessage msg = new OutMessage(id + "/" + peer2);
msg.setSerializer(new SoapSerializer(new JDOMSerializer()));
msg.setBody(doc);
channel1.send(context, msg);
for (int i = 0; i < 100; i++)