blob: 0b0e1d3efd0d87fb4963655723724267dfea1a4d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
<TITLE>Axis Reference Guide</TITLE>
<META NAME="CREATED" CONTENT="20050421;14185500">
<META NAME="CHANGED" CONTENT="20050421;14283800">
<H1 ALIGN=CENTER><IMG SRC="images/axis.jpg" NAME="Graphic1" ALIGN=BOTTOM WIDTH=176 HEIGHT=96 BORDER=0></H1>
<H1>Axis C++ Reference Guide</H1>
<P><I>1.5 Version</I> <BR><I>Feedback: <A HREF=""></A></I>
<H3>Table of Contents</H3>
<LI><P STYLE="margin-bottom: 0in"><A HREF="#Client">Client Stub</A></P>
<LI><P STYLE="margin-bottom: 0in"><A HREF="#Proxy">Setting Proxy</A>
<P STYLE="margin-bottom: 0in"><BR>
<H2><A NAME="Client"></A>Client Stub</H2>
<H3><A NAME="Proxy"></A>Setting Proxy</H3>
<P>One can make use of a proxy server by setting the proxy name and
port using setProxy(strName,intPort) method of the client stub.</P>
<P>Following sample code snippet shows how this could be done:</P>
<P>In the client's main program</P>
<PRE> // Create the clinet stub
ClientStub *stub=new ClientStub(strServiceEndPoint);
// set the proxy setting
stub-&gt;setProxy(&quot;Your_Proxy_Host_Name&quot;,3128 /*Proxy server port*/ );
// Use the stub object as usual
That is all; Everything related to proxy will be handled by the
transport library transparent to the client stub.</P>
<PRE STYLE="margin-bottom: 0.2in"></PRE><P>
<A NAME="axis_components63"></A><BR><BR>