I have deployed a WebService in WebSphere application server. When I request WebService with invalid operation name, I get correct error message "Error: Could not resolve to an operation." But along with this error message I am also getting lot of unwanted stack trace in <faultstring> which could be security threat; faultstring, for example, includes EAR/WAR name with actual path in the server, classloader name, everything in class path get displayed in <faultstring>. Here is what I get:
Is there any way to tell WebSphere server not to include stack trace in faultstring? Please help.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: How to remove stack trace from faultString in WebSphere