synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r356567 - in /incubator/synapse/trunk/java: ./ src/org/apache/synapse/axis2/ src/samples/userguide/ test/org/apache/synapse/ test/org/apache/synapse/util/
Date Tue, 13 Dec 2005 18:36:19 GMT
Author: saminda
Date: Tue Dec 13 10:36:14 2005
New Revision: 356567

URL: http://svn.apache.org/viewcvs?rev=356567&view=rev
Log:
Corrected compilation error 

Modified:
    incubator/synapse/trunk/java/project.xml
    incubator/synapse/trunk/java/src/org/apache/synapse/axis2/Axis2FlexibleMEPClient.java
    incubator/synapse/trunk/java/src/samples/userguide/DumbStockQuoteClient.java
    incubator/synapse/trunk/java/src/samples/userguide/ProxyStockQuoteClient.java
    incubator/synapse/trunk/java/test/org/apache/synapse/TestSynapseMessage.java
    incubator/synapse/trunk/java/test/org/apache/synapse/util/Axis2EvnSetup.java

Modified: incubator/synapse/trunk/java/project.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/project.xml?rev=356567&r1=356566&r2=356567&view=diff
==============================================================================
--- incubator/synapse/trunk/java/project.xml (original)
+++ incubator/synapse/trunk/java/project.xml Tue Dec 13 10:36:14 2005
@@ -255,9 +255,9 @@
             <includes>
                 <include>**/*Test.java</include>
             </includes>
-            <excludes>
-            <!--<exclude>**/AddressingInProcessorTest.java</exclude>-->
-            </excludes>
+            <!--<excludes>-->
+                <!--<exclude>**/AddressingInProcessorTest.java</exclude>-->
+            <!--</excludes>-->
         </unitTest>
         <resources>
             <resource>

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=356567&r1=356566&r2=356567&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
Tue Dec 13 10:36:14 2005
@@ -51,34 +51,12 @@
     // wholesale cut and paste from axis2.clientapi.*
     public static MessageContext send(MessageContext smc) {
         try {
-/*
-            ConfigurationContext configContext = null;
-            ConfigurationContextFactory efac = new ConfigurationContextFactory();
-            configContext = efac.buildClientConfigurationContext(null);
-            QName assumedServiceName = new QName("AnonymousService");
-            AxisService axisService = new AxisService(assumedServiceName);
-            AxisOperation axisOperationTemplate = new OutInAxisOperation(
-                    new QName("TemplateOperation"));
-            PhasesInfo info = ((AxisConfiguration) configContext
-                    .getAxisConfiguration()).getPhasesInfo();
-            if (info != null) {
-                info.setOperationPhases(axisOperationTemplate);
-            }
-            axisService.addOperation(axisOperationTemplate);
-            configContext.getAxisConfiguration().addService(axisService);
-            ServiceContext serviceContext = axisService.getParent().getServiceGroupContext(configContext).getServiceContext(
-                    assumedServiceName.getLocalPart());
-
-            MessageContext msgCtx = new MessageContext(serviceContext
-                    .getConfigurationContext());
-
-*/
         	
 			// create a lightweight Axis Config with no addressing 
 			AxisConfiguration ac = new AxisConfiguration();
 			ConfigurationContext cc = new ConfigurationContext(ac);
 			AxisServiceGroup asg = new AxisServiceGroup(ac);
-			AxisService as = new AxisService(new QName("AnonymousService"));
+			AxisService as = new AxisService("AnonymousService");
 			asg.addService(as);
 			ServiceGroupContext sgc = new ServiceGroupContext(cc, asg);
 			ServiceContext sc = sgc.getServiceContext("AnonymousService");

Modified: incubator/synapse/trunk/java/src/samples/userguide/DumbStockQuoteClient.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/src/samples/userguide/DumbStockQuoteClient.java?rev=356567&r1=356566&r2=356567&view=diff
==============================================================================
--- incubator/synapse/trunk/java/src/samples/userguide/DumbStockQuoteClient.java (original)
+++ incubator/synapse/trunk/java/src/samples/userguide/DumbStockQuoteClient.java Tue Dec 13
10:36:14 2005
@@ -83,7 +83,7 @@
 			AxisConfiguration ac = new AxisConfiguration();
 			ConfigurationContext cc = new ConfigurationContext(ac);
 			AxisServiceGroup asg = new AxisServiceGroup(ac);
-			AxisService as = new AxisService(new QName("AnonymousService"));
+			AxisService as = new AxisService("AnonymousService");
 			asg.addService(as);
 			ServiceGroupContext sgc = new ServiceGroupContext(cc, asg);
 			ServiceContext sc = sgc.getServiceContext("AnonymousService");

Modified: incubator/synapse/trunk/java/src/samples/userguide/ProxyStockQuoteClient.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/src/samples/userguide/ProxyStockQuoteClient.java?rev=356567&r1=356566&r2=356567&view=diff
==============================================================================
--- incubator/synapse/trunk/java/src/samples/userguide/ProxyStockQuoteClient.java (original)
+++ incubator/synapse/trunk/java/src/samples/userguide/ProxyStockQuoteClient.java Tue Dec
13 10:36:14 2005
@@ -108,7 +108,7 @@
 			AxisConfiguration ac = new AxisConfiguration();
 			ConfigurationContext cc = new ConfigurationContext(ac);
 			AxisServiceGroup asg = new AxisServiceGroup(ac);
-			AxisService as = new AxisService(new QName("AnonymousService"));
+			AxisService as = new AxisService("AnonymousService");
 			asg.addService(as);
 			ServiceGroupContext sgc = new ServiceGroupContext(cc, asg);
 			ServiceContext sc = sgc.getServiceContext("AnonymousService");

Modified: incubator/synapse/trunk/java/test/org/apache/synapse/TestSynapseMessage.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/TestSynapseMessage.java?rev=356567&r1=356566&r2=356567&view=diff
==============================================================================
--- incubator/synapse/trunk/java/test/org/apache/synapse/TestSynapseMessage.java (original)
+++ incubator/synapse/trunk/java/test/org/apache/synapse/TestSynapseMessage.java Tue Dec 13
10:36:14 2005
@@ -16,8 +16,7 @@
 import org.apache.synapse.axis2.Axis2SynapseMessage;
 
 public class TestSynapseMessage {
-//    public static final String URN_SAMPLE_TO_ADDRESS = "urn:sample-toAddress";
-    public static final String URN_SAMPLE_TO_ADDRESS = "http://localhost:7777/axis2/services/Myservice";
+    public static final String URN_SAMPLE_TO_ADDRESS = "urn:sample-toAddress";
 
 
     public static Axis2SynapseMessage createSampleSOAP11MessageWithoutAddressing(

Modified: incubator/synapse/trunk/java/test/org/apache/synapse/util/Axis2EvnSetup.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/util/Axis2EvnSetup.java?rev=356567&r1=356566&r2=356567&view=diff
==============================================================================
--- incubator/synapse/trunk/java/test/org/apache/synapse/util/Axis2EvnSetup.java (original)
+++ incubator/synapse/trunk/java/test/org/apache/synapse/util/Axis2EvnSetup.java Tue Dec 13
10:36:14 2005
@@ -48,8 +48,7 @@
 
         AxisConfiguration axisConfiguration = msgCtx.getConfigurationContext()
                 .getAxisConfiguration();
-        AxisService service = new AxisService(
-                new QName("se"));
+        AxisService service = new AxisService("se");
         msgCtx.setAxisService(service);
         service.setClassLoader(axisConfiguration.getServiceClassLoader());
         AxisOperation axisOp = new InOutAxisOperation(



---------------------------------------------------------------------
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