ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r578074 - /webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
Date Fri, 21 Sep 2007 11:50:27 GMT
Author: deepal
Date: Fri Sep 21 04:50:24 2007
New Revision: 578074

URL: http://svn.apache.org/viewvc?rev=578074&view=rev
Log:
fixing NPE in Axis2 due to error in Sandesha

Modified:
    webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java

Modified: webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java?rev=578074&r1=578073&r2=578074&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
(original)
+++ webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
Fri Sep 21 04:50:24 2007
@@ -547,6 +547,10 @@
 				responseMessageContext.setProperty(HTTPConstants.MTOM_RECEIVED_CONTENT_TYPE, requestMsgOpCtx
 								.getProperty(HTTPConstants.MTOM_RECEIVED_CONTENT_TYPE));
 
+ responseMessageContext.setOperationContext(requestMsgOpCtx);
+                if ( !requestMsgOpCtx.isComplete()) {
+                    requestMsgOpCtx.addMessageContext(responseMessageContext);
+                }
 				//If the response MsgCtx was not available Axis2 would hv put the transport info into
a 
 				//HashMap, getting the data from it.
 				HashMap transportInfoMap = (HashMap) msgCtx.getProperty(Constants.Configuration.TRANSPORT_INFO_MAP);



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message