aspose file tools*
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
Author

Logging with axis 1.4 and log4j.

John Farrel
Ranch Hand

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

I have set my log4j.properties 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?

John

Dennis Labajo
Greenhorn

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.
 
 
subject: Logging with axis 1.4 and log4j.