SPML request/response logging

During the testing stages of our implementation, we would like to capture the contents of the spml request and response to a file. This will assist in debugging problems without having to ask HR to send what they've captured. Any ideas?
[244 byte] By [TD_ROC] at [2007-11-26 10:44:19]
# 1
If i remember right, doing a client.setTrace(true) prints out the request & response SPMLs (at the client side).
chits98 at 2007-7-7 2:56:19 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
Does anybody have suggestions on how to log SPML request/responses at the server side?We have multiple SPML clients, some from 3rd party vendors so we cannot control logging on the client side
gwearen at 2007-7-7 2:56:19 > top of Java-index,Web & Directory Servers,Directory Servers...