You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/04/30 07:43:24 UTC
svn commit: r533595 [3/6] - in /webservices/axis2/site/c: ./ docs/
docs/hello/client/ docs/mod_log/
Modified: 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=diff&rev=533595&r1=533594&r2=533595
==============================================================================
--- webservices/axis2/site/c/docs/hello/client/hello.c.html (original)
+++ webservices/axis2/site/c/docs/hello/client/hello.c.html Sun Apr 29 22:43:23 2007
@@ -1,9 +1,9 @@
<!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: 22 December 2006
- | Doc for 0.96</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="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/developerguide.html">Developer Guide</a></li><li class="none"><a href="../../../docs/userguide.html">User Guide</a></li><li class="none"><a href
="../../../docs/axis2c_manual.html">Axis2/C manual</a></li></ul></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"><font face="Monospace">
+ @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: 30 April 2007
+ | Doc for 1.0.0</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></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/axis2c_manual.html">Axis2/C manual</a></li></ul></li><li class="expanded"><a href="../../../list.html">Get Involved</a><ul><li class="none"><a href="../../../list.html">Mailing Lists</a></li><li class="none"><a href="../../../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../../../">Developer Guideline</a><ul><li class="none"><a href="../../../co
ding_conventions.html">Coding Convension</a></li><li class="none"><a href="../../../version.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/viewcvs.cgi/webservices/axis2/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"><font face="Monospace">
<font color="#808080"><i>/*<br></br>
* Copyright 2004,2005 The Apache Software Foundation.<br></br>
*<br></br>
@@ -27,15 +27,15 @@
<font color="#008000">#include <axis2_client.h><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>
+<font color="#000000">build_om_request</font>(<font color="#800000">const</font> <font color="#000000">axutil_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="#800000">const</font> <font color="#000000">axis2_char_t</font> *<br></br>
+<font color="#000000">process_om_response</font>(<font color="#800000">const</font> <font color="#000000">axutil_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">axutil_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>
@@ -44,14 +44,14 @@
<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>
+ <font color="#000000">env</font> = <font color="#000000">axutil_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> > <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>
+ <font color="#000000"><b>if</b></font> (<font color="#000000">axutil_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>
@@ -59,7 +59,7 @@
}<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>
+ <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> && !<font color="#000000">strcmp</font>(<font color="#000000">client_home</font>, <font color="#FF0000">""</font>))<br></br>
@@ -75,19 +75,19 @@
<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>
+ <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>
+ <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="#800000">const</font> <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">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>
@@ -100,19 +100,19 @@
<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">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">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">axutil_env_free</font>((<font color="#000000">axutil_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>
@@ -120,19 +120,19 @@
}<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>
+<font color="#000000">build_om_request</font>(<font color="#800000">const</font> <font color="#000000">axutil_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>, &<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>
+ <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="#800000">const</font> <font color="#000000">axis2_char_t</font> *<br></br>
+<font color="#000000">process_om_response</font>(<font color="#800000">const</font> <font color="#000000">axutil_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>
@@ -140,17 +140,18 @@
<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">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> &&<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>
+ <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> && <font color="#000000">AXIOM_TEXT_GET_VALUE</font>(<font color="#000000">greeting</font> , <font color="#000000">env</font>))<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> && <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>
+ <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
+<br></br>
+ </font></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
Modified: webservices/axis2/site/c/docs/index.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/index.html?view=diff&rev=533595&r1=533594&r2=533595
==============================================================================
--- webservices/axis2/site/c/docs/index.html (original)
+++ webservices/axis2/site/c/docs/index.html Sun Apr 29 22:43:23 2007
@@ -1,21 +1,16 @@
-<!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 - Axis2/C Documentation</title><style type="text/css" media="all">
+<!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 - Apache Axis2/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/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: 22 December 2006
- | Doc for 0.96</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="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/developerguide.html">Developer Guide</a></li><li class="none"><a href="../docs/userguide.html">User Guide</a></li><li class="none"><a href="../docs/axis2c_manual.html">Axis2/C manual</a>
</li></ul></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>
+ @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: 30 April 2007
+ | Doc for 1.0.0</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></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/axis2c_manual.html">Axis2/C manual</a></li></ul></li><li class="expanded"><a href="../list.html">Get Involved</a><ul><li class="none"><a href="../list.html">Mailing Lists</a></li><li class="none"><a href="../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../">Developer Guideline</a><ul><li class="none"><a href="../coding_conventions.html">Coding Convension</a></li><li class="none">
<a href="../version.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/viewcvs.cgi/webservices/axis2/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_Axis2_C_Documentation"></a><h2>Apache 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>
- <li><a href="http://ws.apache.org/axis2/1_0/Axis2ArchitectureGuide.html" class="externalLink" title="External Link">
+</ul></div><div class="subsection"><a name="Additional_References"></a><h3>Additional References</h3><ul>
+ <li><a href="http://ws.apache.org/axis2/1_2/Axis2ArchitectureGuide.html" class="externalLink" title="External Link">
Architecture Guide</a></li>
<li><a href="architecture_notes.html">C Specific Architecture Notes</a></li>
<li><a href="om_tutorial.html">OM Tutorial</a></li>
<li><a href="../coding_conventions.html">Coding Conventions in Axis2/C</a></li>
-</ul><p>
-</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>
\ No newline at end of file
+</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
Modified: webservices/axis2/site/c/docs/installationguide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/installationguide.html?view=diff&rev=533595&r1=533594&r2=533595
==============================================================================
--- webservices/axis2/site/c/docs/installationguide.html (original)
+++ webservices/axis2/site/c/docs/installationguide.html Sun Apr 29 22:43:23 2007
@@ -1,66 +1,44 @@
-<!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 - Axis2-C Installation Guide</title><style type="text/css" media="all">
+<!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 - Apache Axis2/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/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: 22 December 2006
- | Doc for 0.96</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="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/developerguide.html">Developer Guide</a></li><li class="none"><a href="../docs/userguide.html">User Guide</a></li><li class="none"><a href="../docs/axis2c_manual.html">Axis2/C manual</a>
</li></ul></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
-remember to prefix the subject with [Axis2]). To subscribe to developer
-mailing list see <a href="../mail-lists.html">here</a></p><div class="subsection"><a name="Contents"></a><h3>Contents</h3><ul>
- <li><a href="#linux">Installing and running on Linux</a>
+ @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: 30 April 2007
+ | Doc for 1.0.0</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></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/axis2c_manual.html">Axis2/C manual</a></li></ul></li><li class="expanded"><a href="../list.html">Get Involved</a><ul><li class="none"><a href="../list.html">Mailing Lists</a></li><li class="none"><a href="../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../">Developer Guideline</a><ul><li class="none"><a href="../coding_conventions.html">Coding Convension</a></li><li class="none">
<a href="../version.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/viewcvs.cgi/webservices/axis2/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_Axis2_C_Installation_Guide"></a><h2>Apache Axis2/C Installation Guide</h2><p>This document guides 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. This document covers
+both 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>
+(Subscription details are available on the <a href="http://ws.apache.org/axis2/c/mail-lists.html" class="externalLink" title="External Link">Axis2 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_binary">Using binary release</a></li>
- <li><a href="#linux_source">Using source release</a></li>
+ <li><a href="#linux_binary">Using the Binary Release</a></li>
+ <li><a href="#linux_source">Using the Source Release</a></li>
</ul>
</li>
- <li><a href="#win">Installing and running on Microsoft Windows (win32)</a>
+ <li><a href="#win">Installing and Running on Microsoft Windows (win32)</a>
<ul>
- <li><a href="#win_binary">Using the binary release</a>
- <ul>
- <li><a href="#bin_req">Requirements</a></li>
- <li><a href="#bin_binaries">Binaries in the release</a></li>
- <li><a href="#bin_run">Running the binaries</a></li>
- </ul>
- </li>
- <li><a href="#win_source">Using the source release</a>
- <ul>
- <li><a href="#src_req">Requirements</a></li>
- <li><a href="#edit">Editing Configure.in file</a></li>
- <li><a href="#src_compile">Compiling the source</a></li>
- <li><a href="#src_run">Running the binaries</a></li>
- </ul>
- </li>
- </ul>
- </li>
- <li><a href="#installing-apache2">Installing Apache2 Web Server integration
- module (mod_axis2)</a>
- <ul>
- <li><a href="#building-apache2">Building mod_axis2 from source
- tree</a></li>
- <li><a href="#deploying-apache2">Deploying in Apache2 Web
- Server</a></li>
+ <li><a href="#win_binary">Using the Binary Release</a></li>
+ <li><a href="#win_source">Using the Source 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.</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>
+</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/axis2/c/download.cgi" class="externalLink" title="External Link">Download</a> the two
+distributions)</p><p>To get both the binary and source distributions working, you need <a href="http://xmlsoft.org/downloads.html" class="externalLink" title="External Link">Libxml2</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__Installing_the_Binary_Distribution"></a><h3>1.1. Installing the Binary Distribution</h3><p>The following steps have to be followed to install and run the Axis2/C
+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>Set the AXIS2C_HOME environment variable pointing to the location where
+ you have extracted Axis2/C
<ul>
<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>
+ <p><strong>Note:</strong> You will need to set the AXIS2C_HOME only if
+ you need to run the Axis2/C samples. The reason is that the samples use
+ AXIS2C_HOME to get the path to the Axis2/C repository. This is not
+ required to write your own services or clients. </p>
</ul>
</li>
<li>Run the simple axis server:
<ul>
- <li>To start the simple axis server on default port 9090, run the
+ <li>To start the simple axis server on the default port 9090, run the
following commands.
<ul>
<li>cd /your_path_to_axis2c/bin</li>
@@ -68,11 +46,12 @@
</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>
+ <p><strong>Note:</strong> If you run into shared library problems,
+ try setting the LD_LIBRARY_PATH to include the lib folder containing
+ the Axis2/C libs.</p>
<ul>
- <li>export
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib</li>
+ <li>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib</li>
+ <li>export LD_LIBRARY_PATH</li>
</ul>
</li>
</ul>
@@ -80,69 +59,61 @@
<li>Run the sample clients in a new shell
<ul>
<li>cd /your_path_to_axis2c/bin/samples</li>
- <li>To run client for echo service
+ <li>To run the client for echo service
<ul>
<li>./echo</li>
</ul>
</li>
- <li>To run client for math service
+ <li>To run the 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
+ <li>To see the possible command line options for the sample clients,
+ run them with the '-h' option</li>
+ <p><strong>Note:</strong> If you run into shared library problems, try
setting the LD_LIBRARY_PATH</p>
<ul>
- <li>export
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib</li>
+ <li>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib</li>
+ <li>export LD_LIBRARY_PATH</li>
</ul>
</ul>
</li>
-</ol><ai id="linux_source">
-<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>
-<ol>
+</ol><p><a id="linux_source"></a></p></div><div class="subsection"><a name="1_2__Installing_the_Source_Distribution"></a><h3>1.2. Installing the Source Distribution</h3><p>The following steps have to be followed to install and run Axis2/C using
+the 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.
+ <li>Set the AXIS2C_HOME environment variable pointing to the location where
+ you want to install Axis2/C
<ul>
<li>AXIS2C_HOME='/your_desired_path_to_axis2c_installation'</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>
+ <li>export AXIS2C_HOME</li>
+ <p><strong>Note:</strong> You will have to set AXIS2C_HOME only if you
+ want to run the Axis2/C samples. The reason is that the samples use
+ AXIS2C_HOME to get the path to the Axis2/C repository. This is not
+ required to write your own services or clients.</p>
</ul>
</li>
- <li>Then go to the folder where you extracted the source
+ <li>Then go to the folder where you extracted the source.
<ul>
<li>cd /your_path_to_axis2c_source</li>
</ul>
</li>
<li>Build the source
<ul>
- <li>This can be done using the following command sequence in the
+ <li>This can be done using the following command sequence, in the
directory where you have extracted the source:
<ul>
- <li>./configure --prefix=${AXIS2C_HOME}</li>
+ <li>./configure</li>
<li>make</li>
<li>make install</li>
</ul>
</li>
<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
+ <li><strong>Note:</strong> If you do not provide a --prefix configure
+ option, the default installation would be in the /usr/local/axis2c
directory.</li>
- <li>You may need to try Axis2/C with Guththila XML parser. You can do
- it by giving --enable-guththila=yes
+ <li>You may have to try Axis2/C with Guththila XML parser. You can do
+ that by providing the --enable-guththila=yes option when configuring.
<ul>
<li>./configure --enable-guththila=yes [other configuration
options]</li>
@@ -150,106 +121,80 @@
<li>make install</li>
</ul>
</li>
- <li>In order to build Rampart (Axis2/C security module)
- <ul>
- <li>./configure --enable-rampart=yes [other configuration
- options]</li>
- <li>make</li>
- <li>make install</li>
- </ul>
- </li>
- <li>If you need to get the samples working, you also need to build the
+ <li>If you want to get the samples working, you have to build the
samples. <br></br>
To build the samples:
<ul>
- <li>export
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/axis2c/lib/</li>
+ <li>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path_you_installed_axis2c/lib/</li>
+ <li>export LD_LIBRARY_PATH</li>
<li>cd samples</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>
+ <li>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 do not provide a --prefix configure
- option, samples will by default be installed into
- "/usr/local/axis2c/samples" directory.</li>
+ <li>Please run "./configure --help" in the samples folder for more
+ information on the configure options.</li>
+ <li><strong>Note:</strong> If you do not provide a --prefix configure
+ option, by default, the samples will be installed into the
+ "/usr/local/axis2c/bin/samples" directory.</li>
</ul>
</li>
<li>Go to where you installed Axis2/C.</li>
- <li>Start simple axis server
+ <li>Start the simple axis server.
<ul>
- <li>To start the simple axis server on port 9090 run the following
- command lines
+ <li>To start the simple axis server on port 9090, run the following
+ command lines.
<ul>
- <li>cd ${AXIS2C_HOME}/bin</li>
+ <li>cd /path_you_installed_axis2c/bin</li>
<li>./axis2_http_server</li>
</ul>
</li>
- <li>To see the possible command line options run ./axis2_http_server
+ <li>To see the possible command line options, run ./axis2_http_server
-h</li>
- <li><strong>Note :</strong> You may need to be logged in as a superuser to
- run the simple axis server.</li>
+ <li><strong>Note:</strong> You may have to be logged in as a superuser
+ to run the simple axis server if you installed Axis2/C as a super
+ user.</li>
</ul>
</li>
- <li>Run the sample clients in a new shell using the following command lines
+ <li>Run the sample clients in a new shell using the following command lines.
<ul>
- <li>cd ${AXIS2C_HOME}/bin/samples</li>
- <li>to run client for echo service
+ <li>cd /path_you_installed_axis2c/bin/samples</li>
+ <li>To run the client for the echo service
<ul>
<li>./echo</li>
</ul>
</li>
- <li>to run client for math service
+ <li>To run the client for the 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>
+ <li>To see the possible command line options for the sample clients,
+ run them with the '-h' option</li>
</ul>
</li>
-</ol>
-<a id="win"></a>
-
-<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 to <a href="http://xmlsoft.org/downloads.html" class="externalLink" title="External Link">download</a> libxml2.</p>
-
-<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>2. 1. Using Binary Release</h3>
-<a id="bin_req"></a>
-
-<h4>2.1.1. Requirements</h4>
-<ul>
- <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 the Microsoft
- Web site and install it to run these binaries)</p>
- <li>You also need the following dlls:
+</ol><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/axis2/c/download.cgi" class="externalLink" title="External Link">Download</a> the two
+distributions.) </p><p>For both binary and source distributions, you have to download <a href="http://xmlsoft.org/downloads.html" class="externalLink" title="External Link">Libxml2</a>.</p><p><a id="win_binary"></a></p></div><div class="subsection"><a name="2__1__Installing_the_Binary_Distribution"></a><h3>2. 1. Installing the Binary Distribution</h3></div><div class="subsection"><a name="2_1_1__Requirements"></a><h3>2.1.1. Requirements</h3><ul>
+ <li>The binaries shipped with this version are compiled with the Microsoft
+ Visual Studio compiler (cl)</li>
+
+ <p>(<strong>Note</strong>: you can <a href="http://msdn.microsoft.com/vstudio/express/downloads/" class="externalLink" title="External Link">download the
+ Microsoft VSExpress2005 edition</a> 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 >=
- libxml2-2.6.20.win32]</li>
- <li>iconv.dll [http://www.xmlsoft.org - download the version >=
- iconv-1.9.1.win32]</li>
- <li>zlib1.dll [http://www.xmlsoft.org - download the version >=
+ libxml2-2.6.27.win32]</li>
+ <li>iconv.dll [http://www.gnu.org/software/libiconv/ - download the
+ version >= iconv-1.9.1.win32]</li>
+ <li>zlib1.dll [http://www.gzip.org/zlib/ - download the version >=
zlib-1.2.3.win32]</li>
</ul>
</li>
-</ul>
-<a id="bin_binaries"></a>
-
-<h4>2.1.2. Binaries in The Release</h4>
-<ul>
+</ul><p><a id="bin_binaries"></a></p></div><div class="subsection"><a name="2_1_2__Binaries_in_the_Release"></a><h3>2.1.2. Binaries in the Release</h3><ul>
<li>Extract the binary distribution to a folder of your choice. (example:
C:\axis2c)</li>
<li>The C:\axis2c folder structure is as follows:</li>
@@ -259,105 +204,97 @@
<p><em>The above folders contain the following files:</em></p>
<ul>
<li>bin - server and other executables</li>
- <li>bin\samples - client samples go here</li>
+ <li>bin\samples - client samples </li>
<li>lib - library modules</li>
<li>services - deployed services</li>
<li>modules - deployed modules</li>
- <li>include - all include files of Axis2 C</li>
+ <li>include - all Include files of Axis2/C</li>
<li>logs - system and client logs are written to this folder</li>
</ul>
- <li>Copy libxml2.dll, iconv.dll and zlib1.dll downloaded to
+ <li>Copy libxml2.dll, iconv.dll, and zlib1.dll downloaded to
C:\axis2c\lib</li>
-</ul>
-<a id="bin_run"></a>
-
-<h4>2.1.3. Running The Binaries</h4>
-<ul>
+</ul><p><a id="bin_run"></a></p></div><div class="subsection"><a name="2_1_3__Running_the_Binaries"></a><h3>2.1.3. Running the Binaries</h3><ul>
<li>First, you need to set a couple of environment variables before you can
run the server and samples.
<ul>
<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>
+ <li>Add the path to the lib directory to the PATH variable
+ (%AXIS2C_HOME%\lib)</li>
</ul>
</li>
- <li>Now everything is set to run the server (C:\axis2c\bin\>
- axis2_http_server.exe)</li>
- <li>If the server is running successfully you should see the message
+ <li>Now everything is set to run the server.
+ <p>C:\axis2c\bin\>axis2_http_server.exe</p>
+ </li>
+ <li>If the server is running successfully, you will see the message
"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
- behaviour. Use the command "axis2_http_server.exe -h" to learn about the
- usage)</li>
+ <li>By default, the log is created in the %AXIS2C_HOME%\logs folder with
+ the name axis2.log.</li>
+ <li>(<strong>Note</strong>: You can provide command line options to change
+ the default behavior. 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\
<ul>
<li>Example: C:\axis2c\bin\samples\> echo.exe</li>
</ul>
</li>
-</ul>
-<a id="win_source"></a>
-
-<h3>2. 2. Using The Source Release</h3>
-<a id="src_req"></a>
-
-<h4>2.2.1. Requirements</h4>
-<ul>
+</ul><p><a id="win_source"></a></p></div><div class="subsection"><a name="2__2__Installing_Source_Distribution"></a><h3>2. 2. Installing Source Distribution</h3></div><div class="subsection"><a name="2_2_1__Requirements"></a><h3>2.2.1. Requirements</h3><ul>
<li>The makefile shipped with this version needs Microsoft Visual Studio
- Compiler (cl) and nmake build tool.</li>
+ Compiler (cl) and the 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
- Include and Lib folders to makefile)</p>
+ <p>(Note: You can <a href="http://msdn.microsoft.com/vstudio/express/downloads/" class="externalLink" title="External Link">download the
+ Microsoft VSExpress2005 edition and Platform SDK</a> from the Microsoft Web
+ site. You will need to add the path to the Platform SDK Include and Lib
+ folders to the makefile)</p>
<li>You also need
<ul>
- <li>libxml2 [http://www.xmlsoft.org - download the version >=
- libxml2-2.6.20.win32]</li>
- <li>iconv [http://www.xmlsoft.org - download the version >=
- iconv-1.9.1.win32]</li>
- <li>zlib [http://www.xmlsoft.org - download the version >=
+ <li>Libxml2 [http://www.xmlsoft.org - download the version >=
+ libxml2-2.6.27.win32]</li>
+ <li>iconv [http://www.gnu.org/software/libiconv/ - download the version
+ >= iconv-1.9.1.win32]</li>
+ <li>zlib [http://www.gzip.org/zlib/ - download the version >=
zlib-1.2.3.win32]</li>
</ul>
</li>
-</ul>
-<a id="edit"></a>
-
-<h4>2.2.3. Editing configure.in File</h4>
-<ul>
- <li>The default paths for libxml2 and iconv are specified in configure.in
+</ul><p><a id="edit"></a></p></div><div class="subsection"><a name="2_2_3__Editing_the_configure_in_File"></a><h3>2.2.3. Editing the configure.in File</h3><p>Please edit the <source_distribution>\build\win32\configure.in file
+to include the following information.</p><ul>
+ <li>The default paths for Libxml2 and iconv are specified in configure.in
<ul>
- <li>Example:Default location for libxml2 is C:\libxml2</li>
+ <li>Example:If libxml2 is installed into C:\libxml2, edit the
+ configure.in file accordingly.</li>
</ul>
</li>
- <li>You can either extract libxml2 to this folder, in which case folder
+ <li>You can either extract Libxml2 to this folder, in which case the folder
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 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
+ <p>Else, extract it to a location of your choice and edit the configure.in
+ file 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>2.2.4. Compiling The Source</h4>
-
-<p>The following steps will take you through the source compilation</p>
-<ul>
+ <li>If you need the parser to use Guththila XML parser, the
+ ENABLE_GUTHTHILA option should be set to 1 in configure.in
+ <ul>
+ <li>Example: ENABLE_GUTHTHILA = 1</li>
+ </ul>
+ </li>
+</ul><p><a id="src_compile"></a></p></div><div class="subsection"><a name="2_2_4__Compiling_the_Source"></a><h3>2.2.4. Compiling the Source</h3><p>The following steps will take you through the source compilation.</p><ul>
<li>Extract the source distribution to a folder of your choice. (Example:
C:\axis2c)</li>
+ <li>Edit the configure.in file as explained in the section 2.2.3</li>
<li>Open a DOS shell</li>
<li>cd C:\axis2c\build\win32</li>
<li>to access .Net tools, run
<ul>
<li>C:\axis2c\build\win32> 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>
+ <p>(<strong>Note</strong>: You may have to set the PATH environment
+ variable to vcvars32.bat if MS Windows gives an error indicating that it
+ cannot find this batch file. This file is located in <your MS Visual
+ Studio install Directory>\VC\bin directory.)</p>
</li>
- <li>build the system and create a directory named deploy under build
- directory:
+ <li>To build the system and create the binary files in a directory named
+ deploy under the build directory,
<ul>
<li>C:\axis2c\build\win32>nmake install</li>
</ul>
@@ -368,7 +305,7 @@
<p><em>The above folders contain the following files:</em></p>
<ul>
- <li>bin - server and other executables</li>
+ <li>bin - server and other executable</li>
<li>bin\samples - client samples</li>
<li>lib - library modules</li>
<li>services - deployed services</li>
@@ -376,127 +313,31 @@
<li>include - all include files of Axis2 C</li>
<li>logs - system and client logs are written to this folder</li>
</ul>
-</ul>
-<a id="src_run"></a>
-
-<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.
+</ul><p><a id="src_run"></a></p></div><div class="subsection"><a name="2_2_5__Running_the_Binaries"></a><h3>2.2.5. Running the Binaries</h3><ul>
+ <li>You need to set a couple of environment variables before you can run
+ the server and samples.
<ul>
<li>Set the variable AXIS2C_HOME to the deploy folder
(C:\axis2c\build\deploy)</li>
- <li>Add the path to lib directory to PATH variable
- (%AXIS2C_HOME%\lib)</li>
- <li>Copy libxml2.dll, iconv.dll and zlib1.dll to axis2c lib folder
+ <li>Add the path to the lib directory to the PATH variable
+ (%AXIS2C_HOME%\lib)</li>
+ <li>Copy libxml2.dll, iconv.dll and zlib1.dll to Axis2/C lib folder
(%AXIS2C_HOME%\lib)</li>
</ul>
</li>
<li>Now run the server - C:\axis2c\build\deploy\bin>
axis2_http_server.exe</li>
- <li>If server is running successfully you should see the message "Started
- Simple Axis2 HTTP Server..."</li>
- <li>The log is by default created under %AXIS2C_HOME%\logs folder with the
- name axis2.log.</li>
- <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>If the server is running successfully, you will see the message
+ "Started Simple Axis2 HTTP Server..."</li>
+ <li>By default, the log is created under the %AXIS2C_HOME%\logs folder with
+ the name axis2.log.</li>
+ <li>(<strong>Note</strong>: You can provide command line options to change
+ the default behavior. Use the command "axis2_http_server.exe -h" to learn
+ about the usage)</li>
<li>Now you can run any sample client deployed under
%AXIS2C_HOME%\bin\samples\
<ul>
<li>Example: C:\axis2c\build\deploy\bin\samples> echo.exe</li>
</ul>
</li>
-</ul>
-<a id="installing-apache2"></a>
-
-<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>
-<ul>
- <li>Provide the apache2 include files location as configure option
- ./configure --with-apache2="<apache2 include files location>"
- [other configure options] - Some apache2 distributions install APR
- (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="<apache2 include files location>"
- --with-apr="<apr include files location>" [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
- "<your_path_to_axis2c>/lib"</p>
- </ul>
- </li>
-</ul>
-
-<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 <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:</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 "<apache2 modules directory>" (eg:
- /usr/lib/apache2/modules in Linux or C:\Apache2\modules in Windows) as
- mod_axis2.so
- <p>eg: cp $AXIS2C_HOME/lib/libmod_axis2.so.0.0.0
- /usr/lib/apache2/modules/mod_axis2.so<br></br>
- copy C:\axis2c\build\deploy\lib\mod_axis2.dll
- C:\Apache2\modules\mod_axis2.so</p>
- </li>
- <li>Edit Apache2's configuration file (generally httpd.conf) and add
- the following directive : -
- <pre> LoadModule axis2_module <apache2 modules directory>/mod_axis2.so
- Axis2RepoPath <axis2 repository path>
- Axis2LogFile <axis2 log file path>
- Axis2LogLevel LOG_LEVEL
- <Location /axis2>
- SetHandler axis2_module
- </Location>
- </pre>
- <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>
- AXIS2_LOG_LEVEL_DEBUG - Log debug and above (default) <br></br>
- AXIS2_LOG_LEVEL_TRACE - Log trace messages</p>
- </li>
- <li>Use forward slashes "/" for path seperators in <apache2 modules
- directory>, <axis2 repository path> and <axis2 log file
- path></li>
- <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>
-
-
-</ai></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>
\ No newline at end of file
+</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/axis2/site/c/docs/mod_log/log_in_handler.c.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/mod_log/log_in_handler.c.html?view=auto&rev=533595
==============================================================================
--- webservices/axis2/site/c/docs/mod_log/log_in_handler.c.html (added)
+++ webservices/axis2/site/c/docs/mod_log/log_in_handler.c.html Sun Apr 29 22:43:23 2007
@@ -0,0 +1,97 @@
+<!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 - modules/mod_log/log_in_handler.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: 30 April 2007
+ | Doc for 1.0.0</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></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/axis2c_manual.html">Axis2/C manual</a></li></ul></li><li class="expanded"><a href="../../list.html">Get Involved</a><ul><li class="none"><a href="../../list.html">Mailing Lists</a></li><li class="none"><a href="../../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../../">Developer Guideline</a><ul><li class="none"><a href="../../coding_conventions.html">Coding Con
vension</a></li><li class="none"><a href="../../version.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/viewcvs.cgi/webservices/axis2/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"><font face="Monospace">
+<font color="#808080"><i>/*<br></br>
+ * Licensed to the Apache Software Foundation (ASF) under one or more<br></br>
+ * contributor license agreements. See the NOTICE file distributed with<br></br>
+ * this work for additional information regarding copyright ownership.<br></br>
+ * The ASF licenses this file to You under the Apache License, Version 2.0<br></br>
+ * (the "License"); you may not use this file except in compliance with<br></br>
+ * the License. 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 <axis2_handler_desc.h><br></br></font>
+<font color="#008000">#include <axutil_array_list.h><br></br></font>
+<font color="#008000">#include <axiom_soap_const.h><br></br></font>
+<font color="#008000">#include <axiom_soap_envelope.h><br></br></font>
+<font color="#008000">#include <axiom_soap_header.h><br></br></font>
+<font color="#008000">#include <axiom_soap_header_block.h><br></br></font>
+<font color="#008000">#include <axis2_op.h><br></br></font>
+<font color="#008000">#include <axis2_msg_ctx.h><br></br></font>
+<font color="#008000">#include <axis2_conf_ctx.h><br></br></font>
+<font color="#008000">#include <axis2_msg_info_headers.h><br></br></font>
+<font color="#008000">#include <axutil_property.h><br></br></font>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_in_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>);<br></br>
+<br></br>
+<font color="#000000">AXIS2_EXTERN</font> <font color="#000000">axis2_handler_t</font>* <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_in_handler_create</font>(<font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>, <br></br>
+ <font color="#000000">axutil_string_t</font> *<font color="#000000">name</font>) <br></br>
+{<br></br>
+ <font color="#000000">axis2_handler_t</font> *<font color="#000000">handler</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">handler</font> = <font color="#000000">axis2_handler_create</font>(<font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font> (!<font color="#000000">handler</font>)<br></br>
+ {<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">NULL</font>;<br></br>
+ }<br></br>
+ <br></br>
+ <font color="#000000">axis2_handler_set_invoke</font>(<font color="#000000">handler</font>, <font color="#000000">env</font>, <font color="#000000">axutil_log_in_handler_invoke</font>);<br></br>
+<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">handler</font>;<br></br>
+}<br></br>
+<br></br>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_in_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>)<br></br>
+{<br></br>
+ <font color="#000000">axiom_soap_envelope_t</font> *<font color="#000000">soap_envelope</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">AXIS2_ENV_CHECK</font>( <font color="#000000">env</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <font color="#000000">AXIS2_PARAM_CHECK</font>(<font color="#000000">env</font>-><font color="#000000">error</font>, <font color="#000000">msg_ctx</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <br></br>
+ <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Starting logging in handler ........."</font>);<br></br>
+ <br></br>
+ <font color="#000000">soap_envelope</font> = <font color="#000000">axis2_msg_ctx_get_soap_envelope</font>(<font color="#000000">msg_ctx</font>, <font color="#000000">env</font>);<br></br>
+ <br></br>
+ <font color="#000000"><b>if</b></font> (<font color="#000000">soap_envelope</font>)<br></br>
+ {<br></br>
+ <font color="#808080"><i>/* ensure SOAP buider state is in sync */</i></font><br></br>
+ <font color="#000000">axiom_soap_envelope_get_body</font>(<font color="#000000">soap_envelope</font>, <font color="#000000">env</font>); <br></br>
+ <font color="#000000">ret_node</font> = <font color="#000000">axiom_soap_envelope_get_base_node</font>(<font color="#000000">soap_envelope</font>, <font color="#000000">env</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">om_str</font> = <font color="#000000">NULL</font>;<br></br>
+ <font color="#000000">om_str</font> = <font color="#000000">axiom_node_to_string</font>(<font color="#000000">ret_node</font>, <font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font>(<font color="#000000">om_str</font>)<br></br>
+ {<br></br>
+ <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Input message: %s"</font>, <font color="#000000">om_str</font>);<br></br>
+ }<br></br>
+ }<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></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/axis2/site/c/docs/mod_log/log_out_handler.c.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/c/docs/mod_log/log_out_handler.c.html?view=auto&rev=533595
==============================================================================
--- webservices/axis2/site/c/docs/mod_log/log_out_handler.c.html (added)
+++ webservices/axis2/site/c/docs/mod_log/log_out_handler.c.html Sun Apr 29 22:43:23 2007
@@ -0,0 +1,95 @@
+<!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 - modules/mod_log/log_out_handler.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: 30 April 2007
+ | Doc for 1.0.0</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></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/axis2c_manual.html">Axis2/C manual</a></li></ul></li><li class="expanded"><a href="../../list.html">Get Involved</a><ul><li class="none"><a href="../../list.html">Mailing Lists</a></li><li class="none"><a href="../../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../../">Developer Guideline</a><ul><li class="none"><a href="../../coding_conventions.html">Coding Con
vension</a></li><li class="none"><a href="../../version.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/viewcvs.cgi/webservices/axis2/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"><font face="Monospace">
+<font color="#808080"><i>/*<br></br>
+ * Licensed to the Apache Software Foundation (ASF) under one or more<br></br>
+ * contributor license agreements. See the NOTICE file distributed with<br></br>
+ * this work for additional information regarding copyright ownership.<br></br>
+ * The ASF licenses this file to You under the Apache License, Version 2.0<br></br>
+ * (the "License"); you may not use this file except in compliance with<br></br>
+ * the License. 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 <axis2_handler_desc.h><br></br></font>
+<font color="#008000">#include <axutil_array_list.h><br></br></font>
+<font color="#008000">#include <axiom_soap_const.h><br></br></font>
+<font color="#008000">#include <axiom_soap_envelope.h><br></br></font>
+<font color="#008000">#include <axiom_soap_header.h><br></br></font>
+<font color="#008000">#include <axiom_soap_header_block.h><br></br></font>
+<font color="#008000">#include <axis2_op.h><br></br></font>
+<font color="#008000">#include <axis2_msg_ctx.h><br></br></font>
+<font color="#008000">#include <axis2_conf_ctx.h><br></br></font>
+<font color="#008000">#include <axis2_msg_info_headers.h><br></br></font>
+<font color="#008000">#include <axutil_property.h><br></br></font>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_out_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>);<br></br>
+<br></br>
+<font color="#000000">AXIS2_EXTERN</font> <font color="#000000">axis2_handler_t</font>* <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_out_handler_create</font>(<font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>, <br></br>
+ <font color="#000000">axutil_string_t</font> *<font color="#000000">name</font>) <br></br>
+{<br></br>
+ <font color="#000000">axis2_handler_t</font> *<font color="#000000">handler</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">handler</font> = <font color="#000000">axis2_handler_create</font>(<font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font> (!<font color="#000000">handler</font>)<br></br>
+ {<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">NULL</font>;<br></br>
+ }<br></br>
+ <br></br>
+ <font color="#000000">axis2_handler_set_invoke</font>(<font color="#000000">handler</font>, <font color="#000000">env</font>, <font color="#000000">axutil_log_out_handler_invoke</font>);<br></br>
+<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">handler</font>;<br></br>
+}<br></br>
+<br></br>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_out_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>)<br></br>
+{<br></br>
+ <font color="#000000">axiom_soap_envelope_t</font> *<font color="#000000">soap_envelope</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">AXIS2_ENV_CHECK</font>( <font color="#000000">env</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <font color="#000000">AXIS2_PARAM_CHECK</font>(<font color="#000000">env</font>-><font color="#000000">error</font>, <font color="#000000">msg_ctx</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <br></br>
+ <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Starting logging out handler ........."</font>);<br></br>
+ <br></br>
+ <font color="#000000">soap_envelope</font> = <font color="#000000">axis2_msg_ctx_get_soap_envelope</font>(<font color="#000000">msg_ctx</font>, <font color="#000000">env</font>);<br></br>
+ <br></br>
+ <font color="#000000"><b>if</b></font> (<font color="#000000">soap_envelope</font>)<br></br>
+ {<br></br>
+ <font color="#000000">ret_node</font> = <font color="#000000">axiom_soap_envelope_get_base_node</font>(<font color="#000000">soap_envelope</font>, <font color="#000000">env</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">om_str</font> = <font color="#000000">NULL</font>;<br></br>
+ <font color="#000000">om_str</font> = <font color="#000000">axiom_node_to_string</font>(<font color="#000000">ret_node</font>, <font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font>(<font color="#000000">om_str</font>)<br></br>
+ {<br></br>
+ <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Output message: %s"</font>, <font color="#000000">om_str</font>);<br></br>
+ }<br></br>
+ }<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></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: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org