You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by da...@apache.org on 2008/12/17 20:57:48 UTC
svn commit: r727497 -
/webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
Author: davidillsley
Date: Wed Dec 17 11:57:48 2008
New Revision: 727497
URL: http://svn.apache.org/viewvc?rev=727497&view=rev
Log:
Simple fix for AXIS2-2840
Modified:
webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
Modified: webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java?rev=727497&r1=727496&r2=727497&view=diff
==============================================================================
--- webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java (original)
+++ webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java Wed Dec 17 11:57:48 2008
@@ -208,6 +208,12 @@
if (epr != null) {
if (!epr.hasNoneAddress()) {
writeMessageWithCommons(msgContext, epr, format);
+ }else{
+ if(msgContext.isFault()){
+ if(log.isDebugEnabled()){
+ log.debug("Fault sent to WS-A None URI: "+msgContext.getEnvelope().getBody().getFault());
+ }
+ }
}
} else {
if (msgContext.getProperty(MessageContext.TRANSPORT_OUT) != null) {