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 2007/04/04 08:20:16 UTC
svn commit: r525434 -
/webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html
Author: dinesh
Date: Tue Apr 3 23:20:16 2007
New Revision: 525434
URL: http://svn.apache.org/viewvc?view=rev&rev=525434
Log:
fixed manual navigation, add how to use proxy
Modified:
webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html
Modified: webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html?view=diff&rev=525434&r1=525433&r2=525434
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html Tue Apr 3 23:20:16 2007
@@ -29,13 +29,15 @@
<li><a href="#sim_ser">Simple Axis Server</a></li>
<li><a href="#apa_mod">Deploying in Apache2</a></li>
<li><a href="#ssl_client">Using SSL Client</a></li>
+ <li><a href="#proxy">How to use Proxy</a></li>
<li><a href="#appA">Appendix A - axis2.xml</a></li>
<li><a href="#appB">Appendix B - services.xml</a></li>
<li><a href="#appC">Appendix C - module.xml</a></li>
<li><a href="#appD">Appendix D - service client options</a></li>
</ol>
-<h1><a name="quick_start">1. Quick Start Guide</a></h1>
+<a name="quick_start"></a>
+<h1>1. Quick Start Guide</h1>
<p>This sections is aimed to help you to get a Web service up in quick time
using Axis2/C and consume that service using an Axis2/C client.</p>
@@ -959,7 +961,6 @@
case of binary non optimised format,where enable mtom is false the attachment
content would be sent in the payload itself, as a base64 encoded string.</p>
<a name="eng_mod"></a>
-
<h1>7. Engaging a Module</h1>
<p>A module is a set of handlers that helps to extend the message processing
@@ -1130,7 +1131,8 @@
<p>Remember to replace "module-name" with the name of the module you want to
engage.</p>
-<h1><a name="ws_add">8. WS-Addressing</a></h1>
+<a name="ws_add"></a>
+<h1>8. WS-Addressing</h1>
<p><a href="http://www.w3.org/2002/ws/addr/">WS-Addressing</a> provides
mechanisms to address Web services and messages. With Axis2/C, you can use
@@ -1182,7 +1184,8 @@
be a message ID of a previously exchanged message.It helps to identify a
previous message that relates to the current message.</p>
-<h1><a name="wrt_mod">9. Writing a Module</a></h1>
+<a name="wrt_mod"></a>
+<h1>9. Writing a Module</h1>
<p>A module is an extension point in the Axis2/C engine. Modules are used to
improve the quality of service in the Axis2/C engine.A SOAP message may
@@ -1370,7 +1373,8 @@
<p>The handlers defined in a module can be added to Axis2/C system global
phases or the module specific phases.</p>
-<h1><a name="sim_ser">10. Simple Axis Server</a></h1>
+<a name="sim_ser"></a>
+<h1>10. Simple Axis Server</h1>
<p>simple axis server is the inbuilt server of the Axis2/C.<br>
</p>
@@ -1401,7 +1405,8 @@
[-f LOG_FILE]set log file to LOG_FILE. Default is $AXIS2C_HOME/logs/axis2.log or current folder if AXIS2C_HOME not set.</pre>
-<h1><a name="apa_mod">11. Deploying in Apache2</a></h1>
+<a name="apa_mod"></a>
+<h1>11. Deploying in Apache2</h1>
<p>To build Axis2/C with Apache module, One needs to give the following
configuration options on Linux platform.</p>
@@ -1493,7 +1498,8 @@
<p><a
href="http://localhost/axis2/services">http://localhost/axis2/services</a></p>
-<h1><a name="ssl_client">12. Using SSL Client</a></h1>
+<a name="ssl_client"></a>
+<h1>12. Using SSL Client</h1>
<h3>Using SSL Client</h3>
<ol>
@@ -1601,9 +1607,35 @@
</li>
</ol>
-<p></p>
+<a name="proxy"></a>
+<h1>13.How to Use Proxy</h1>
+<p>When using a proxy , user can follow two methods.</p>
+<ol>
+<li>Specify Proxy Settings in axis2.xml</li>
+<li>Provide Proxy Settings using service client api</il>
+</ol>
+
+<h3>Specify Proxy Settings in axis2.xml</h3>
-<h1><a name="appA">Appendix A</a></h1>
+<pre>
+<transportSender name="http" class="axis2_http_sender">
+ <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
+ <parameter name="PROXY" proxy_host="127.0.0.1" proxy_port="8080" locked="true"/>
+</transportSender>
+</pre>
+<p>then "proxy_host" and "proxy_port" will be use globally.</p>
+<h3>Provide Proxy Settings using service client api</h3>
+<p>One can specify proxy settings using service client api.</p>
+<pre>
+axis2_svc_client_set_proxy(axis2_svc_client_t *svc_client,
+ const axutil_env_t *env,
+ axis2_char_t *proxy_host,
+ axis2_char_t *proxy_port);
+</pre>
+<p>Using this function , one can give proxy settings per service.</p>
+
+<a name="appA"></a>
+<h1>Appendix A</h1>
<h2 style="margin-bottom: 0in">axis2.xml</h2>
@@ -2102,7 +2134,8 @@
</tbody>
</table>
-<h1><a name="appB">Appendix B</a></h1>
+<a name="appB"></a>
+<h1>Appendix B</h1>
<h2 style="margin-bottom: 0in">services.xml</h2>
@@ -2276,8 +2309,8 @@
</tr>
</tbody>
</table>
-
-<h1><a name="appC">Appendix C</a></h1>
+<a name="appC"></a>
+<h1>Appendix C</h1>
<h2 style="margin-bottom: 0in">module.xml</h2>
@@ -2521,8 +2554,8 @@
used.</p>
<p></p>
-
-<h1><a name="appD">Appendix D</a></h1>
+<a name="appD"></a>
+<h1>Appendix D</h1>
<p>This document describes about various types of options in the
axis2_options.h. These options are used by the service client before sending
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org