for (Iterator iter = wsifMessage.getPartNames(); iter.hasNext();) {
String name = (String) iter.next();
Object value = wsifMessage.getObjectPart(name);
nmsMessage.setProperty(name, value);
}
nmsMessage.setContent(new LazyDOMSource() {
protected Node loadNode() {
return createResultDocument(exchange, nmsMessage, operationInfo, wsifMessage);
}
});
}