Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get full stack trace as Soap:fault?

 
cnivas redy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic