Author: damitha
Date: Tue Jul 10 02:31:07 2007
New Revision: 554879

URL: http://svn.apache.org/viewvc?view=rev&rev=554879
Log:
user manual and userguide addded

Added:
    webservices/sandesha/site/sandesha2/c/docs/index.html
    webservices/sandesha/site/sandesha2/c/docs/installationguide.html
    webservices/sandesha/site/sandesha2/c/docs/sandesha2c_manual.html

Added: webservices/sandesha/site/sandesha2/c/docs/index.html
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/site/sandesha2/c/docs/index.html?view=auto&rev=554879
==============================================================================
--- webservices/sandesha/site/sandesha2/c/docs/index.html (added)
+++ webservices/sandesha/site/sandesha2/c/docs/index.html Tue Jul 10 02:31:07 
2007
@@ -0,0 +1,17 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html><head><title>Apache
 Sandesha2/C - Documentation</title><style type="text/css" media="all">
+          @import url("../style/maven-base.css");
+          
+                           @import 
url("../style/maven-classic.css");</style><link rel="stylesheet" 
href="../style/print.css" type="text/css" media="print"></link><meta 
http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a 
href="http://www.apache.org/"; id="organizationLogo"><img alt="Apache Software 
Foundation" src="http://www.apache.org/images/asf-logo.gif";></img></a><a 
href="http://ws.apache.org/sandesha2/c"; id="projectLogo"><img alt="Apache 
Sandesha2/C" 
src="http://ws.apache.org/sandesha2/c/images/sandesha2c_logo.jpg";></img></a><div
 class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+                       Last published: 06 July 2007
+                  | Doc for 0.90</div><div class="xright"></div><div 
class="clear"><hr></hr></div></div><div id="leftColumn"><div 
id="navcolumn"><div id="menuApache_Sandesha2_C"><h5>Apache 
Sandesha2/C</h5><ul><li class="none"><a href="../index.html">Apache Sandesha2/C 
Home</a></li><li class="expanded"><a href="../download.cgi">Download 
Sandesha2/C</a><ul><li class="none"><a 
href="../download.cgi">Releases</a></li></ul></li><li class="expanded"><a 
href="../docs/index.html">Documentation</a><ul><li class="none"><a 
href="../docs/installationguide.html">Installation Guide</a></li><li 
class="none"><a href="../docs/sandesha2c_manual.html">Sandesha2/C 
manual</a></li></ul></li><li class="expanded"><a 
href="../lists_issues.html">Get Involved</a><ul><li class="none"><a 
href="../lists_issues.html">Mailing Lists &amp; Issue Tracking</a></li><li 
class="none"><a href="../svn.html">Checkout Source Code</a></li></ul></li><li 
class="expanded"><a href="../coding_conventions.html">Developer Gu
 idelines</a><ul><li class="none"><a href="../coding_conventions.html">Coding 
Convention</a></li><li class="none"><a 
href="../versioning.html">Versionning</a></li></ul></li><li class="expanded"><a 
href="../team-list.html">Project Information</a><ul><li class="none"><a 
href="../team-list.html">Project Team</a></li><li class="none"><a 
href="http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/"; 
class="externalLink" title="External Link">Source 
Code</a></li></ul></li></ul></div><a href="http://maven.apache.org/"; 
title="Built by Maven" id="poweredBy"><img alt="Built by Maven" 
src="../images/logos/maven-button-1.png"></img></a></div></div><div 
id="bodyColumn"><div class="contentBox"><div class="section"><a 
name="Apache_Sandesha2_C_Documentation"></a><h2>Apache Sandesha2/C 
Documentation</h2><div class="subsection"><a 
name="Getting_Started"></a><h3>Getting Started</h3><ul>
+  <li><a href="installationguide.html">Installation Guide</a></li>
+</ul></div><div class="subsection"><a name="Manual"></a><h3>Manual</h3><ul>
+  <li><a href="sandesha2c_manual.html">Sandesha2/C Manual</a></li>
+</ul></div><div class="subsection"><a 
name="Additional_References"></a><h3>Additional References</h3><ul>
+  <li><a href="http://ws.apache.org/axis2/c/index.html"; class="externalLink" 
title="External Link">Apache
+  Axis2/C</a></li>
+  <li><a href="http://ws.apache.org/axis2/c/docs/om_tutorial.html"; 
class="externalLink" title="External Link">AXIOM
+    Tutorial</a></li>
+  <li><a href="http://ws.apache.org/axis2/c/coding_conventions.html"; 
class="externalLink" title="External Link">Coding
+    Conventions in Axis2/C</a></li>
+</ul></div></div></div></div><div class="clear"><hr></hr></div><div 
id="footer"><div class="xright">© 2005-2007, Apache Software 
Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file

Added: webservices/sandesha/site/sandesha2/c/docs/installationguide.html
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/site/sandesha2/c/docs/installationguide.html?view=auto&rev=554879
==============================================================================
--- webservices/sandesha/site/sandesha2/c/docs/installationguide.html (added)
+++ webservices/sandesha/site/sandesha2/c/docs/installationguide.html Tue Jul 
10 02:31:07 2007
@@ -0,0 +1,134 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html><head><title>Apache
 Sandesha2/C - Installation Guide</title><style type="text/css" media="all">
+          @import url("../style/maven-base.css");
+          
+                           @import 
url("../style/maven-classic.css");</style><link rel="stylesheet" 
href="../style/print.css" type="text/css" media="print"></link><meta 
http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a 
href="http://www.apache.org/"; id="organizationLogo"><img alt="Apache Software 
Foundation" src="http://www.apache.org/images/asf-logo.gif";></img></a><a 
href="http://ws.apache.org/sandesha2/c"; id="projectLogo"><img alt="Apache 
Sandesha2/C" 
src="http://ws.apache.org/sandesha2/c/images/sandesha2c_logo.jpg";></img></a><div
 class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+                       Last published: 06 July 2007
+                  | Doc for 0.90</div><div class="xright"></div><div 
class="clear"><hr></hr></div></div><div id="leftColumn"><div 
id="navcolumn"><div id="menuApache_Sandesha2_C"><h5>Apache 
Sandesha2/C</h5><ul><li class="none"><a href="../index.html">Apache Sandesha2/C 
Home</a></li><li class="expanded"><a href="../download.cgi">Download 
Sandesha2/C</a><ul><li class="none"><a 
href="../download.cgi">Releases</a></li></ul></li><li class="expanded"><a 
href="../docs/index.html">Documentation</a><ul><li class="none"><a 
href="../docs/installationguide.html">Installation Guide</a></li><li 
class="none"><a href="../docs/sandesha2c_manual.html">Sandesha2/C 
manual</a></li></ul></li><li class="expanded"><a 
href="../lists_issues.html">Get Involved</a><ul><li class="none"><a 
href="../lists_issues.html">Mailing Lists &amp; Issue Tracking</a></li><li 
class="none"><a href="../svn.html">Checkout Source Code</a></li></ul></li><li 
class="expanded"><a href="../coding_conventions.html">Developer Gu
 idelines</a><ul><li class="none"><a href="../coding_conventions.html">Coding 
Convention</a></li><li class="none"><a 
href="../versioning.html">Versionning</a></li></ul></li><li class="expanded"><a 
href="../team-list.html">Project Information</a><ul><li class="none"><a 
href="../team-list.html">Project Team</a></li><li class="none"><a 
href="http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/"; 
class="externalLink" title="External Link">Source 
Code</a></li></ul></li></ul></div><a href="http://maven.apache.org/"; 
title="Built by Maven" id="poweredBy"><img alt="Built by Maven" 
src="../images/logos/maven-button-1.png"></img></a></div></div><div 
id="bodyColumn"><div class="contentBox"><div class="section"><a 
name="Apache_Sandesha2_C_Installation_Guide"></a><h2>Apache Sandesha2/C 
Installation Guide</h2><p>This document guides you on how to install 
Sandesha2/C with Axis2/C, and
+run the server and client samples on Linux and Microsoft Windows operating
+systems.</p><p>This release comes in two forms, source and binary. This 
document covers
+both forms.</p><p>Please send your feedback to the developer mailing list: <a 
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
+(Subscription details are available on the <a 
href="http://ws.apache.org/sandesha/sandesha2/c"; class="externalLink" 
title="External Link">Sandesha2 site</a>.) Please
+remember to prefix the subject with [Axis2].</p><div class="subsection"><a 
name="Contents"></a><h3>Contents</h3><ul>
+  <li><a href="#linux">Installing and Running on Linux</a>
+    <ul>
+      <li><a href="#linux_source">Using the Source Release</a></li>
+      <li><a href="#linux_binary">Using the Binary Release</a></li>
+    </ul>
+  </li>
+  <li><a href="#win">Installing and Running on Microsoft Windows (win32)</a>
+    <ul>
+      <li><a href="#win_source">Using the Source Release</a></li>
+      <li><a href="#win_binary">Using the Binary Release</a></li>
+    </ul>
+  </li>
+</ul><p><a id="linux"></a></p></div><div class="subsection"><a 
name="1__Installing_and_Running_on_Linux"></a><h3>1. Installing and Running on 
Linux</h3><p>This can be done using binary or source distributions. (<a 
href="http://ws.apache.org/sandesha/sandesha2/c/download.cgi"; 
class="externalLink" title="External Link">Download</a> the two
+distributions)</p><p><a id="linux_source"></a></p></div><div 
class="subsection"><a 
name="1_1__Installing_Sandesha2_C_Source_Release_on_Linux"></a><h3>1.1. 
Installing Sandesha2/C Source Release on Linux</h3><p>This version of 
Sandesha2/C depends on Axis2/C 1.0. <a 
href="http://ws.apache.org/axis2/c/download.cgi"; class="externalLink" 
title="External Link">Download Axis2/C</a> from  and
+install. /p&gt;
+<ol>
+    <li> Download Sandesha2 source distribution</li>
+    <li> Extract the source distribution and go to extracted directory</li>
+    <li> Run configure with AXIS2 include path.
+        <pre>./configure --prefix=&lt;axis2c_deploy_path&gt; 
--enable-static=no --with-axis2=&lt;axis2c_deploy_path&gt;</pre>
+    </li>
+    <li>Run make and make install</li>
+</ol>
+    
+This will install the Sandesha2/C as a module in Axis2/C in 
&lt;axis2c_deploy_path&gt;/modules folder. The module
+folder contains the Sandesha2/C libraries and the module.xml file.
+
+
+<a id="linux_binary"></a>
+
+</p></div><div class="subsection"><a 
name="1_2__Installing_Sandesha2_C_Binary_Release_on_Linux"></a><h3>1.2. 
Installing Sandesha2/C Binary Release on Linux</h3><p>Sandesha2/C binary 
distribution for Linux has the following folder structure. </p>
+    <div class="source"><pre>   
+    Sandesha2
+        |
+        + - modules/sandesha2 (sandesha2 module library and module.xml file)
+        + - docs
+        + - config (Contain sample module.xml and axis2.xml files)
+        |
+        + - samples
+               |
+               + - source files of samples in folders
+        + - services (Contain sample service)
+        |
+        + - include ( header files)
+        + - bin (database scripts)
+        + - bin/samples ( sample executables)
+
+</pre></div>
+  <p>
+    To deploy Sandesha2/C in Axis2/C running environment copy the 
modules/sandesha2 into &lt;axis2c_deploy_path&gt;/modules folder.
+    Do the necessary changes to the &lt;axis2c_deploy_path&gt;/axis2.xml to 
run Sandesha2/C(Refer to the sample config/axis2.xml
+    for help).
+</p><p><a id="win"></a></p></div><div class="subsection"><a 
name="2__Installing_and_Running_on_Microsoft_Windows"></a><h3>2. Installing and 
Running on Microsoft Windows</h3><p>This too can be done using binary or source 
distributions. (<a 
href="http://ws.apache.org/sandesha/sandesha2/c/download.cgi"; 
class="externalLink" title="External Link">Download</a> the two
+distributions.)</p><p><a id="win_source"></a></p></div><div 
class="subsection"><a 
name="2_1__Installing_Sandesha2_C_Source_Release_on_Windows"></a><h3>2.1. 
Installing Sandesha2/C Source Release on Windows</h3><ol>
+    <li> You need to have unziped Axis2/C 1.0 release binary to some 
folder.</li>
+    <li> Sandesha2/C can be used with one of following two database systems.
+            <ul>
+                <li>sqlite</li>
+                <li>MySQL</li>
+             </ul>
+         So install one of above database systems on your machine.
+    </li>
+    <li> On your cmd.exe cd to &lt;sandesha2 src&gt;\build\win32 <br></br>
+      Edit configure.in file with your binary locations. <br></br>
+      To select MySQL have your configure.in entry  WITH_MYSQL = 1. <br></br>  
    
+      To Select Sqlite have your configure.in entry WITH_SQLITE = 1. 
+    </li>
+    <li> To set necessary environment variables on command line run 
vcvars32.bat file. </li>
+    <li> Run nmake dist command on command line. This will build the 
Sandesha2/C binary and samples to a directory sandesha2 in &lt;sandesha2 
src&gt;\build\sandesha2. </li>
+</ol><p><a id="bin_binaries"></a></p></div><div class="subsection"><a 
name="2__2__Installing_Sandesha2_C_Binary_Release_on_Windows"></a><h3>2. 2. 
Installing Sandesha2/C Binary Release on Windows</h3><p>Sandesha2/C binary 
distribution will have following directory structure. </p>
+    <div class="source"><pre>
+    Sandesha2
+        |
+        + - Sandesha2 (sandesha2 module dll and module.xml file)
+        |
+        + - samples
+               |
+               + - bin 
+               |
+               + - source files of samples in folders
+        |
+        + - include ( header files)
+
+    
+    </pre></div>
+  <ol>    
+    <li> Copy Sandesha2 directory ( containing sandesha2 dll and module.xml ) 
to &lt;AXIS2C_HOME&gt;\modules directory.</li>
+    <li> Copy RMSampleService directory in samples\bin directory to 
&lt;AXIS2C_HOME&gt;\services directory </li>
+    <li> Copy axis2.xml file in Sandesha2 directory to &lt;AXIS2C_HOME&gt; 
</li>
+    </ol><p>
+    Now you should be able to run the samples.
+    </p></div><div class="subsection"><a name="Notes"></a><h3>Notes</h3><ol>
+<li>
+        Sandesha2/C has two main storage mechanisms call in-memory and 
persistent. The persistent storage could use
+        either sqlite or MySQL as it's database manager. <br></br>
+        By default sandesha2 use the persistent storage with sqlite as the 
database. <br></br>
+        It is assumed that sqlite3.h in /usr/include include directory. If you 
have different include path for
+        sqlite3.h then add the configure option --with-sqlite=&lt;sqlite 
include file path&gt; to the configure options
+        above. If is assumed that libsqlite3.so is in the /usr/lib folder 
<br></br>
+        To run samples in persistent/sqlite mode copy 
sandesha2c/config/sqlite_schema.sh/.bat to a directory where you
+        will create your sqlite database file and execute it to create the 
database schema. sqlite3 is an embedded 
+        database which need no configuration. If you use Axis2/C Apache2 
module instead of simple_axis2_server make 
+        sure that Apache2 user can access the sqlite database files 
sandesha2_svr_db and sandesha2_client_db. <br></br>
+
+        if you want to use the in-memory storage instead, change the entry in 
the sandesha2_constants.h
+        file. <br></br>
+<pre>#define SANDESHA2_DEFAULT_STORAGE_MGR "persistent" 
+as
+#define SANDESHA2_DEFAULT_STORAGE_MGR "inmemory". </pre>
+
+        If you want to use persistent storage with MySQL then add the option 
--with-mysql=&lt;MySQL include file path&gt;
+        to the configure options above. It is assumed that libmysqlclient.so 
is in /usr/lib folder. It is recommended
+        to use MySQL database for any serious use. It is not included as as 
the default database because of licensing issues.
+        To run samples in persistent/mysql mode run 
sandesha2c/config/mysql_schema.sh and sandesha2c/config/init_mysql.sh
+        to create the database schema. The database parameters for MySQL 
should be included in module.xml. The defaults for server, user and password 
are localhost, g,g.
+</li>
+<li>
+       Sandesha2/C module is installed into 
&lt;axis2c_deploy_path&gt;/modules/sandesha2c directory. The installed module 
contain
+       libsandesha2.so, module.xml. The sample clients are installed into 
&lt;axis2c_deploy_path&gt;/bin/samples
+       directory. Sample services are installed into 
&lt;axis2c_deploy_path&gt;/services directory.
+
+</li>
+</ol></div></div></div></div><div class="clear"><hr></hr></div><div 
id="footer"><div class="xright">© 2005-2007, Apache Software 
Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file

Added: webservices/sandesha/site/sandesha2/c/docs/sandesha2c_manual.html
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/site/sandesha2/c/docs/sandesha2c_manual.html?view=auto&rev=554879
==============================================================================
--- webservices/sandesha/site/sandesha2/c/docs/sandesha2c_manual.html (added)
+++ webservices/sandesha/site/sandesha2/c/docs/sandesha2c_manual.html Tue Jul 
10 02:31:07 2007
@@ -0,0 +1,112 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html><head><title>Apache
 Sandesha2/C - README</title><style type="text/css" media="all">
+          @import url("../style/maven-base.css");
+          
+                           @import 
url("../style/maven-classic.css");</style><link rel="stylesheet" 
href="../style/print.css" type="text/css" media="print"></link><meta 
http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a 
href="http://www.apache.org/"; id="organizationLogo"><img alt="Apache Software 
Foundation" src="http://www.apache.org/images/asf-logo.gif";></img></a><a 
href="http://ws.apache.org/sandesha2/c"; id="projectLogo"><img alt="Apache 
Sandesha2/C" 
src="http://ws.apache.org/sandesha2/c/images/sandesha2c_logo.jpg";></img></a><div
 class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+                       Last published: 06 July 2007
+                  | Doc for 0.90</div><div class="xright"></div><div 
class="clear"><hr></hr></div></div><div id="leftColumn"><div 
id="navcolumn"><div id="menuApache_Sandesha2_C"><h5>Apache 
Sandesha2/C</h5><ul><li class="none"><a href="../index.html">Apache Sandesha2/C 
Home</a></li><li class="expanded"><a href="../download.cgi">Download 
Sandesha2/C</a><ul><li class="none"><a 
href="../download.cgi">Releases</a></li></ul></li><li class="expanded"><a 
href="../docs/index.html">Documentation</a><ul><li class="none"><a 
href="../docs/installationguide.html">Installation Guide</a></li><li 
class="none"><a href="../docs/sandesha2c_manual.html">Sandesha2/C 
manual</a></li></ul></li><li class="expanded"><a 
href="../lists_issues.html">Get Involved</a><ul><li class="none"><a 
href="../lists_issues.html">Mailing Lists &amp; Issue Tracking</a></li><li 
class="none"><a href="../svn.html">Checkout Source Code</a></li></ul></li><li 
class="expanded"><a href="../coding_conventions.html">Developer Gu
 idelines</a><ul><li class="none"><a href="../coding_conventions.html">Coding 
Convention</a></li><li class="none"><a 
href="../versioning.html">Versionning</a></li></ul></li><li class="expanded"><a 
href="../team-list.html">Project Information</a><ul><li class="none"><a 
href="../team-list.html">Project Team</a></li><li class="none"><a 
href="http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/"; 
class="externalLink" title="External Link">Source 
Code</a></li></ul></li></ul></div><a href="http://maven.apache.org/"; 
title="Built by Maven" id="poweredBy"><img alt="Built by Maven" 
src="../images/logos/maven-button-1.png"></img></a></div></div><div 
id="bodyColumn"><div class="contentBox"><div class="section"><a 
name="Engaging_Sandesha2_C_Module"></a><h2>Engaging Sandesha2/C Module</h2><p>
+  Install sandesha2 module into &lt;axis2 deploy folder&gt;/modules folder. 
Add the RMPhase
+  information into axis2.xml as following. Search for 'RMPhase' in the
+  following xml block to identify the RM specific entries.
+</p>
+    <div class="source"><pre>
+    &lt;!-- ================================================= --&gt;
+    &lt;!-- Phases  --&gt;
+    &lt;!-- ================================================= --&gt;
+    &lt;phaseOrder type="inflow"&gt;
+        &lt;!--  System pre defined phases       --&gt;
+        &lt;phase name="TransportIn"/&gt;
+        &lt;phase name="PreDispatch"/&gt;
+        &lt;phase name="Dispatch"&gt;
+            &lt;handler name="AddressingBasedDispatcher"
+                     class="axis2_engine"&gt;
+                &lt;order phase="Dispatch"/&gt;
+            &lt;/handler&gt;
+             &lt;handler name="RequestURIBasedDispatcher"
+                     class="axis2_engine"&gt;
+                &lt;order phase="Dispatch"/&gt;
+            &lt;/handler&gt;
+             &lt;handler name="SOAPActionBasedDispatcher"
+                     class="axis2_engine"&gt;
+                &lt;order phase="Dispatch"/&gt;
+            &lt;/handler&gt;
+             &lt;handler name="SOAPMessageBodyBasedDispatcher"
+                     class="axis2_engine"&gt;
+                &lt;order phase="Dispatch"/&gt;
+            &lt;/handler&gt;
+        &lt;/phase&gt;
+        &lt;phase name="PostDispatch"&gt;
+             &lt;handler name="DispatchPostConditionsEvaluator"
+                     class="axis2_engine"&gt;
+                &lt;order phase="PostDispatch"/&gt;
+            &lt;/handler&gt;
+            &lt;handler name="InstanceDispatcher"
+                     class="axis2_engine"&gt;
+                &lt;order phase="PostDispatch"/&gt;
+            &lt;/handler&gt;
+            &lt;handler name="SOAPProcessingModelChecker"
+                     class="axis2_engine"&gt;
+                &lt;order phase="PostDispatch"/&gt;
+            &lt;/handler&gt;
+        &lt;/phase&gt;
+        &lt;!--  System pre defined phases       --&gt;
+        &lt;!--   After Postdispatch phase module author or or service author 
can add any phase he want      --&gt;
+        &lt;!--phase name="userphase1"/--&gt;
+        &lt;phase name="RMPhase"/&gt;
+    &lt;/phaseOrder&gt;
+    &lt;phaseOrder type="outflow"&gt;
+        &lt;!--      user can add his own phases to this area  --&gt;
+    &lt;phase name="RMPhase"/&gt;
+        &lt;!--phase name="userphase1"/--&gt;
+        &lt;!--system predefined phase--&gt;
+        &lt;!--these phase will run irrespective of the service--&gt;
+        &lt;!--phase name="PolicyDetermination"/--&gt;
+        &lt;!--phase name="MessageOut"/--&gt;
+    &lt;/phaseOrder&gt;
+    &lt;phaseOrder type="INfaultflow"&gt;
+        &lt;!--      user can add his own phases to this area  --&gt;
+        &lt;!--phase name="userphase1"/--&gt;
+           &lt;phase name="RMPhase"/&gt;
+    &lt;/phaseOrder&gt;
+    &lt;phaseOrder type="Outfaultflow"&gt;
+        &lt;!--      user can add his own phases to this area  --&gt;
+        &lt;phase name="RMPhase"/&gt;
+        &lt;phase name="MessageOut"/&gt;
+        &lt;!--phase name="userphase1"/--&gt;
+        &lt;!--phase name="PolicyDetermination"/--&gt;
+    &lt;/phaseOrder&gt;
+
+</pre></div>
+  <p>
+In the services xml file for the service which require RM enabled
+add the entry
+ &lt;module ref="sandesha2"/&gt;
+If you need all services in the engine RM enabled add the above entry into
+axis2.xml.
+</p><p>
+You can use samples in the samples folder for testing.
+</p><div class="subsection"><a name="Known_Issues"></a><h3>Known Issues</h3><p>
+
+Please keep in mind the following when using Sandesha2/C with Axis2/C.
+<ol>
+<li>Comment the line no:295 in 
src/core/transport/http/receiver/http_svr_thread.c
+   <pre>axutil_free_thread_env(thread_env);</pre>
+</li>
+
+<li>Comment the line no:299 in 
src/core/transport/http/receiver/http_svr_thread.c
+    <pre>axutil_thread_pool_exit_thread(env-&gt;thread_pool, thd);</pre>
+</li>
+<li>Comment the following block starting form line no:259 
src/core/transport/http/sender/http_sender.c
+<pre>
+    property = axutil_property_create(env);
+    axutil_property_set_scope(property, env, AXIS2_SCOPE_REQUEST);
+    axutil_property_set_free_func(property, env, 
axis2_http_client_free_void_arg);
+    axutil_property_set_value(property, env, sender-&gt;client);
+    axis2_msg_ctx_set_property(msg_ctx, env, AXIS2_HTTP_CLIENT, property);
+</pre>
+</li>
+<li>If for some reason RM sequences seems not executing properly the reason 
could
+   be the database is corrupted for some reason. Try rerunning the  the 
database
+   scripts to clean the database.
+</li>
+</ol>
+Some of the above changes may lead to memory leaks in Axis2/C. 
</p></div></div></div></div><div class="clear"><hr></hr></div><div 
id="footer"><div class="xright">© 2005-2007, Apache Software 
Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to