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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]