You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by ch...@apache.org on 2006/04/24 17:42:27 UTC

svn commit: r396584 - in /webservices/sandesha/trunk: ./ samples/conf/userguide/

Author: chamikara
Date: Mon Apr 24 08:42:23 2006
New Revision: 396584

URL: http://svn.apache.org/viewcvs?rev=396584&view=rev
Log:
Bat files to run clients and a help file.

Added:
    webservices/sandesha/trunk/samples/conf/userguide/AsyncEchoClient.bat
    webservices/sandesha/trunk/samples/conf/userguide/AsyncPingClient.bat
    webservices/sandesha/trunk/samples/conf/userguide/SyncEchoClient.bat
    webservices/sandesha/trunk/samples/conf/userguide/SyncPingClient.bat
    webservices/sandesha/trunk/samples/conf/userguide/userguide_sample.html
Modified:
    webservices/sandesha/trunk/maven.xml

Modified: webservices/sandesha/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/maven.xml?rev=396584&r1=396583&r2=396584&view=diff
==============================================================================
--- webservices/sandesha/trunk/maven.xml (original)
+++ webservices/sandesha/trunk/maven.xml Mon Apr 24 08:42:23 2006
@@ -152,6 +152,7 @@
             <ant:fileset dir="${dir.samples}/conf/userguide">
                 <ant:include name="*.bat" />
                 <ant:include name="*.sh" />
+                <ant:include name="*.html" />
             </ant:fileset>
         </ant:copy>
          
@@ -253,6 +254,7 @@
                 <ant:include name="clients/*.bat"/>
                 <ant:include name="clients/*.sh"/>
                 <ant:include name="clients/*.xml"/>
+                <ant:include name="clients/*.html"/>
             </ant:fileset>
         </ant:copy>
     

Added: webservices/sandesha/trunk/samples/conf/userguide/AsyncEchoClient.bat
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/samples/conf/userguide/AsyncEchoClient.bat?rev=396584&view=auto
==============================================================================
--- webservices/sandesha/trunk/samples/conf/userguide/AsyncEchoClient.bat (added)
+++ webservices/sandesha/trunk/samples/conf/userguide/AsyncEchoClient.bat Mon Apr 24 08:42:23 2006
@@ -0,0 +1,6 @@
+@echo off
+setlocal EnableDelayedExpansion
+set SANDESHA2_CLASS_PATH=.\UserguideSampleClients.jar
+FOR %%c in (.\lib\*.jar) DO set SANDESHA2_CLASS_PATH=!SANDESHA2_CLASS_PATH!;%%c
+
+java -cp %SANDESHA2_CLASS_PATH% sandesha2.samples.userguide.AsyncEchoClient .\
\ No newline at end of file

Added: webservices/sandesha/trunk/samples/conf/userguide/AsyncPingClient.bat
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/samples/conf/userguide/AsyncPingClient.bat?rev=396584&view=auto
==============================================================================
--- webservices/sandesha/trunk/samples/conf/userguide/AsyncPingClient.bat (added)
+++ webservices/sandesha/trunk/samples/conf/userguide/AsyncPingClient.bat Mon Apr 24 08:42:23 2006
@@ -0,0 +1,6 @@
+@echo off
+setlocal EnableDelayedExpansion
+set SANDESHA2_CLASS_PATH=.\UserguideSampleClients.jar
+FOR %%c in (.\lib\*.jar) DO set SANDESHA2_CLASS_PATH=!SANDESHA2_CLASS_PATH!;%%c
+
+java -cp %SANDESHA2_CLASS_PATH% sandesha2.samples.userguide.AsyncPingClient .\
\ No newline at end of file

Added: webservices/sandesha/trunk/samples/conf/userguide/SyncEchoClient.bat
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/samples/conf/userguide/SyncEchoClient.bat?rev=396584&view=auto
==============================================================================
--- webservices/sandesha/trunk/samples/conf/userguide/SyncEchoClient.bat (added)
+++ webservices/sandesha/trunk/samples/conf/userguide/SyncEchoClient.bat Mon Apr 24 08:42:23 2006
@@ -0,0 +1,6 @@
+@echo off
+setlocal EnableDelayedExpansion
+set SANDESHA2_CLASS_PATH=.\UserguideSampleClients.jar
+FOR %%c in (.\lib\*.jar) DO set SANDESHA2_CLASS_PATH=!SANDESHA2_CLASS_PATH!;%%c
+
+java -cp %SANDESHA2_CLASS_PATH% sandesha2.samples.userguide.SyncEchoClient .\
\ No newline at end of file

Added: webservices/sandesha/trunk/samples/conf/userguide/SyncPingClient.bat
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/samples/conf/userguide/SyncPingClient.bat?rev=396584&view=auto
==============================================================================
--- webservices/sandesha/trunk/samples/conf/userguide/SyncPingClient.bat (added)
+++ webservices/sandesha/trunk/samples/conf/userguide/SyncPingClient.bat Mon Apr 24 08:42:23 2006
@@ -0,0 +1,6 @@
+@echo off
+setlocal EnableDelayedExpansion
+set SANDESHA2_CLASS_PATH=.\UserguideSampleClients.jar
+FOR %%c in (.\lib\*.jar) DO set SANDESHA2_CLASS_PATH=!SANDESHA2_CLASS_PATH!;%%c
+
+java -cp %SANDESHA2_CLASS_PATH% sandesha2.samples.userguide.SyncPingClient .\
\ No newline at end of file

Added: webservices/sandesha/trunk/samples/conf/userguide/userguide_sample.html
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/samples/conf/userguide/userguide_sample.html?rev=396584&view=auto
==============================================================================
--- webservices/sandesha/trunk/samples/conf/userguide/userguide_sample.html (added)
+++ webservices/sandesha/trunk/samples/conf/userguide/userguide_sample.html Mon Apr 24 08:42:23 2006
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+  <title>Sandesha2 Samples Guide</title>
+  <meta name="generator" content="amaya 9.2.2, see http://www.w3.org/Amaya/"
+  />
+</head>
+
+<body>
+<h1>How to run the userguide sample</h1>
+
+<h2>Setting up the server</h2>
+
+<p>Install tomcat and add the Axis2 web app.</p>
+
+<p>Add an user phase named RMPhase to both inFlow and outFlow of
+axis2.xml.</p>
+
+<p>Add the Sandesha2 module to the &lt;AXIS2_WEBAPP&gt;\WEB-INF\modules
+directory.</p>
+
+<p>Start tomcat.</p>
+
+<h2>Setting up the client</h2>
+
+<p>We have made a client repo available at the directory samples\clients
+directory of the Sandesha2 binary distribution.</p>
+
+<p>Add all the jar files that come with the lib directory of Apache Axis2
+binary distrubution to the samples\clients\lib directory.</p>
+
+<p>Add the Sandesha2 jar file that comes with the binary distribution to the
+samples\clients\lib directory.</p>
+
+<p>Add the addressing module file that comes with Apache Axis2 to the
+samples\clients\modules directory.</p>
+
+<p>Add the Sandesha2 module file that comes with Apache Sandesha2 binary
+distribution to samples\clients\modules directory.</p>
+
+<h2>Setting up the tcp monitor.</h2>
+
+<p>start the tcp monitor utility program and map following ports.</p>
+
+<p>8070 -&gt; 8080 (assuming that you started tomcat in the port 8080)</p>
+
+<p>9070 -&gt; 6060 (assuming that your Axis2 client port is 6060)</p>
+
+<h2>Running the sample clients</h2>
+
+<p>Simply double click the the bat files that come in the samples\client
+directory of the Sandesha2 binary distribution to run various samples clients
+and observe tcp monitor to see the message exchange.</p>
+</body>
+</html>



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