I'm using axis2 and trying to add custome exception to my service but the client get only axisFault exception.
I generated wsdl from this service code:
And generated skeleton from the created wsdl. Inside the generated skeleton for my service I caught my myWebServicesException and throw axis2 generated class myWebServicesExceptionException0
public void myService( com.enigma.webservices.sdk.service.myService myService0 ) throws myWebServicesExceptionException0
After the exception is thrown from the skeleton it arrived to generated code myServiceMessageReceiverInOut.java
Here you can see it convert my exception to AxisFault object
In my client I never get to myWebServicesExceptionException0 only to AxisFault
Any idea why I can't get myWebServicesException ?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: How to use custome exceptions with axis2?