This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

faultDetail element and custom exceptions

 
madhup narain
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An exception in my webservice is coming under the faultDetail element.
Should the custom exception come under this element ?
Is there any way i can retrieve this exception.



 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Madhup,
All your business exceptions thrown from web service would come as SOAP Faults. SOAPFault has got many methods to retrieve it's fields. For example, to get fault detail, use getDetail().
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!