axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From az...@apache.org
Subject svn commit: r398959 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisSOAPServlet.java
Date Tue, 02 May 2006 15:15:55 GMT
Author: azeez
Date: Tue May  2 08:15:41 2006
New Revision: 398959

URL: http://svn.apache.org/viewcvs?rev=398959&view=rev
Log:
Set status 500 to response when an Exception occurs

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

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisSOAPServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisSOAPServlet.java?rev=398959&r1=398958&r2=398959&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisSOAPServlet.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisSOAPServlet.java
Tue May  2 08:15:41 2006
@@ -52,6 +52,7 @@
         } catch (Exception e) {
             log.error(e);
             if (msgCtx != null) {
+                resp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
                 handleFault(msgCtx, resp.getOutputStream(), new AxisFault(e));
             } else {
                 throw new ServletException(e);



Mime
View raw message