• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Return a User defined Exception from Axis2 web service method  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am using Apache's Axis2 for developing Webservices .

I have a Method which accepts two coordinates and returns a String .
The implementation of the method is such that , if no data is found by the passing Coordinates , i need to return a Custom Exception called as "NoAreaFoundException"

But the problem is that , it is returning me only AxisFaultException but not my CustomException .
Please tell me as how to resolve this .

Thanks .

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!