Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Logging with axis 1.4 and log4j.

 
John Farrel
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic