axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r202140 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java
Date Tue, 28 Jun 2005 06:46:32 GMT
Author: hemapani
Date: Mon Jun 27 23:46:32 2005
New Revision: 202140

URL: http://svn.apache.org/viewcvs?rev=202140&view=rev
Log:
fixing the error in Servlet writing the resposne

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

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java?rev=202140&r1=202139&r2=202140&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java
Mon Jun 27 23:46:32 2005
@@ -178,7 +178,7 @@
                 req.getHeader(HTTPConstants.HEADER_SOAP_ACTION),
                 req.getRequestURL().toString(),
                 configContext);
-            Object contextWritten = msgContext.getProperty(Constants.RESPONSE_WRITTEN);
+            Object contextWritten = msgContext.getOperationContext().getProperty(Constants.RESPONSE_WRITTEN);
             if (contextWritten == null || !Constants.VALUE_TRUE.equals(contextWritten)) {
                 res.setStatus(HttpServletResponse.SC_ACCEPTED);
             }
@@ -210,7 +210,7 @@
             msgContext.setProperty(MessageContext.TRANSPORT_OUT, res.getOutputStream());
             engine.receive(msgContext);
 
-            Object contextWritten = msgContext.getProperty(Constants.RESPONSE_WRITTEN);
+            Object contextWritten = msgContext.getOperationContext().getProperty(Constants.RESPONSE_WRITTEN);
             if (contextWritten == null || !Constants.VALUE_TRUE.equals(contextWritten)) {
                 res.setStatus(HttpServletResponse.SC_ACCEPTED);
             }



Mime
View raw message