This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
My axis2 web services throws an AxisFault for authentication failure. The response returned is HTTP 500 - Internal Server error. I have the task to return fault but change the status on response to 200.
I have tried several things but nothing helped:
1. Subclassed AxisServlet and override doPost and set the status on response to 200
2. Override handleFault and set the response to 200.
3. Set the property Constants.HTTP_RESPONSE_STATE on messageContext to 200
Any help is appreciated. This issue is haunting me.