axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidills...@apache.org
Subject svn commit: r447064 - /webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
Date Sun, 17 Sep 2006 13:19:11 GMT
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


Mime
View raw message