I am using Axis 2 web service vastly. We have our own validator to validate the input request xml and response back to the user with proper response xml. In case of validation failure the user get the user friendly message in
SOAP output.
But we tried to post one empty XML to the web service link. We have received the following error in the response.
We want to make it a proper user friendly response. But the problem is, the error is responded back before it's hitting MessageReceiver class. I believe it's getting the error in transport phase of SOAP message.
What I should override to catch this exception ?How to change it to the user friendly error message ?
Please help me to find out the solution.