Folks;
I'm trying to get an Apache CXF (2.4.6) client to work with a web
service provided by one of our partners and, so far, fail. I am not
really sure why it fails, I only see that the web service in some error
situations doesn't return SOAP Faults but rather plaintext messages
which is a _rather_ helpful thing yet unfortunately something I can't
quickly fix.
However, I'm by now trying to figure out how to make CXF simply dump all
of its SOAP request and response messages for the sake of seeing what
happened. The client runs inside an application context in a Glassfish
v3.1 server and works well in most situations already. Concerning
Logging, however, I feel a bit lost. So far I already tried virtually
everything I could figure out by reading documentation, including
... adding various -D<whatever> options to my Glassfish <jvm-options> in
order to do as I intend to do,
... removing most of the logging configuration in the application
context (which natively uses slf4j and logback), and
... using the META-INF/cxf/org.apache.cxf.Logger file, both for slf4j or
for log4j.
Logback is configured by now to log virtually everything to STDOUT so
the messages should appear where everything else appears, too (in the
Glassfish server.log), yet - they don't. Spent most of the afternoon
trying, yet still I fail making the CXF output anything more verbose
than INFO statements. And I feel like giving up at the moment. Is there
anything essential I am missing here? Any hints, no matter which, are
greatly appreciated.
Thanks for your time and all the best,
Kristian