axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r379667 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
Date Wed, 22 Feb 2006 03:37:20 GMT
Author: dims
Date: Tue Feb 21 19:37:19 2006
New Revision: 379667

URL: http://svn.apache.org/viewcvs?rev=379667&view=rev
Log:
if the epr is set to none ("http://www.w3.org/2005/08/addressing/none") then don't send anything.


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

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java?rev=379667&r1=379666&r2=379667&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
Tue Feb 21 19:37:19 2006
@@ -201,7 +201,9 @@
             }
 
             if (epr != null) {
-                writeMessageWithCommons(msgContext, epr, dataOut, format);
+                if(!epr.getAddress().equals(AddressingConstants.Final.WSA_NONE_URI)) {
+                    writeMessageWithCommons(msgContext, epr, dataOut, format);
+                }
             } else {
                 OutputStream out =
                         (OutputStream) msgContext



Mime
View raw message