// Write out response
//==== SS start : what this line is used for??? - causes memory leak, as no removeLogEntry is called ====
// log.addLogEntry(responseMessageEntry);
//==== SS end ===
StringReader responseReader =
new StringReader(responseMessageEntry.toXMLString(""));
logWriter.write(responseReader);
// Display message
printMessage(responseMessageEntry);