You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by am...@apache.org on 2008/07/25 07:37:22 UTC

svn commit: r679669 - /webservices/axis2/trunk/java/modules/transports/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java

Author: amilas
Date: Thu Jul 24 22:37:21 2008
New Revision: 679669

URL: http://svn.apache.org/viewvc?rev=679669&view=rev
Log:
Response written has a meaning only at the server side. if there is an epr then that means the request for this
response has come with a addressing reply to and hence an annonymous invocation. in this case server has to send 202 
Accepted for the orginal request. But if we set response has written it send 200 ok.

Modified:
    webservices/axis2/trunk/java/modules/transports/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java

Modified: webservices/axis2/trunk/java/modules/transports/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/transports/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java?rev=679669&r1=679668&r2=679669&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/transports/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java (original)
+++ webservices/axis2/trunk/java/modules/transports/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java Thu Jul 24 22:37:21 2008
@@ -207,7 +207,6 @@
             if (epr != null) {
                 if (!epr.hasNoneAddress()) {
                     writeMessageWithCommons(msgContext, epr, format);
-                    TransportUtils.setResponseWritten(msgContext, true);
                 }
             } else {
                 if (msgContext.getProperty(MessageContext.TRANSPORT_OUT) != null) {