You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/10/27 06:29:25 UTC

svn commit: r468268 [3/6] - in /webservices/axis2/site/c: ./ docs/ docs/hello/ docs/hello/client/ docs/hello/service/ docs/hello/service/hello/

Modified: webservices/axis2/site/c/docs/developerguide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/developerguide.html?view=diff&rev=468268&r1=468267&r2=468268
==============================================================================
--- webservices/axis2/site/c/docs/developerguide.html (original)
+++ webservices/axis2/site/c/docs/developerguide.html Thu Oct 26 21:29:24 2006
@@ -2,17 +2,17 @@
           @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/axis2/c" id="projectLogo"><img alt="Apache Axis2 C" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
-                	Last published: 04 October 2006
+                	Last published: 27 October 2006
                   | Doc for 0.94</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuAxis2_C"><h5>Axis2/C</h5><ul><li class="none"><a href="../index.html">Home</a></li><li class="expanded"><a href="../download.cgi">Download Axis2/C</a><ul><li class="none"><a href="../download.cgi">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/c/" class="externalLink" title="External Link">View Source Code Online</a></li><li class="none"><a href="../svn.html">Checkout Source Code</a></li></ul></li><li class="none"><a href="../docs/index.html">Documentation</a></li><li class="expanded"><a href="../mail-lists.html">Get Involved</a><ul><li class="none"><a href="../mail-lists.html">Mailing Lists</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="../issue-tracking.html">Issue Tracking</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="Axis2_C_Developer_Guide"></a><h2>Axis2/C Developer Guide</h2><p>Please send your feedback to developer mailing list: <a href="mailto:axis-c-dev@ws.apache.org">axis-c-dev@ws.apache.org</a> (Please
 remember to prefix the subject with [Axis2]). To subscribe to developer
-mailing lists see <a href="../mail-lists.html">here</a></p><div class="subsection"><a name="Content"></a><h3>Content</h3><p>This guide walks you through the following topics that might help you get
-familiar with the Axis2/C project and its development norms in quick time.</p><ul>
+mailing lists see <a href="../mail-lists.html">here</a>.</p><div class="subsection"><a name="Content"></a><h3>Content</h3><p>This guide walks you through the following topics with the aim of helping you get
+familiar with the Axis2/C project and its development norms quickly.</p><ul>
   <li><a href="#Programming_Model">Programming model</a></li>
   <li><a href="#Memory_Management">Memory management</a></li>
   <li><a href="#Coding_Conventions">Coding conventions</a></li>
   <li><a href="#Unit_Tests">Unit tests</a></li>
 </ul><p><a id="Programming_Model"></a></p></div><div class="subsection"><a name="Programming_Model"></a><h3>Programming Model</h3><p>Axis2/C programming model uses a pseudo object oriented model to achieve
-data hiding. The following example illustrates how this is done in Axis2/C.
+data hiding. The following example illustrates how this is done.
 Each struct corresponds to the "class" concept in object oriented
 programming. Hence, each struct has its own header file, that exposes the API
 for that struct and a source file, that contains the functional
@@ -22,10 +22,10 @@
 user, and lives in the source file. To ease the user from the complex syntax
 required to access the functions in a given ops struct, macros are provided
 to access them. Since the data is hidden, it is the usual practice to provide
-getter and setter methods for the data fields of the struct, in addition to
-the other processing functionality. The actual function implementations in
+*getter* and *setter* methods for the data fields of the struct, in addition to
+the other processing functionality. The actual functional implementations in
 the source file are mapped to the ops struct functions declared in the header
-file, by means of function pointer assignments.</p><p>Here is a sample header file associated with the "foo" struct. (Imagine a
+file by means of function pointer assignments.</p><p>Here is a sample header file associated with the "foo" struct. (Imagine a
 class called "foo" in the proper object oriented programming model.)</p><strong>/* axis2_ foo.h */</strong>
     <div class="source"><pre> 
 typedef struct axis2_foo_ops axis2_foo_ops_t;
@@ -96,14 +96,14 @@
     /* do the dirty work of cleaning the allocated memory */
 }
 </pre></div>
-  <p><a id="Memory_Management"></a></p><p>If you had a closer look into the given sample above, you will see that
+  <p><a id="Memory_Management"></a></p><p>If you take a closer look at the sample above, you will see that
 almost all functions take a double pointer to the axis2_env struct. To learn
 more about the Axis2/C environment, please have a look at the <a href="architecture_notes.html">architecture notes</a>.</p></div><div class="subsection"><a name="Memory_Management"></a><h3>Memory Management</h3><p>When writing services as well as client programs, you have to ensure that
 you do proper memory management. You need to be careful to deallocate the
 memory you have allocated in order to avoid memory leaks (and to avoid those
 nasty segmentation faults ;-) ). Remebering where you allocate memory is a
 good practice, which will help you to properly free such allocated memory.</p></div><div class="subsection"><a name="Memory_Management_Guidelines_for_Developing_Services"></a><h3>Memory Management Guidelines for Developing Services</h3><p>To understand how the allocated memory is reclaimed, it is worth looking
-at the service skeleton interface which is defined in
+at the service skeleton interface which is defined in :
 <strong>axis2_svc_skeleton.h</strong></p>
     <div class="source"><pre>
 AXIS2_DECLARE_DATA struct axis2_svc_skeleton_ops
@@ -171,20 +171,20 @@
   <p>SOAP engine frees the memory allocated for the <code>axiom_node_t</code>
 struct that is used to form the response SOAP message. However, it is the
 responsibility of the service developer to clean any additional memory
-allocated.</p><p></p></div><div class="subsection"><a name="Memory_management_guidelines_for_developing_clients"></a><h3>Memory management guidelines for developing clients</h3><p>
+allocated.</p><p></p></div><div class="subsection"><a name="Memory_Management_Guidelines_for_Developing_Clients"></a><h3>Memory Management Guidelines for Developing Clients</h3><p>
 Most of the memory allocated in the client side (including SOAP request and
 reply messges), should be cleaned in the client side itself. Memory allocated
 for properties are taken care of by the SOAP engine. SOAP engine reclaims the
 memory allocated for properties based on the scope (Request, Session or
 Application) that you set for each property.
 
-</p><p> <a id="Coding_Conventions"></a></p></div><div class="subsection"><a name="Coding_Conventions"></a><h3>Coding Conventions</h3><p>Coding conventions used with the Axis2 project is listed in <a href="../coding_conventions.html">this</a> document.</p><p><a id="Unit_and_System_Tests"></a></p></div><div class="subsection"><a name="Unit_Tests"></a><h3>Unit Tests</h3><p><a href="http://cutest.sourceforge.net/" class="externalLink" title="External Link">CuTest</a> library is used to
+<a id="Coding_Conventions"></a></p></div><div class="subsection"><a name="Coding_Conventions"></a><h3>Coding Conventions</h3><p>Coding conventions used with the Axis2 project is listed in <a href="../coding_conventions.html">this</a> document.</p><p><a id="Unit_Tests"></a></p></div><div class="subsection"><a name="Unit_Tests"></a><h3>Unit Tests</h3><p><a href="http://cutest.sourceforge.net/" class="externalLink" title="External Link">CuTest</a> library is used to
 write unit tests in Axis2/C.</p><p>You need to follow two steps to write a unit test for a module.</p><p>
 1. Add the unit test to the module's test suite.
 
 </p><p>2. Add the module's test suite to the main unit test suite.</p><p></p></div><div class="subsection"><a name="Step1:_Adding_a_unit_test_to_a_module_s_unit_test_suite"></a><h3>Step1: Adding a unit test to a module's unit test suite</h3><p>This section illustrates how to add a unit test case to the util module.
 Let's take, for example, the unit tests for axis2 stream. There are two files
-named util_stream_test.c/.h placed into modules/util/test folder. Here's a
+named <code>util_stream_test.c/.h</code> placed into modules/util/test folder. Here's a
 sample code written to test the operation
 <code>axis2_stream_ops_read</code>.</p>
     <div class="source"><pre>
@@ -203,7 +203,7 @@
 
 </pre></div>
   <p>The prototype of the function should be added to the header file. The test
-suite is defined in util_test.c. You need to add the above defined test case
+suite is defined in <code>util_test.c</code>. You need to add the above defined test case
 to the test suite as shown below.</p>
     <div class="source"><pre>#include "util_test.h"
 #include &lt;axis2_allocator.h&gt;
@@ -222,7 +222,7 @@
 
 
 </pre></div>
-  </div><div class="subsection"><a name="Step2:_Adding_the_Module_test_suite_to_the_Main_Unit_Test_Suite"></a><h3>Step2: Adding the Module test suite to the Main Unit Test Suite</h3><p>Now you need to add the util module test suite to the main test suite.</p>
+  </div><div class="subsection"><a name="Step2:_Adding_the_Module_test_suite_to_the_Main_Unit_Test_Suite"></a><h3>Step2: Adding the Module test suite to the Main Unit Test Suite</h3><p>Now, you need to add the util module test suite to the main test suite.</p>
     <div class="source"><pre>#include &lt;CuTest.h&gt;
 #include "../../util/test/util_test.h"
 #include "../../common/test/common_test.h"
@@ -248,5 +248,5 @@
 
 
 </pre></div>
-  <p>You can either run only the unit tests written for the util module or run
+  <p>You can either run only the unit tests written for the util module or 
 all the tests.</p></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>

Added: webservices/axis2/site/c/docs/hello/client/hello.c.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/hello/client/hello.c.html?view=auto&rev=468268
==============================================================================
--- webservices/axis2/site/c/docs/hello/client/hello.c.html (added)
+++ webservices/axis2/site/c/docs/hello/client/hello.c.html Thu Oct 26 21:29:24 2006
@@ -0,0 +1,156 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Axis2/C - hello.c</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/axis2/c" id="projectLogo"><img alt="Apache Axis2 C" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+                	Last published: 27 October 2006
+                  | Doc for 0.94</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuAxis2_C"><h5>Axis2/C</h5><ul><li class="none"><a href="../../../index.html">Home</a></li><li class="expanded"><a href="../../../download.cgi">Download Axis2/C</a><ul><li class="none"><a href="../../../download.cgi">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/c/" class="externalLink" title="External Link">View Source Code Online</a></li><li class="none"><a href="../../../svn.html">Checkout Source Code</a></li></ul></li><li class="none"><a href="../../../docs/index.html">Documentation</a></li><li class="expanded"><a href="../../../mail-lists.html">Get Involved</a><ul><li class="none"><a href="../../../mail-lists.html">Mailing Lists</a></li></ul></li><li class="expanded"><a href="../../../team-list.html">Project Information</a><ul><li class="none"><a href="../../../t
 eam-list.html">Project Team</a></li><li class="none"><a href="../../../issue-tracking.html">Issue Tracking</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"><font face="Monospace">
+<font color="#808080"><i>/*<br></br>
+ * Copyright 2004,2005 The Apache Software Foundation.<br></br>
+ *<br></br>
+ * Licensed under the Apache License, Version 2.0 (the "License");<br></br>
+ * you may not use this file except in compliance with the License.<br></br>
+ * You may obtain a copy of the License at<br></br>
+ *<br></br>
+ *      http://www.apache.org/licenses/LICENSE-2.0<br></br>
+ *<br></br>
+ * Unless required by applicable law or agreed to in writing, software<br></br>
+ * distributed under the License is distributed on an "AS IS" BASIS,<br></br>
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br></br>
+ * See the License for the specific language governing permissions and<br></br>
+ * limitations under the License.<br></br>
+ */</i></font><br></br>
+<br></br>
+<font color="#008000">#include &lt;stdio.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axiom.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axis2_util.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axiom_soap.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axis2_client.h&gt;<br></br></font>
+<br></br>
+<font color="#000000">axiom_node_t</font> *<br></br>
+<font color="#000000">build_om_request</font>(<font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>);<br></br>
+<br></br>
+<font color="#000000">axis2_char_t</font> *<br></br>
+<font color="#000000">process_om_response</font>(<font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>,<br></br>
+        <font color="#000000">axiom_node_t</font> *<font color="#000000">node</font>);<br></br>
+<br></br>
+<font color="#800000">int</font> <font color="#000000">main</font>(<font color="#800000">int</font> <font color="#000000">argc</font>, <font color="#800000">char</font>** <font color="#000000">argv</font>)<br></br>
+{<br></br>
+    <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#800000">const</font> <font color="#000000">axis2_char_t</font> *<font color="#000000">address</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axis2_endpoint_ref_t</font>* <font color="#000000">endpoint_ref</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axis2_options_t</font> *<font color="#000000">options</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#800000">const</font> <font color="#000000">axis2_char_t</font> *<font color="#000000">client_home</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axis2_svc_client_t</font>* <font color="#000000">svc_client</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axiom_node_t</font> *<font color="#000000">payload</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axiom_node_t</font> *<font color="#000000">ret_node</font> = <font color="#000000">NULL</font>;<br></br>
+<br></br>
+    <font color="#000000">env</font> = <font color="#000000">axis2_env_create_all</font>(<font color="#FF0000">"hello_client.log"</font>, <font color="#000000">AXIS2_LOG_LEVEL_TRACE</font>);<br></br>
+<br></br>
+    <font color="#000000">options</font> = <font color="#000000">axis2_options_create</font>(<font color="#000000">env</font>);<br></br>
+<br></br>
+    <font color="#000000">address</font> = <font color="#FF0000">"http://localhost:9090/axis2/services/hello"</font>;<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">argc</font> &gt; <font color="#0000FF">1</font>)<br></br>
+        <font color="#000000">address</font> = <font color="#000000">argv</font>[<font color="#0000FF">1</font>];<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">AXIS2_STRCMP</font>(<font color="#000000">address</font>, <font color="#FF0000">"-h"</font>) == <font color="#0000FF">0</font>)<br></br>
+    {<br></br>
+        <font color="#000000">printf</font>(<font color="#FF0000">"Usage : %s [endpoint_url]\n"</font>, <font color="#000000">argv</font>[<font color="#0000FF">0</font>]);<br></br>
+        <font color="#000000">printf</font>(<font color="#FF0000">"use -h for help\n"</font>);<br></br>
+        <font color="#000000"><b>return</b></font> <font color="#0000FF">0</font>;<br></br>
+    }<br></br>
+    <font color="#000000">printf</font>(<font color="#FF0000">"Using endpoint : %s\n"</font>, <font color="#000000">address</font>);<br></br>
+    <font color="#000000">endpoint_ref</font> = <font color="#000000">axis2_endpoint_ref_create</font>(<font color="#000000">env</font>, <font color="#000000">address</font>);<br></br>
+    <font color="#000000">AXIS2_OPTIONS_SET_TO</font>(<font color="#000000">options</font>, <font color="#000000">env</font>, <font color="#000000">endpoint_ref</font>);<br></br>
+<br></br>
+    <font color="#000000">client_home</font> = <font color="#000000">AXIS2_GETENV</font>(<font color="#FF0000">"AXIS2C_HOME"</font>);<br></br>
+    <font color="#000000"><b>if</b></font> (!<font color="#000000">client_home</font> &amp;&amp; !<font color="#000000">strcmp</font>(<font color="#000000">client_home</font>, <font color="#FF0000">""</font>))<br></br>
+        <font color="#000000">client_home</font> = <font color="#FF0000">"../.."</font>;<br></br>
+<br></br>
+    <font color="#000000">svc_client</font> = <font color="#000000">axis2_svc_client_create</font>(<font color="#000000">env</font>, <font color="#000000">client_home</font>);<br></br>
+    <font color="#000000"><b>if</b></font> (!<font color="#000000">svc_client</font>)<br></br>
+    {<br></br>
+        <font color="#000000">printf</font>(<font color="#FF0000">"Error creating service client\n"</font>);<br></br>
+        <font color="#000000">AXIS2_LOG_ERROR</font>(<font color="#000000">env</font>-&gt;<font color="#000000">log</font>, <font color="#000000">AXIS2_LOG_SI</font>, <font color="#FF0000">"Stub invoke FAILED: Error code:"</font><br></br>
+                <font color="#FF0000">" %d :: %s"</font>, <font color="#000000">env</font>-&gt;<font color="#000000">error</font>-&gt;<font color="#000000">error_number</font>,<br></br>
+                <font color="#000000">AXIS2_ERROR_GET_MESSAGE</font>(<font color="#000000">env</font>-&gt;<font color="#000000">error</font>));<br></br>
+        <font color="#000000"><b>return</b></font> -<font color="#0000FF">1</font>;<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000">AXIS2_SVC_CLIENT_SET_OPTIONS</font>(<font color="#000000">svc_client</font>, <font color="#000000">env</font>, <font color="#000000">options</font>);<br></br>
+<br></br>
+    <font color="#000000">payload</font> = <font color="#000000">build_om_request</font>(<font color="#000000">env</font>);<br></br>
+<br></br>
+    <font color="#000000">ret_node</font> = <font color="#000000">AXIS2_SVC_CLIENT_SEND_RECEIVE</font>(<font color="#000000">svc_client</font>, <font color="#000000">env</font>, <font color="#000000">payload</font>);<br></br>
+<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">ret_node</font>)<br></br>
+    {<br></br>
+        <font color="#000000">axis2_char_t</font> *<font color="#000000">greeting</font> = <font color="#000000">process_om_response</font>(<font color="#000000">env</font>, <font color="#000000">ret_node</font>);<br></br>
+        <font color="#000000"><b>if</b></font> (<font color="#000000">greeting</font>)<br></br>
+            <font color="#000000">printf</font>(<font color="#FF0000">"\nReceived greeting: \"%s\" from service\n"</font>, <font color="#000000">greeting</font>);<br></br>
+<br></br>
+        <font color="#000000">AXIOM_NODE_FREE_TREE</font>(<font color="#000000">ret_node</font>, <font color="#000000">env</font>);<br></br>
+        <font color="#000000">ret_node</font> = <font color="#000000">NULL</font>;<br></br>
+    }<br></br>
+    <font color="#000000"><b>else</b></font><br></br>
+    {<br></br>
+        <font color="#000000">AXIS2_LOG_ERROR</font>(<font color="#000000">env</font>-&gt;<font color="#000000">log</font>, <font color="#000000">AXIS2_LOG_SI</font>, <font color="#FF0000">"Stub invoke FAILED: Error code:"</font><br></br>
+                <font color="#FF0000">" %d :: %s"</font>, <font color="#000000">env</font>-&gt;<font color="#000000">error</font>-&gt;<font color="#000000">error_number</font>,<br></br>
+                <font color="#000000">AXIS2_ERROR_GET_MESSAGE</font>(<font color="#000000">env</font>-&gt;<font color="#000000">error</font>));<br></br>
+        <font color="#000000">printf</font>(<font color="#FF0000">"hello client invoke FAILED!\n"</font>);<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">payload</font>)<br></br>
+    {<br></br>
+        <font color="#000000">AXIOM_NODE_FREE_TREE</font>(<font color="#000000">payload</font>, <font color="#000000">env</font>);<br></br>
+        <font color="#000000">payload</font> = <font color="#000000">NULL</font>;<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">svc_client</font>)<br></br>
+    {<br></br>
+        <font color="#000000">AXIS2_SVC_CLIENT_FREE</font>(<font color="#000000">svc_client</font>, <font color="#000000">env</font>);<br></br>
+        <font color="#000000">svc_client</font> = <font color="#000000">NULL</font>;<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">env</font>)<br></br>
+    {<br></br>
+        <font color="#000000">axis2_env_free</font>((<font color="#000000">axis2_env_t</font> *) <font color="#000000">env</font>);<br></br>
+        <font color="#000000">env</font> = <font color="#000000">NULL</font>;<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#0000FF">0</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#000000">axiom_node_t</font> *<br></br>
+<font color="#000000">build_om_request</font>(<font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+    <font color="#000000">axiom_node_t</font>* <font color="#000000">greet_om_node</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axiom_element_t</font> * <font color="#000000">greet_om_ele</font> = <font color="#000000">NULL</font>;<br></br>
+<br></br>
+    <font color="#000000">greet_om_ele</font> = <font color="#000000">axiom_element_create</font>(<font color="#000000">env</font>, <font color="#000000">NULL</font>, <font color="#FF0000">"greet"</font>, <font color="#000000">NULL</font>, &amp;<font color="#000000">greet_om_node</font>);<br></br>
+    <font color="#000000">AXIOM_ELEMENT_SET_TEXT</font>(<font color="#000000">greet_om_ele</font>, <font color="#000000">env</font>, <font color="#FF0000">"Hello Server!"</font>, <font color="#000000">greet_om_node</font>);<br></br>
+<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">greet_om_node</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#000000">axis2_char_t</font> *<br></br>
+<font color="#000000">process_om_response</font>(<font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>,<br></br>
+        <font color="#000000">axiom_node_t</font> *<font color="#000000">node</font>)<br></br>
+{<br></br>
+    <font color="#000000">axiom_node_t</font> *<font color="#000000">service_greeting_node</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axiom_node_t</font> *<font color="#000000">return_node</font> = <font color="#000000">NULL</font>;<br></br>
+<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">node</font>)<br></br>
+    {<br></br>
+        <font color="#000000">service_greeting_node</font> = <font color="#000000">AXIOM_NODE_GET_FIRST_CHILD</font>(<font color="#000000">node</font>, <font color="#000000">env</font>);<br></br>
+        <font color="#000000"><b>if</b></font> (<font color="#000000">service_greeting_node</font> &amp;&amp;<br></br>
+                <font color="#000000">AXIOM_NODE_GET_NODE_TYPE</font>(<font color="#000000">service_greeting_node</font>, <font color="#000000">env</font>) == <font color="#000000">AXIOM_TEXT</font>)<br></br>
+        {<br></br>
+            <font color="#000000">axiom_text_t</font> *<font color="#000000">greeting</font> = (<font color="#000000">axiom_text_t</font> *)<font color="#000000">AXIOM_NODE_GET_DATA_ELEMENT</font>(<font color="#000000">service_greeting_node</font>, <font color="#000000">env</font>);<br></br>
+            <font color="#000000"><b>if</b></font> (<font color="#000000">greeting</font> &amp;&amp; <font color="#000000">AXIOM_TEXT_GET_VALUE</font>(<font color="#000000">greeting</font> , <font color="#000000">env</font>))<br></br>
+            {<br></br>
+                <font color="#000000"><b>return</b></font> <font color="#000000">AXIOM_TEXT_GET_VALUE</font>(<font color="#000000">greeting</font>, <font color="#000000">env</font>);<br></br>
+            }<br></br>
+        }<br></br>
+    }<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">NULL</font>;<br></br>
+}<br></br>
+		</font></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file

Added: webservices/axis2/site/c/docs/hello/service/hello.c.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/hello/service/hello.c.html?view=auto&rev=468268
==============================================================================
--- webservices/axis2/site/c/docs/hello/service/hello.c.html (added)
+++ webservices/axis2/site/c/docs/hello/service/hello.c.html Thu Oct 26 21:29:24 2006
@@ -0,0 +1,207 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Axis2/C - hello.c</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/axis2/c" id="projectLogo"><img alt="Apache Axis2 C" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+                	Last published: 27 October 2006
+                  | Doc for 0.94</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuAxis2_C"><h5>Axis2/C</h5><ul><li class="none"><a href="../../../index.html">Home</a></li><li class="expanded"><a href="../../../download.cgi">Download Axis2/C</a><ul><li class="none"><a href="../../../download.cgi">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/c/" class="externalLink" title="External Link">View Source Code Online</a></li><li class="none"><a href="../../../svn.html">Checkout Source Code</a></li></ul></li><li class="none"><a href="../../../docs/index.html">Documentation</a></li><li class="expanded"><a href="../../../mail-lists.html">Get Involved</a><ul><li class="none"><a href="../../../mail-lists.html">Mailing Lists</a></li></ul></li><li class="expanded"><a href="../../../team-list.html">Project Information</a><ul><li class="none"><a href="../../../t
 eam-list.html">Project Team</a></li><li class="none"><a href="../../../issue-tracking.html">Issue Tracking</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"><font face="Monospace">
+<font color="#808080"><i>/*<br></br>
+ * Copyright 2004,2005 The Apache Software Foundation.<br></br>
+ *<br></br>
+ * Licensed under the Apache License, Version 2.0 (the "License");<br></br>
+ * you may not use this file except in compliance with the License.<br></br>
+ * You may obtain a copy of the License at<br></br>
+ *<br></br>
+ *      http://www.apache.org/licenses/LICENSE-2.0<br></br>
+ *<br></br>
+ * Unless required by applicable law or agreed to in writing, software<br></br>
+ * distributed under the License is distributed on an "AS IS" BASIS,<br></br>
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br></br>
+ * See the License for the specific language governing permissions and<br></br>
+ * limitations under the License.<br></br>
+ */</i></font><br></br>
+<font color="#008000">#include &lt;axis2_svc_skeleton.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axis2_log_default.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axis2_error_default.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axiom_text.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axiom_node.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axiom_element.h&gt;<br></br></font>
+<font color="#008000">#include &lt;axis2_array_list.h&gt;<br></br></font>
+<font color="#008000">#include &lt;stdio.h&gt;<br></br></font>
+<br></br>
+<font color="#000000">axiom_node_t</font> *<font color="#000000">axis2_hello_greet</font>(<font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>,<br></br>
+        <font color="#000000">axiom_node_t</font> *<font color="#000000">node</font>);<br></br>
+<br></br>
+<font color="#800000">int</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">hello_free</font>(<font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">svc_skeleton</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>);<br></br>
+<br></br>
+<font color="#000000">axiom_node_t</font>* <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">hello_invoke</font>(<font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">svc_skeleton</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>,<br></br>
+        <font color="#000000">axiom_node_t</font> *<font color="#000000">node</font>,<br></br>
+        <font color="#000000">axis2_msg_ctx_t</font> *<font color="#000000">msg_ctx</font>);<br></br>
+<br></br>
+<br></br>
+<font color="#800000">int</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">hello_init</font>(<font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">svc_skeleton</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>);<br></br>
+<br></br>
+<font color="#000000">axiom_node_t</font>* <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">hello_on_fault</font>(<font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">svc_skeli</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>, <font color="#000000">axiom_node_t</font> *<font color="#000000">node</font>);<br></br>
+<br></br>
+<br></br>
+<font color="#000000">axiom_node_t</font> *<br></br>
+<font color="#000000">build_greeting_response</font>(<font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>, <br></br>
+        <font color="#000000">axis2_char_t</font> *<font color="#000000">greeting</font>);<br></br>
+<br></br>
+<font color="#000000">axiom_node_t</font> *<br></br>
+<font color="#000000">axis2_hello_greet</font>(<font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>, <font color="#000000">axiom_node_t</font> *<font color="#000000">node</font>)<br></br>
+{<br></br>
+    <font color="#000000">axiom_node_t</font> *<font color="#000000">client_greeting_node</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axiom_node_t</font> *<font color="#000000">return_node</font> = <font color="#000000">NULL</font>;<br></br>
+<br></br>
+    <font color="#000000">AXIS2_ENV_CHECK</font>(<font color="#000000">env</font>, <font color="#000000">NULL</font>);<br></br>
+<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">node</font>)<br></br>
+    {<br></br>
+        <font color="#000000">client_greeting_node</font> = <font color="#000000">AXIOM_NODE_GET_FIRST_CHILD</font>(<font color="#000000">node</font>, <font color="#000000">env</font>);<br></br>
+        <font color="#000000"><b>if</b></font> (<font color="#000000">client_greeting_node</font> &amp;&amp;<br></br>
+                <font color="#000000">AXIOM_NODE_GET_NODE_TYPE</font>(<font color="#000000">client_greeting_node</font>, <font color="#000000">env</font>) == <font color="#000000">AXIOM_TEXT</font>)<br></br>
+        {<br></br>
+            <font color="#000000">axiom_text_t</font> *<font color="#000000">greeting</font> = (<font color="#000000">axiom_text_t</font> *)<font color="#000000">AXIOM_NODE_GET_DATA_ELEMENT</font>(<font color="#000000">client_greeting_node</font>, <font color="#000000">env</font>);<br></br>
+            <font color="#000000"><b>if</b></font> (<font color="#000000">greeting</font> &amp;&amp; <font color="#000000">AXIOM_TEXT_GET_VALUE</font>(<font color="#000000">greeting</font> , <font color="#000000">env</font>))<br></br>
+            {<br></br>
+                <font color="#000000">axis2_char_t</font> *<font color="#000000">greeting_str</font> = <font color="#000000">AXIOM_TEXT_GET_VALUE</font>(<font color="#000000">greeting</font>, <font color="#000000">env</font>);<br></br>
+                <font color="#000000">printf</font>(<font color="#FF0000">"Client greeted saying \"%s\" \n"</font>, <font color="#000000">greeting_str</font>);<br></br>
+                <font color="#000000">return_node</font> = <font color="#000000">build_greeting_response</font>(<font color="#000000">env</font>, <font color="#FF0000">"Hello Client!"</font>);<br></br>
+            }<br></br>
+        }<br></br>
+    }<br></br>
+    <font color="#000000"><b>else</b></font><br></br>
+    {<br></br>
+        <font color="#000000">AXIS2_ERROR_SET</font>(<font color="#000000">env</font>-&gt;<font color="#000000">error</font>, <font color="#000000">AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+        <font color="#000000">printf</font>(<font color="#FF0000">"ERROR: invalid XML in request\n"</font>);<br></br>
+        <font color="#000000">return_node</font> = <font color="#000000">build_greeting_response</font>(<font color="#000000">env</font>, <font color="#FF0000">"Client! Who are you?"</font>);<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">return_node</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#000000">axiom_node_t</font> *<br></br>
+<font color="#000000">build_greeting_response</font>(<font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>, <font color="#000000">axis2_char_t</font> *<font color="#000000">greeting</font>)<br></br>
+{<br></br>
+    <font color="#000000">axiom_node_t</font>* <font color="#000000">greeting_om_node</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axiom_element_t</font> * <font color="#000000">greeting_om_ele</font> = <font color="#000000">NULL</font>;<br></br>
+<br></br>
+    <font color="#000000">greeting_om_ele</font> = <font color="#000000">axiom_element_create</font>(<font color="#000000">env</font>, <font color="#000000">NULL</font>, <font color="#FF0000">"greetResponse"</font>, <font color="#000000">NULL</font>, &amp;<font color="#000000">greeting_om_node</font>);<br></br>
+<br></br>
+    <font color="#000000">AXIOM_ELEMENT_SET_TEXT</font>(<font color="#000000">greeting_om_ele</font>, <font color="#000000">env</font>, <font color="#000000">greeting</font>, <font color="#000000">greeting_om_node</font>);<br></br>
+<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">greeting_om_node</font>;<br></br>
+}<br></br>
+<br></br>
+<br></br>
+<font color="#000000">axis2_svc_skeleton_t</font> *<br></br>
+<font color="#000000">axis2_hello_create</font>(<font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+    <font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">svc_skeleton</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">svc_skeleton</font> = <font color="#000000">AXIS2_MALLOC</font>(<font color="#000000">env</font>-&gt;<font color="#000000">allocator</font>,<br></br>
+            <font color="#000000"><b>sizeof</b></font>(<font color="#000000">axis2_svc_skeleton_t</font>));<br></br>
+<br></br>
+    <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">ops</font> = <font color="#000000">AXIS2_MALLOC</font>(<br></br>
+                <font color="#000000">env</font>-&gt;<font color="#000000">allocator</font>, <font color="#000000"><b>sizeof</b></font>(<font color="#000000">axis2_svc_skeleton_ops_t</font>));<br></br>
+<br></br>
+    <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">func_array</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">ops</font>-&gt;<font color="#000000">free</font> = <font color="#000000">hello_free</font>;<br></br>
+    <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">ops</font>-&gt;<font color="#000000">init</font> = <font color="#000000">hello_init</font>;<br></br>
+    <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">ops</font>-&gt;<font color="#000000">invoke</font> = <font color="#000000">hello_invoke</font>;<br></br>
+    <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">ops</font>-&gt;<font color="#000000">on_fault</font> = <font color="#000000">hello_on_fault</font>;<br></br>
+<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">svc_skeleton</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#800000">int</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">hello_init</font>(<font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">svc_skeleton</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+    <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">func_array</font> = <font color="#000000">axis2_array_list_create</font>(<font color="#000000">env</font>, <font color="#0000FF">0</font>);<br></br>
+    <font color="#000000">AXIS2_ARRAY_LIST_ADD</font>(<font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">func_array</font>, <font color="#000000">env</font>, <font color="#FF0000">"helloString"</font>);<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#000000">axiom_node_t</font>* <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">hello_invoke</font>(<font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">svc_skeleton</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>,<br></br>
+        <font color="#000000">axiom_node_t</font> *<font color="#000000">node</font>,<br></br>
+        <font color="#000000">axis2_msg_ctx_t</font> *<font color="#000000">msg_ctx</font>)<br></br>
+{<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">axis2_hello_greet</font>(<font color="#000000">env</font>, <font color="#000000">node</font>);<br></br>
+}<br></br>
+<br></br>
+<font color="#000000">axiom_node_t</font>* <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">hello_on_fault</font>(<font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">svc_skeli</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>, <font color="#000000">axiom_node_t</font> *<font color="#000000">node</font>)<br></br>
+{<br></br>
+    <font color="#000000">axiom_node_t</font> *<font color="#000000">error_node</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axiom_node_t</font>* <font color="#000000">text_node</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">axiom_element_t</font> *<font color="#000000">error_ele</font> = <font color="#000000">NULL</font>;<br></br>
+    <font color="#000000">error_ele</font> = <font color="#000000">axiom_element_create</font>(<font color="#000000">env</font>, <font color="#000000">node</font>, <font color="#FF0000">"EchoServiceError"</font>, <font color="#000000">NULL</font>,<br></br>
+            &amp;<font color="#000000">error_node</font>);<br></br>
+    <font color="#000000">AXIOM_ELEMENT_SET_TEXT</font>(<font color="#000000">error_ele</font>, <font color="#000000">env</font>, <font color="#FF0000">"Echo service failed "</font>,<br></br>
+            <font color="#000000">text_node</font>);<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">error_node</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#800000">int</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">hello_free</font>(<font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">svc_skeleton</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">func_array</font>)<br></br>
+    {<br></br>
+        <font color="#000000">AXIS2_ARRAY_LIST_FREE</font>(<font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">func_array</font>, <font color="#000000">env</font>);<br></br>
+        <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">func_array</font> = <font color="#000000">NULL</font>;<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">ops</font>)<br></br>
+    {<br></br>
+        <font color="#000000">AXIS2_FREE</font>(<font color="#000000">env</font>-&gt;<font color="#000000">allocator</font>, <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">ops</font>);<br></br>
+        <font color="#000000">svc_skeleton</font>-&gt;<font color="#000000">ops</font> = <font color="#000000">NULL</font>;<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">svc_skeleton</font>)<br></br>
+    {<br></br>
+        <font color="#000000">AXIS2_FREE</font>(<font color="#000000">env</font>-&gt;<font color="#000000">allocator</font>, <font color="#000000">svc_skeleton</font>);<br></br>
+        <font color="#000000">svc_skeleton</font> = <font color="#000000">NULL</font>;<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br></br>
+}<br></br>
+<br></br>
+<br></br>
+<font color="#000000">AXIS2_EXPORT</font> <font color="#800000">int</font><br></br>
+<font color="#000000">axis2_get_instance</font>(<font color="#000000">axis2_svc_skeleton_t</font> **<font color="#000000">inst</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+    *<font color="#000000">inst</font> = <font color="#000000">axis2_hello_create</font>(<font color="#000000">env</font>);<br></br>
+    <font color="#000000"><b>if</b></font> (!(*<font color="#000000">inst</font>))<br></br>
+    {<br></br>
+        <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_FAILURE</font>;<br></br>
+    }<br></br>
+<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#000000">AXIS2_EXPORT</font> <font color="#800000">int</font><br></br>
+<font color="#000000">axis2_remove_instance</font>(<font color="#000000">axis2_svc_skeleton_t</font> *<font color="#000000">inst</font>,<br></br>
+        <font color="#800000">const</font> <font color="#000000">axis2_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+    <font color="#000000">axis2_status_t</font> <font color="#000000">status</font> = <font color="#000000">AXIS2_FAILURE</font>;<br></br>
+    <font color="#000000"><b>if</b></font> (<font color="#000000">inst</font>)<br></br>
+    {<br></br>
+        <font color="#000000">status</font> = <font color="#000000">AXIS2_SVC_SKELETON_FREE</font>(<font color="#000000">inst</font>, <font color="#000000">env</font>);<br></br>
+    }<br></br>
+    <font color="#000000"><b>return</b></font> <font color="#000000">status</font>;<br></br>
+}<br></br>
+<br></br>
+		</font></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file

Added: webservices/axis2/site/c/docs/hello/service/hello/services.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/hello/service/hello/services.html?view=auto&rev=468268
==============================================================================
--- webservices/axis2/site/c/docs/hello/service/hello/services.html (added)
+++ webservices/axis2/site/c/docs/hello/service/hello/services.html Thu Oct 26 21:29:24 2006
@@ -0,0 +1,7 @@
+<service name="hello">
+    <parameter name="ServiceClass" locked="xsd:false">hello</parameter>
+   
+        Quick start guide hello service sample.
+   
+    <operation name="greet"></operation>
+</service>
\ No newline at end of file

Modified: webservices/axis2/site/c/docs/index.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/index.html?view=diff&rev=468268&r1=468267&r2=468268
==============================================================================
--- webservices/axis2/site/c/docs/index.html (original)
+++ webservices/axis2/site/c/docs/index.html Thu Oct 26 21:29:24 2006
@@ -2,11 +2,13 @@
           @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/axis2/c" id="projectLogo"><img alt="Apache Axis2 C" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
-                	Last published: 04 October 2006
+                	Last published: 27 October 2006
                   | Doc for 0.94</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuAxis2_C"><h5>Axis2/C</h5><ul><li class="none"><a href="../index.html">Home</a></li><li class="expanded"><a href="../download.cgi">Download Axis2/C</a><ul><li class="none"><a href="../download.cgi">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/c/" class="externalLink" title="External Link">View Source Code Online</a></li><li class="none"><a href="../svn.html">Checkout Source Code</a></li></ul></li><li class="none"><a href="../docs/index.html">Documentation</a></li><li class="expanded"><a href="../mail-lists.html">Get Involved</a><ul><li class="none"><a href="../mail-lists.html">Mailing Lists</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="../issue-tracking.html">Issue Tracking</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="Axis2_C_Documentation"></a><h2>Axis2/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>
   <li><a href="developerguide.html">Developer Guide</a></li>
   <li><a href="userguide.html">User Guide</a></li>
+</ul></div><div class="subsection"><a name="Manual"></a><h3>Manual</h3><ul>
+<li><a href="axis2c_manual.html">Axis2/C Manual</a></li>
 </ul><p>
 
 </p></div><div class="subsection"><a name="Additional_References"></a><h3>Additional References</h3><ul>

Modified: webservices/axis2/site/c/docs/installationguide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/installationguide.html?view=diff&rev=468268&r1=468267&r2=468268
==============================================================================
--- webservices/axis2/site/c/docs/installationguide.html (original)
+++ webservices/axis2/site/c/docs/installationguide.html Thu Oct 26 21:29:24 2006
@@ -2,7 +2,7 @@
           @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/axis2/c" id="projectLogo"><img alt="Apache Axis2 C" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
-                	Last published: 04 October 2006
+                	Last published: 27 October 2006
                   | Doc for 0.94</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuAxis2_C"><h5>Axis2/C</h5><ul><li class="none"><a href="../index.html">Home</a></li><li class="expanded"><a href="../download.cgi">Download Axis2/C</a><ul><li class="none"><a href="../download.cgi">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/c/" class="externalLink" title="External Link">View Source Code Online</a></li><li class="none"><a href="../svn.html">Checkout Source Code</a></li></ul></li><li class="none"><a href="../docs/index.html">Documentation</a></li><li class="expanded"><a href="../mail-lists.html">Get Involved</a><ul><li class="none"><a href="../mail-lists.html">Mailing Lists</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="../issue-tracking.html">Issue Tracking</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="Axis2_C_Installation_Guide"></a><h2>Axis2/C Installation Guide</h2><p>This document will guide you on how to install 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. Instructions are given
 below to install using any of those two forms.</p><p>Please send your feedback to the developer mailing list: <a href="mailto:axis-c-dev@ws.apache.org">axis-c-dev@ws.apache.org</a> (please
@@ -42,89 +42,84 @@
       Server</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</p><p>To get both the binary and source distributions working, you need libxml2,
-which can be downloaded from <a href="http://xmlsoft.org/downloads.html" class="externalLink" title="External Link">here</a>.</p><p><b>NOTE:</b> Most Linux systems have libxml2 installed by default. On
-Windows you need to download and install libxml2.</p><p><a id="linux_binary"></a></p></div><div class="subsection"><a name="1_1__Using_binary_release"></a><h3>1.1. Using binary release</h3><p>The following steps need to be taken to install and run Axis2/C using
-binary distribution on Linux</p><ol>
-<li>Extract the binary tar package to a folder.</li>
-<li>Set AXIS2C_HOME environment variable pointing to the location where you
-  have extracted Axis2C</li>
-<ul>
-  <li>AXIS2C_HOME='/your_path_to_axis2c'</li>
-  <li>export AXIS2C_HOME</li>
-  <br></br>
-
-  <li><strong>NOTE:</strong> You will need to set AXIS2C_HOME only if you
-    need to run Axis2C samples or tests. The reason is that the samples and
-    test codes use AXIS2C_HOME to get the path to Axis2C. To write your own
-    services or clients this is not a requirement.</li>
-</ul>
-
-<li>Run the simple axis server:</li>
-<ul>
-  <li>To start the simple axis server on default port 9090, run the following
-    commands.
-    <ul>
-      <li>cd /your_path_to_axis2c/bin</li>
-      <li>./axis2_http_server</li>
-    </ul>
-  </li>
-  <li>To see the possible command line options run ./axis2_http_server -h</li>
-  <br></br>
-
-  <li><strong>NOTE:</strong> If you run into shared lib problems, try setting
-    the LD_LIBRARY_PATH
-    <ul>
-      <li>export
-      LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib</li>
-    </ul>
-  </li>
-</ul>
-
-<li>Run the sample clients in a new shell</li>
-<ul>
-  <li>cd /your_path_to_axis2c/bin/samples</li>
-  <li>to run client for echo service
+</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.</p><p>To get both the binary and source distributions working, you need libxml2,
+which can be <a href="http://xmlsoft.org/downloads.html" class="externalLink" title="External Link">downloaded</a>.</p><p><b>Note :</b> Most Linux systems have libxml2 installed by default. On MS
+Windows you need to download and install libxml2.</p><p><a id="linux_binary"></a></p></div><div class="subsection"><a name="1_1__Using_Binary_Release"></a><h3>1.1. Using Binary Release</h3><p>The following steps need to be taken to install and run Axis2/C using
+binary distribution on Linux : - </p><ol>
+  <li>Extract the binary tar package to a folder.</li>
+  <li>Set AXIS2C_HOME environment variable pointing to the location where you
+    have extracted Axis2C
     <ul>
-      <li>./echo</li>
+      <li>AXIS2C_HOME='/your_path_to_axis2c'</li>
+      <li>export AXIS2C_HOME</li>
+      <p><strong>Note :</strong> You will need to set AXIS2C_HOME only if you
+      need to run Axis2C samples or tests. The reason is that the samples and
+      test codes use AXIS2C_HOME to get the path to Axis2C. To write your own
+      services or clients this is not a requirement.</p>
     </ul>
   </li>
-  <li>to run client for math service
+  <li>Run the simple axis server:
     <ul>
-      <li>./math</li>
+      <li>To start the simple axis server on default port 9090, run the
+        following commands.
+        <ul>
+          <li>cd /your_path_to_axis2c/bin</li>
+          <li>./axis2_http_server</li>
+        </ul>
+      </li>
+      <li>To see the possible command line options run ./axis2_http_server -h
+        <p><strong>Note :</strong> If you run into shared lib problems, try
+        setting the LD_LIBRARY_PATH</p>
+        <ul>
+          <li>export
+          LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib</li>
+        </ul>
+      </li>
     </ul>
   </li>
-  <li>To see the possible command line options for sample clients run them
-    with '-h' option</li>
-  <br></br>
-
-  <li><strong>NOTE:</strong> If you run into shared lib problems, try setting
-    the LD_LIBRARY_PATH
+  <li>Run the sample clients in a new shell
     <ul>
-      <li>export
-      LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib</li>
+      <li>cd /your_path_to_axis2c/bin/samples</li>
+      <li>To run client for echo service
+        <ul>
+          <li>./echo</li>
+        </ul>
+      </li>
+      <li>To run client for math service
+        <ul>
+          <li>./math</li>
+        </ul>
+      </li>
+      <li>To see the possible command line options for sample clients run
+        them with '-h' option</li>
+      <p><strong>Note :</strong> If you run into shared lib problems, try
+      setting the LD_LIBRARY_PATH</p>
+      <ul>
+        <li>export
+        LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib</li>
+      </ul>
     </ul>
   </li>
-</ul>
 </ol><ai id="linux_source">
-
-<h3>2. Using source release</h3>
+<h3>1. 2. Using Source Release</h3>
 
 <p>The following steps need to be taken to install and run Axis2/C using
-source distribution on Linux</p>
+source distribution on Linux : - </p>
 <ol>
   <li>Extract the source tar package to a folder.</li>
   <li>Set AXIS2C_HOME environment variable pointing to the location where you
     want to install Axis2C.
     <ul>
       <li>AXIS2C_HOME='/your_desired_path_to_axis2c_installation'</li>
-      <li>export AXIS2C_HOME</li>
-      <br></br>
-
-      <li><strong>NOTE:</strong> You will need to set AXIS2C_HOME only if you
-        need to run Axis2C samples or tests. The reason is that the samples
-        and test codes use AXIS2C_HOME to get the path to Axis2C. To write
-        your own services or clients this is not a requirement.</li>
+      <li>export AXIS2C_HOME
+        <ul>
+          <li><strong>Note :</strong> You will need to set AXIS2C_HOME only
+            if you need to run Axis2C samples or tests. The reason is that
+            the samples and test codes use AXIS2C_HOME to get the path to
+            Axis2C. To write your own services or clients this is not a
+            requirement.</li>
+        </ul>
+      </li>
     </ul>
   </li>
   <li>Then go to the folder where you extracted the source
@@ -142,12 +137,12 @@
           <li>make install</li>
         </ul>
       </li>
-      <li>use './configure --help' for possible command line options.</li>
-      <li><strong>NOTE:</strong> If you don't provide a --prefix configure
-        option, it will by defaul be installed into /usr/local/axis2c
+      <li>Use './configure --help' for possible command line options.</li>
+      <li><strong>Note :</strong>If you do not provide a --prefix configure
+        option, it will by default be installed into /usr/local/axis2c
         directory.</li>
-      <li>You may need to try axis2c with guththila xml parser. You can do it
-        by giving --enable-guththila=yes
+      <li>You may need to try Axis2/C with Guththila XML parser. You can do
+        it by giving --enable-guththila=yes
         <ul>
           <li>./configure --enable-guththila=yes [other configuration
           options]</li>
@@ -155,7 +150,7 @@
           <li>make install</li>
         </ul>
       </li>
-      <li>In order to build rampart (axis2c security module)
+      <li>In order to build Rampart (Axis2/C security module)
         <ul>
           <li>./configure --enable-rampart=yes [other configuration
           options]</li>
@@ -164,27 +159,27 @@
         </ul>
       </li>
       <li>If you need to get the samples working, you also need to build the
-        samples.
-        <br></br>To build the samples:
+        samples. <br></br>
+        To build the samples:
         <ul>
           <li>export
           LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/axis2c/lib/</li>
           <li>cd samples</li>
-          <li>./configure --prefix=${AXIS2C_HOME}</li>
-          <li>--with-axis2_util=${AXIS2C_HOME}/include</li>
-          <li>--with-axiom=${AXIS2C_HOME}/include</li>
+          <li>./configure --prefix=${AXIS2C_HOME}
+            --with-axis2_util=${AXIS2C_HOME}/include
+            --with-axiom=${AXIS2C_HOME}/include</li>
           <li>make</li>
           <li>sudo make install</li>
         </ul>
       </li>
       <li>Please run "./configure --help" in samples folder for more
         information on configure options.</li>
-      <li><strong>NOTE:</strong> If you don't provide a --prefix configure
+      <li><strong>Note :</strong> If you do not provide a --prefix configure
         option, samples will by default be installed into
         "/usr/local/axis2c/samples" directory.</li>
     </ul>
   </li>
-  <li>Go to where you installed axis2c.</li>
+  <li>Go to where you installed Axis2/C.</li>
   <li>Start simple axis server
     <ul>
       <li>To start the simple axis server on port 9090 run the following
@@ -196,7 +191,7 @@
       </li>
       <li>To see the possible command line options run ./axis2_http_server
       -h</li>
-      <li> <strong>NOTE:</strong> You may need to be login as superuser to
+      <li><strong>Note :</strong> You may need to be logged in as a superuser to
         run the simple axis server.</li>
     </ul>
   </li>
@@ -218,29 +213,29 @@
     </ul>
   </li>
 </ol>
-
 <a id="win"></a>
-<h2>Installing and running on Microsoft Windows (win32)</h2>
 
-<p>This too can be done using either binary or source distributions</p>
+<h2>2. Installing and Running on Microsoft Windows (win32)</h2>
+
+<p>This too can be done using either binary or source distributions.</p>
 
-<p>For both the binary and source distributions, you need libxml2 from <a href="http://xmlsoft.org/downloads.html" class="externalLink" title="External Link">here</a>.</p>
+<p>For both the binary and source distributions, you need to <a href="http://xmlsoft.org/downloads.html" class="externalLink" title="External Link">download</a> libxml2.</p>
 
-<p>(NOTE: most Linux systems has libxml2 by default. On Windows you need to
+<p>(NOTE: most Linux systems have libxml2 by default. On MS Windows you need to
 download and install libxml2)</p>
 <a id="win_binary"></a>
 
-<h3>1. Using binary release</h3>
+<h3>2. 1. Using Binary Release</h3>
 <a id="bin_req"></a>
 
-<h4>Requirements</h4>
+<h4>2.1.1. Requirements</h4>
 <ul>
-  <li>The binaries shipped with this version is compiled with Microsoft
-    visual studio compiler (cl)</li>
+  <li>The binaries shipped with this version are compiled with Microsoft
+    Visual Studio Compiler (cl)</li>
 
-  <p>(Note: you can download Microsoft VSExpress2005 edition from Microsoft
-  web site and install it to run these binaries)</p>
-  <li>You also need the following dlls
+  <p>(Note: you can download Microsoft VSExpress2005 edition from the Microsoft
+  Web site and install it to run these binaries)</p>
+  <li>You also need the following dlls:
     <ul>
       <li>libxml2.dll [http://www.xmlsoft.org - download the version &gt;=
         libxml2-2.6.20.win32]</li>
@@ -253,7 +248,7 @@
 </ul>
 <a id="bin_binaries"></a>
 
-<h4>Binaries in the release</h4>
+<h4>2.1.2. Binaries in The Release</h4>
 <ul>
   <li>Extract the binary distribution to a folder of your choice. (example:
     C:\axis2c)</li>
@@ -276,13 +271,13 @@
 </ul>
 <a id="bin_run"></a>
 
-<h4>Running the binaries</h4>
+<h4>2.1.3. Running The Binaries</h4>
 <ul>
-  <li>First you need to set couple of environment variables before you can
+  <li>First, you need to set a couple of environment variables before you can
     run the server and samples.
     <ul>
-      <li>Set the varibale AXIS2C_HOME to the deploy folder (C:\axis2c)</li>
-      <li>Add the path to lib directory to PATH variable
+      <li>Set the variable AXIS2C_HOME to the deploy folder (C:\axis2c)</li>
+      <li>Add the path to lib directory to the PATH variable
       (%AXIS2C_HOME%\lib)</li>
     </ul>
   </li>
@@ -292,7 +287,7 @@
     "Started Simple Axis2 HTTP Server..."</li>
   <li>The log is by default created in %AXIS2C_HOME%\logs folder with the
     name axis2.log.</li>
-  <li>(Note: you may provide command line options to change the default
+  <li>(Note: You may provide command line options to change the default
     behaviour. Use the command "axis2_http_server.exe -h" to learn about the
     usage)</li>
   <li>Now you can run any sample client located in %AXIS2C_HOME%\bin\samples\
@@ -303,16 +298,16 @@
 </ul>
 <a id="win_source"></a>
 
-<h3>2. Using the source release.</h3>
+<h3>2. 2. Using The Source Release</h3>
 <a id="src_req"></a>
 
-<h4>Requirements</h4>
+<h4>2.2.1. Requirements</h4>
 <ul>
-  <li>The makefile shipped with this version needs Microsoft visual studio
-    compiler (cl) and nmake build tool</li>
+  <li>The makefile shipped with this version needs Microsoft Visual Studio
+    Compiler (cl) and nmake build tool.</li>
 
-  <p>(Note: you can download Microsoft VSExpress2005 edition and Platform SDK
-  from Microsoft web site. You will need to add the path to Platform SDK
+  <p>(Note: You can download Microsoft VSExpress2005 edition and Platform SDK
+  from Microsoft Web site. You will need to add the path to Platform SDK
   Include and Lib folders to makefile)</p>
   <li>You also need
     <ul>
@@ -327,26 +322,26 @@
 </ul>
 <a id="edit"></a>
 
-<h4>Editing configure.in file</h4>
+<h4>2.2.3. Editing configure.in File</h4>
 <ul>
-  <li>The default paths for libxml2 and iconv are speceficed in configure.in.
+  <li>The default paths for libxml2 and iconv are specified in configure.in
     <ul>
       <li>Example:Default location for libxml2 is C:\libxml2</li>
     </ul>
   </li>
   <li>You can either extract libxml2 to this folder, in which case folder
-    structure for C:\libxml2 should look like the following.</li>
+    structure for C:\libxml2 should look like the following:</li>
 
   <p><img alt="Figure: C:\libxml2 Folder Structure" src="images/folder_structure_libxml2.jpg"></img></p>
 
-  <p>Or extract to whatever place of your choice and edit the configure.in
+  <p>Or extract to a location of your choice and edit the configure.in
   accordingly.</p>
   <li>You need to have zlib1.dll in a library path. You may copy this dll to
     libxml2/lib.</li>
 </ul>
 <a id="src_compile"></a>
 
-<h4>Compiling the source.</h4>
+<h4>2.2.4. Compiling The Source</h4>
 
 <p>The following steps will take you through the source compilation</p>
 <ul>
@@ -359,7 +354,7 @@
       <li>C:\axis2c\build\win32&gt; vcvars32.bat</li>
     </ul>
     <p>(Note: You may need to set the PATH environment variable to
-    vcvars32.bat if windows complaints that it cannot find this bat)</p>
+    vcvars32.bat if Windows complaints that it cannot find this bat)</p>
   </li>
   <li>build the system and create a directory named deploy under build
     directory:
@@ -384,7 +379,7 @@
 </ul>
 <a id="src_run"></a>
 
-<h4>Running the binaries</h4>
+<h4>2.2.5. Running The Binaries</h4>
 <ul>
   <li>You need to set couple of environment variables before you can run the
     server and samples.
@@ -415,44 +410,51 @@
 </ul>
 <a id="installing-apache2"></a>
 
-<h3>3. Installing Apache2 Web Server integration module (mod_axis2).</h3>
+<h3>3. Installing Apache2 Web Server Integration Module (mod_axis2).</h3>
 <a id="building-apache2"></a>
-<h4>3.1 Building mod_axis2 from source tree</h4>
 
-<h4>3.1.1 On Linux Platform</h4>
+<h4>3.1. Building mod_axis2 From Source Tree</h4>
+
+<h4>3.1.1 On Linux Platform:</h4>
 <ul>
   <li>Provide the apache2 include files location as configure option
     ./configure --with-apache2="&lt;apache2 include files location&gt;"
     [other configure options] - Some apache2 distributions install APR
-    (Apache Portable Runtime) include files in a seperate location which is
-    requred to build mod_axis2. In that case use
-    <p>./configure --with-apache2="&lt;apache2 include files location&gt;"
-    --with-apr="&lt;apr include files location&gt;" [other configure
-    options]</p>
-  </li>
-  <li>Then build the source tree<br></br>
-    make<br></br>
-    make install<br></br>
-    - This will install mod_axis2.so into your
-    "&lt;your_path_to_axis2c&gt;/lib"</li>
+    (Apache Portable Runtime) include files in a separate location which is
+    required to build mod_axis2. In that case use
+    <ul>
+      <li>./configure --with-apache2="&lt;apache2 include files location&gt;"
+        --with-apr="&lt;apr include files location&gt;" [other configure
+        options]</li>
+    </ul>
+  </li>
+  <li>Then build the source tree
+    <ul>
+      <li>make</li>
+      <li>make install</li>
+      <p>This will install mod_axis2.so into your
+      "&lt;your_path_to_axis2c&gt;/lib"</p>
+    </ul>
+  </li>
 </ul>
 
-<h4>3.1.2 On Win32 platform</h4>
+<h4>3.1.2 On Win32 Platform:</h4>
 <ul>
   <li>Provide the apache2 location in configure.in file in
     APACHE_INSTALL_DIR<br></br>
     eg : APACHE_INSTALL_DIR = E:\Apache</li>
-  <li>After compiling the sources (as described in section 2) build the
-    mod_axis2.dll by issuing the command "nmake axis2_apache_module".</li>
+  <li>After compiling the sources (As described in <a href="#win">Section 2</a>) build the mod_axis2.dll by issuing the
+    command "nmake axis2_apache_module".</li>
   <li>This will build the mod_axis2.dll and copy it to %AXIS2C_HOME%\lib
     directory.<br></br>
     eg: C:\axis2c\build\deploy\lib</li>
 </ul>
 <a id="deploying-apache2"></a>
-<h4>3.2 Deploying in Apache2 Web Server</h4>
 
-<p><b>Note: To do the following tasks you might need super user privileges in
-your machine.</b></p>
+<h4>3.2. Deploying in Apache2 Web Server</h4>
+
+<p><b>Note:</b> To do the following tasks you might need super user
+privileges in your machine.</p>
 <ul>
   <li>Copy the mod_axis2 (libmod_axis2.so.0.0.0 on Linux and mod_axis2.dll in
     Windows) to "&lt;apache2 modules directory&gt;" (eg:
@@ -463,8 +465,8 @@
     copy C:\axis2c\build\deploy\lib\mod_axis2.dll
     C:\Apache2\modules\mod_axis2.so</p>
   </li>
-  <li>Edit the Apache2's configuration file (generally httpd.conf) and add
-    the following directive
+  <li>Edit Apache2's configuration file (generally httpd.conf) and add
+    the following directive : - 
     <pre>    LoadModule axis2_module &lt;apache2 modules directory&gt;/mod_axis2.so
     &lt;Location /axis2&gt;
         SetHandler axis2_module
@@ -473,8 +475,8 @@
         Axis2LogLevel LOG_LEVEL
     &lt;/Location&gt;    
     </pre>
-    <p>LOG_LEVEL can be one of following <br></br>
-    AXIS2_LOG_LEVEL_CRITICAL - Log critical errors only <br></br>
+    <p>LOG_LEVEL can be one of following</p>
+    <p>AXIS2_LOG_LEVEL_CRITICAL - Log critical errors only <br></br>
     AXIS2_LOG_LEVEL_ERROR - Log errors critical errors <br></br>
     AXIS2_LOG_LEVEL_WARNING - Log warnings and above <br></br>
     AXIS2_LOG_LEVEL_INFO - Log info and above <br></br>
@@ -484,11 +486,15 @@
   <li>Use forward slashes "/" for path seperators in &lt;apache2 modules
     directory&gt;, &lt;axis2 repository path&gt; and &lt;axis2 log file
     path&gt;</li>
-  <li>Make sure that the apache2 user has correct permissions to above
-    paths<br></br>
-    - Read permission to the repository<br></br>
-    - Write permission to the log file</li>
-  <li>Restart apache2 and test whether mod_axis2 module is loaded by typing
+  <li>Make sure that the Apache2 user has correct permissions to above
+    paths.<br></br>
+
+    <ul>
+      <li>Read permission to the repository</li>
+      <li>Write permission to the log file</li>
+    </ul>
+  </li>
+  <li>Restart Apache2 and test whether mod_axis2 module is loaded by typing
     the URL http://localhost/axis2/services</li>
 </ul>
 



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