I think using this in your cxf-bean will log both request and responses.
<cxf:bus>
<cxf:features>
<cxf:logging/>
</cxf:features>
</cxf:bus>
Thanks
Rama
-----Original Message-----
From: Arik Gorelik [mailto:[email protected]]
Sent: Monday, October 26, 2009 3:30 PM
To: [email protected]
Subject: logging incoming requests in CXF
Hello,
What is the best and most efficient way to LOG the incoming SOAP
requests?
Is there an existing interceptor that I can use?
I've wrote my own interceptor in the RECEIVE Phase where I simply obtain
the request XML from the message's InputStream and dump that into the
"Logger", but I dont think that is the most efficient way of
accomplishing my goal.
Any suggestions? I am currently on CXF 2.2.4.
Thank you.
Arik.