This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes how to get full stack trace as Soap:fault? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "how to get full stack trace as Soap:fault?" Watch "how to get full stack trace as Soap:fault?" New topic
Author

how to get full stack trace as Soap:fault?

cnivas redy
Greenhorn

Joined: Apr 19, 2008
Posts: 17
I have a question with Axis 1.4. I'm not able to see the full stack trace of the exception. I mean in the soap:fault string it showing the exception class name and exception name. but how to get the full stack trace in the soap fault. while using Axis2 ... I made changes in web-inf/conf/axis2.xml. but I'm not able to find the solution in Axis1.4 where can i configure to get the full stack trace as soap:fault string.
Pierluigi Vernetto
Greenhorn

Joined: Mar 21, 2002
Posts: 6
There are some meditations on this topic here:
http://www.coderanch.com/t/452162/Web-Services/java/extract-exception-caused-SOAP-fault

I fact I am under the impression that returning the stacktrace is very much vendor-specific,
weblogic does it this way:

bea_fault:stacktrace

http://javamonamour.blogspot.com/2010/04/way-web-service-returns-stacktrace-in.html

not sure about Axis, but surely standardization would be welcome since it's a very useful info!
 
Don't get me started about those stupid light bulbs.
 
subject: how to get full stack trace as Soap:fault?