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 da...@apache.org on 2006/09/17 15:19:11 UTC

svn commit: r447064 - /webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java

Author: davidillsley
Date: Sun Sep 17 06:19:10 2006
New Revision: 447064

URL: http://svn.apache.org/viewvc?view=rev&rev=447064
Log:
2nd (simpler) attempt at fix for AXIS2-1159 "Explicit ReplyTo should not be set on responses unless SOAP Session Scope has been enabled"
Unit+Integration tests pass locally

Modified:
    webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java

Modified: webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java?view=diff&rev=447064&r1=447063&r2=447064
==============================================================================
--- webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java (original)
+++ webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java Sun Sep 17 06:19:10 2006
@@ -232,7 +232,7 @@
         if (!isAddressingHeaderAlreadyAvailable(WSA_REPLY_TO, envelope, addressingNamespaceObject, replaceHeaders))
         {
         	epr = messageContextOptions.getReplyTo();
-	        if(msgContext.isServerSide()){	        	
+	        if(msgContext.isServerSide() && (msgContext.getAxisService()!=null) && Constants.SCOPE_SOAP_SESSION.equals(msgContext.getAxisService().getScope())){	        	
 	            if (epr == null) {//optional
 	                ServiceContext serviceContext = msgContext.getServiceContext();
 	                if (serviceContext != null &&



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