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 di...@apache.org on 2006/02/22 04:37:20 UTC
svn commit: r379667 -
/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
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