You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by de...@apache.org on 2006/05/02 16:21:25 UTC

svn commit: r398942 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java

Author: deepal
Date: Tue May  2 07:20:50 2006
New Revision: 398942

URL: http://svn.apache.org/viewcvs?rev=398942&view=rev
Log:
- AxisServlet does not send Fault Status when it gets a fault

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java?rev=398942&r1=398941&r2=398942&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java Tue May  2 07:20:50 2006
@@ -149,6 +149,7 @@
         } catch (AxisFault e) {
             if (msgContext != null) {
                 try {
+                    res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
                     handleFault(msgContext, out, e);
                 } catch (AxisFault e2) {
                     log.info(e.getMessage());