The moose likes Web Services and the fly likes Logging with axis 1.4 and log4j. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Logging with axis 1.4 and log4j." Watch "Logging with axis 1.4 and log4j." New topic

Logging with axis 1.4 and log4j.

John Farrel
Ranch Hand

Joined: May 24, 2010
Posts: 88
I am attempting to log all outgoing web service calls and responses going through axis 1.4.

I have set my file like so:

The log4j properties are definitely being captured, as I get a jf3axis.log file.

However, I don't get the outgoing/incoming web service XML... what am I doing wrong?


Dennis Labajo

Joined: Dec 12, 2009
Posts: 27
I've done logging of this sort in the past but using jax-ws SOAPHandler and SOAPMessageContext. I'm not familiar with Axis but if you could find something equivalent in Axis that will enable you to intercept inbound/outbound soap message, I would recommend using it.
I agree. Here's the link:
subject: Logging with axis 1.4 and log4j.
jQuery in Action, 3rd edition