This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have written a soap handler for a web service I am calling. I have the log level set as fatal for handleFault method. How do I print the request message along with the fault message when a fault happens?
What about just logging it and the print that as you choose.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Nov 10, 2007
Bosun Bello wrote:What about just logging it and the print that as you choose.
Sorry, I did not understand. Currently I have the code as below. If you look at it, when there is a fault, logToSystemOut2 method is called and the fault (either inbound or outbound) is printed. I want to print the request messsage only if there is a fault. How can I do it?