synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r367216 - /incubator/synapse/trunk/java/src/org/apache/synapse/axis2/Axis2FlexibleMEPClient.java
Date Mon, 09 Jan 2006 06:01:58 GMT
Author: saminda
Date: Sun Jan  8 22:01:52 2006
New Revision: 367216

URL: http://svn.apache.org/viewcvs?rev=367216&view=rev
Log:
added rest handling support 

Modified:
    incubator/synapse/trunk/java/src/org/apache/synapse/axis2/Axis2FlexibleMEPClient.java

Modified: incubator/synapse/trunk/java/src/org/apache/synapse/axis2/Axis2FlexibleMEPClient.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/src/org/apache/synapse/axis2/Axis2FlexibleMEPClient.java?rev=367216&r1=367215&r2=367216&view=diff
==============================================================================
--- incubator/synapse/trunk/java/src/org/apache/synapse/axis2/Axis2FlexibleMEPClient.java
(original)
+++ incubator/synapse/trunk/java/src/org/apache/synapse/axis2/Axis2FlexibleMEPClient.java
Sun Jan  8 22:01:52 2006
@@ -112,6 +112,16 @@
             throw new AxisFault(
                     "To canno't be null, if null Synapse can't infer the transport");
         }
+        if (smc.isDoingREST()) {
+            mc.setDoingREST(true);
+        }
+        if (smc.getProperty(
+                org.apache.axis2.Constants.Configuration.DISABLE_ADDRESSING_FOR_OUT_MESSAGES)
!=
+                null) {
+            mc.setProperty(
+                    org.apache.axis2.Constants.Configuration.DISABLE_ADDRESSING_FOR_OUT_MESSAGES,
+                    Boolean.TRUE);
+        }
         mc.setEnvelope(outEnvelopeConfiguration(smc));
         ///////////////////////////////////////////////////////////////////////
 



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


Mime
View raw message