You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by sa...@apache.org on 2005/10/19 15:05:12 UTC

svn commit: r326546 - /incubator/synapse/trunk/scratch/saminda/synapse2/README.txt

Author: saminda
Date: Wed Oct 19 06:05:06 2005
New Revision: 326546

URL: http://svn.apache.org/viewcvs?rev=326546&view=rev
Log:
Added README.txt to run the samples

Added:
    incubator/synapse/trunk/scratch/saminda/synapse2/README.txt

Added: incubator/synapse/trunk/scratch/saminda/synapse2/README.txt
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/saminda/synapse2/README.txt?rev=326546&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/saminda/synapse2/README.txt (added)
+++ incubator/synapse/trunk/scratch/saminda/synapse2/README.txt Wed Oct 19 06:05:06 2005
@@ -0,0 +1,44 @@
+Please follow the instruction to Run the code
+-------------------------------------------------------
+
+1. Add all the relevant Axis2 libraries to “lib” and “server/lib” folders.
+
+2. Change the build.xml as follows 
+
+In “build” file there is an entry,
+
+<copy file="/home/saminda/myprojects/synapse2/build/services/mediation.aar"
+        todir="/home/saminda/myprojects/synapse2/server/services" overwrite="true"/>
+
+Say you have get a checkout to /usr/tmp in your system, Linux system. 
+
+Then replace the “bold” text with following, 
+
+<copy file="/usr/tmp/synapse2/build/services/mediation.aar"
+        todir="/usr/tmp/synapse2/server/services" overwrite="true"/> 
+
+Window system, if you take a checkout to C:\usr\tmp
+
+<copy file="C:/usr/tmp/synapse2/build/services/mediation.aar"
+        todir="C:/usr/tmp/synapse2/server/services" overwrite="true"/> 
+
+Just change the other 3 entries as there as mentioned above. 
+
+3.Then type “ant”, which will manipulate the rest.
+
+4.In your favorite IDE, go to Class “SimpleServer” and make the repository as 
+	SimpleHTTPServer sas = new SimpleHTTPServer(
+                    "/usr/tmp/server", 8081); // Linux
+	Or	            
+	SimpleHTTPServer sas = new SimpleHTTPServer(
+                    "C:\usr\tmp\server", 8081); // Windows 
+
+	and run it.
+ 
+5.Then run the client “SimpleClient”.
+
+{Optional}
+6.If you have configured Axis2 in Tomcat, which runs in port 8080, with MyService.aar on it. Start tomcat.
+
+7.Once you run the sample you will see the mediation components being executed and Message is routed to Original service. 
+



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