You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by pz...@apache.org on 2006/04/11 00:05:26 UTC

svn commit: r393085 - in /incubator/synapse/trunk/java: etc/ modules/core/src/org/apache/synapse/axis2/ modules/core/test/org/apache/axis2/test/ modules/core/test/org/apache/synapse/ modules/core/test/org/apache/synapse/util/ modules/samples/src/sample...

Author: pzf
Date: Mon Apr 10 15:05:24 2006
New Revision: 393085

URL: http://svn.apache.org/viewcvs?rev=393085&view=rev
Log:
fix up the breaks chinthaka added :-) (createOMText)

Modified:
    incubator/synapse/trunk/java/etc/project.xml
    incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/axis2/DynamicAxisOperation.java
    incubator/synapse/trunk/java/modules/core/test/org/apache/axis2/test/Echo.java
    incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/TestSynapseMessage.java
    incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/util/Axis2EnvSetup.java
    incubator/synapse/trunk/java/modules/samples/src/samples/userguide/log/LoggingClient.java

Modified: incubator/synapse/trunk/java/etc/project.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/etc/project.xml?rev=393085&r1=393084&r2=393085&view=diff
==============================================================================
--- incubator/synapse/trunk/java/etc/project.xml (original)
+++ incubator/synapse/trunk/java/etc/project.xml Mon Apr 10 15:05:24 2006
@@ -66,11 +66,11 @@
             <!--<artifactId>axis2-common</artifactId>-->
             <!--<version>${axis2.version}</version>-->
         <!--</dependency>-->
-        <!--<dependency>-->
-            <!--<groupId>axis2</groupId>-->
-            <!--<artifactId>axis2-wsdl</artifactId>-->
-            <!--<version>${axis2.version}</version>-->
-        <!--</dependency>-->
+        <dependency>
+            <groupId>axis2</groupId>
+            <artifactId>axis2-wsdl</artifactId>
+            <version>${axis2.version}</version>
+        </dependency>
 
         <dependency>
             <groupId>ws-commons</groupId>

Modified: incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/axis2/DynamicAxisOperation.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/axis2/DynamicAxisOperation.java?rev=393085&r1=393084&r2=393085&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/axis2/DynamicAxisOperation.java (original)
+++ incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/axis2/DynamicAxisOperation.java Mon Apr 10 15:05:24 2006
@@ -34,7 +34,7 @@
 import java.util.HashMap;
 
 /**
- * DynamicAxisOperation which switch dyamcially between MEPs
+ * DynamicAxisOperation which switch dynamically between MEPs
  */
 public class DynamicAxisOperation extends InOutAxisOperation {
     public DynamicAxisOperation() {
@@ -153,6 +153,9 @@
             engine.send(mc);
         }
 
+    }
+    public OperationContext getOperationContext() {
+    	return oc;
     }
 
     public void reset() throws AxisFault {

Modified: incubator/synapse/trunk/java/modules/core/test/org/apache/axis2/test/Echo.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/modules/core/test/org/apache/axis2/test/Echo.java?rev=393085&r1=393084&r2=393085&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/core/test/org/apache/axis2/test/Echo.java (original)
+++ incubator/synapse/trunk/java/modules/core/test/org/apache/axis2/test/Echo.java Mon Apr 10 15:05:24 2006
@@ -33,7 +33,7 @@
                 "urn:text-body", "ns");
         OMElement responseText = fac.createOMElement("response_text", omNs);
         responseText.addChild(
-                fac.createText(responseText, "Synapse Testing String_Response"));
+                fac.createOMText(responseText, "Synapse Testing String_Response"));
         return responseText;
     }
     public OMElement fault(OMElement element) throws AxisFault {
@@ -49,7 +49,7 @@
                 "urn:text-body", "ns");
         OMElement responseText = fac.createOMElement("response_text_addressing", omNs);
         responseText.addChild(
-                fac.createText(responseText, "Synapse Testing String_Response_With_Addressing"));
+                fac.createOMText(responseText, "Synapse Testing String_Response_With_Addressing"));
         return responseText;
     }
 

Modified: incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/TestSynapseMessage.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/TestSynapseMessage.java?rev=393085&r1=393084&r2=393085&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/TestSynapseMessage.java (original)
+++ incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/TestSynapseMessage.java Mon Apr 10 15:05:24 2006
@@ -38,7 +38,7 @@
 
             OMElement body = OMAbstractFactory.getOMFactory().createOMElement(
                     "test-body", "urn:test", "test");
-            OMAbstractFactory.getOMFactory().createText(body,
+            OMAbstractFactory.getOMFactory().createOMText(body,
                     "Do not be alarmed, this is just a test");
 
             env.getBody().addChild(body);

Modified: incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/util/Axis2EnvSetup.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/util/Axis2EnvSetup.java?rev=393085&r1=393084&r2=393085&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/util/Axis2EnvSetup.java (original)
+++ incubator/synapse/trunk/java/modules/core/test/org/apache/synapse/util/Axis2EnvSetup.java Mon Apr 10 15:05:24 2006
@@ -95,7 +95,7 @@
         OMElement method = fac.createOMElement("service", omNs);
         OMElement value = fac.createOMElement("text", omNs);
         value.addChild(
-                fac.createText(value, "Synapse Testing String"));
+                fac.createOMText(value, "Synapse Testing String"));
         method.addChild(value);
         return method;
     }
@@ -107,7 +107,7 @@
         OMElement method = fac.createOMElement("service", omNs);
         OMElement value = fac.createOMElement("text_addressing", omNs);
         value.addChild(
-                fac.createText(value,
+                fac.createOMText(value,
                         "Synapse Testing String Through Addressing"));
         method.addChild(value);
         return method;
@@ -120,7 +120,7 @@
         OMElement method = fac.createOMElement("service", omNs);
         OMElement value = fac.createOMElement("text_ping", omNs);
         value.addChild(
-                fac.createText(value, "Synapse Testing String for Ping"));
+                fac.createOMText(value, "Synapse Testing String for Ping"));
         method.addChild(value);
         return method;
     }

Modified: incubator/synapse/trunk/java/modules/samples/src/samples/userguide/log/LoggingClient.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/modules/samples/src/samples/userguide/log/LoggingClient.java?rev=393085&r1=393084&r2=393085&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/samples/src/samples/userguide/log/LoggingClient.java (original)
+++ incubator/synapse/trunk/java/modules/samples/src/samples/userguide/log/LoggingClient.java Mon Apr 10 15:05:24 2006
@@ -50,7 +50,7 @@
         OMElement method = fac.createOMElement("service", omNs);
         OMElement value = fac.createOMElement("text", omNs);
         value.addChild(
-                fac.createText(value, "Synapse Sample String"));
+                fac.createOMText(value, "Synapse Sample String"));
         method.addChild(value);
         return method;
     }



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