Monday, April 26, 2010

Disable stack traces in web services SOAP Fault message

Do not want show the exception stack traces in web services SOAP fault? Add this into the JVM arguments,
-Dcom.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace=false

No comments: