Hi,
May be you could write a generic adapter module and use it in receiver channel to write both request and responses into a PI local file system. You could use <message-id>_Request.xml and <message-id>_Response.xml as file names
BTW, what is your scenario flow
//BR,
Praveen Gujjeti