aspose file tools*
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
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get full stack trace as Soap:fault?