cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: How to get CXF to dump raw soap message before sending?
Date Mon, 24 Sep 2007 19:51:14 GMT
On Monday 24 September 2007, Ryan Moquin wrote:
> I know I can get this through some sort of intermediary like TCPMon,
> but if you use an SSL connection, TCPMon won't work.  Is there a way
> to get CXF to dump the soap message for debugging, before it gets
> encrypted?

Couple of ways:

1) Spring way: in your config file, do something like:
    <cxf:bus>
        <cxf:features>
            <cxf:logging/>
        </cxf:features>
    </cxf:bus>

2) Annotations:
On your SEI interface, you can do:
@Features( features = "org.apache.cxf.feature.LoggingFeature" )

3) You could also use the API's (or other) to add the specific 
LoggingOutInterceptor to the interceptor chain.


-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

Mime
View raw message