synapse-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject svn commit: r817946 - in /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2: Axis2FlexibleMEPClient.java DynamicAxisOperation.java
Date Wed, 23 Sep 2009 03:08:59 GMT
Author: ruwan
Date: Wed Sep 23 03:08:58 2009
New Revision: 817946

URL: http://svn.apache.org/viewvc?rev=817946&view=rev
Log:
Fixes to synapse to get the issue WSCOMMONS-444 fixed (from synapse point of view the response
received from the actual service is also server side)

Modified:
    synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java
    synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/DynamicAxisOperation.java

Modified: synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java?rev=817946&r1=817945&r2=817946&view=diff
==============================================================================
--- synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java
(original)
+++ synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java
Wed Sep 23 03:08:58 2009
@@ -23,7 +23,6 @@
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.Constants;
-import org.apache.axis2.transport.http.HTTPConstants;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.client.OperationClient;
@@ -38,16 +37,17 @@
 import org.apache.axis2.description.AxisServiceGroup;
 import org.apache.axis2.description.WSDL2Constants;
 import org.apache.axis2.engine.AxisConfiguration;
+import org.apache.axis2.transport.http.HTTPConstants;
 import org.apache.axis2.wsdl.WSDLConstants;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.sandesha2.Sandesha2Constants;
+import org.apache.sandesha2.client.SandeshaClient;
+import org.apache.sandesha2.client.SandeshaClientConstants;
 import org.apache.synapse.SynapseConstants;
-import org.apache.synapse.transport.nhttp.NhttpConstants;
 import org.apache.synapse.endpoints.EndpointDefinition;
+import org.apache.synapse.transport.nhttp.NhttpConstants;
 import org.apache.synapse.util.MessageHelper;
-import org.apache.sandesha2.client.SandeshaClientConstants;
-import org.apache.sandesha2.client.SandeshaClient;
-import org.apache.sandesha2.Sandesha2Constants;
 
 import javax.xml.namespace.QName;
 

Modified: synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/DynamicAxisOperation.java
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/DynamicAxisOperation.java?rev=817946&r1=817945&r2=817946&view=diff
==============================================================================
--- synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/DynamicAxisOperation.java
(original)
+++ synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/DynamicAxisOperation.java
Wed Sep 23 03:08:58 2009
@@ -185,6 +185,7 @@
             responseMessageContext.setProperty(
                     SynapseConstants.RELATES_TO_FOR_POX, msgctx.getMessageID());
             responseMessageContext.setOptions(options);
+            responseMessageContext.setServerSide(true);
 			addMessageContext(responseMessageContext);
 
             AxisEngine.send(msgctx);
@@ -199,8 +200,6 @@
                     getMessage(WSDLConstants.MESSAGE_LABEL_IN_VALUE));
                 responseMessageContext.setAxisService(msgctx.getAxisService());
 
-                // set properties on responseMessageContext
-                responseMessageContext.setServerSide(true);
                 responseMessageContext.setProperty(MessageContext.TRANSPORT_OUT,
                     msgctx.getProperty(MessageContext.TRANSPORT_OUT));
                 responseMessageContext.setProperty(org.apache.axis2.Constants.OUT_TRANSPORT_INFO,



Mime
View raw message