ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ros...@apache.org
Subject cvs commit: ws-site/targets/axis/cpp winuser-guide.pdf winuser-guide.html wininstall-guide.pdf wininstall-guide.html windev-guide.html
Date Fri, 12 Nov 2004 05:05:39 GMT
roshan      2004/11/11 21:05:39

  Modified:    targets/axis/cpp winuser-guide.pdf winuser-guide.html
                        wininstall-guide.pdf wininstall-guide.html
                        windev-guide.html
  Log:
  Changed the win user guide, win install guide & win dev guide. Changed by Rangika
  
  Revision  Changes    Path
  1.25      +86 -86    ws-site/targets/axis/cpp/winuser-guide.pdf
  
  	<<Binary file>>
  
  
  1.26      +23 -23    ws-site/targets/axis/cpp/winuser-guide.html
  
  Index: winuser-guide.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/axis/cpp/winuser-guide.html,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- winuser-guide.html	26 Oct 2004 07:32:38 -0000	1.25
  +++ winuser-guide.html	12 Nov 2004 05:05:39 -0000	1.26
  @@ -307,7 +307,7 @@
   </p>
   <p>
   <strong>Definitions:</strong>
  -<br>AXIS_EXTRACT -&gt; The folder to which the Axis c++ binary distribution is extracted<br>AXIS_FOLDER -&gt; The deploy folder of the binary distribution which is copied to the apache installation</p>
  +<br>Axis_Extract -&gt; The folder to which the Axis c++ binary distribution is extracted<br>[Axis_Folder] -&gt; The deploy folder of the binary distribution which is copied to the apache installation</p>
   <p>
   <a name="create"></a>
   </p>
  @@ -326,7 +326,7 @@
   <br>3) Create a VC workspace.<br>
   <br>4) Create a 'Win32 Static Library' project in this workspace.<br>
   <br>5) From the generated 'ServerOut'folder, add the following files to this project.<br> Calculator.cpp Calculator.h<br>
  -<br>6) Set the include path to the include directory of the binary distribution (These include files are in AXIS_EXTRACT/include/).<br>
  +<br>6) Set the include path to the include directory of the binary distribution (These include files are in Axis_Extract/include/).<br>
   <br>7) Fill the empty methods of the generated skeletons.<br>
   <br>8) Generate the lib (eg: MyCalculator.lib)<br>
   <br>9) Now create a 'Win32 Dynamic-Link Library' project.<br>
  @@ -350,13 +350,13 @@
   <br>axis.jar<br>commons-discovery.jar<br>commons-logging.jar<br>jaxrpc.jar<br>saaj.jar<br>wsdl4j.jar<br>xml-apis.jar<br>
   <br>The CLASSPATH Environment Variable should have the absolute paths of the jars (including the jar file name) given as a semicolon separated list.<br>
   <br>
  -<br>Open a command window. Change directory to AXIS_EXTRACT\lib\axis. Create a folder of your choice and we will call this folder as WSDL2WS_FOLDER.<br>
  -<br>Now copy the wsdl file (eg.Calculator.wsdl) which you use, to the folder WSDL2WS_FOLDER.<br>Copy the file wsdl2ws.jar from AXIS_EXTRACT\lib\axis to WSDL2WS_FOLDER<br>Then change the directory to WSDL2WS_FOLDER and run the following command to generate the server side skeletons and wrappers.<br>
  +<br>Open a command window. Change directory to Axis_Extract\lib\axis. Create a folder of your choice and we will call this folder as [Wsdl2ws_Folder].<br>
  +<br>Now copy the wsdl file (eg.Calculator.wsdl) which you use, to the folder [Wsdl2ws_Folder].<br>Copy the file wsdl2ws.jar from Axis_Extract\lib\axis to [Wsdl2ws_Folder]<br>Then change the directory to [Wsdl2ws_Folder] and run the following command to generate the server side skeletons and wrappers.<br>
   <br>java -classpath .\wsdl2ws.jar;.;%CLASSPATH% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ServerOut -lc++ -sserver<br>
  -<br>If the file generation is successful the tool will display the files that it has generated. The skeletons and wrappers will be generated in [WSDL2WS_FOLDER]\ServerOut.<br>
  +<br>If the file generation is successful the tool will display the files that it has generated. The skeletons and wrappers will be generated in [Wsdl2ws_Folder]\ServerOut.<br>
   <br>Run the following command to generate the client stubs.<br>
   <br>java -classpath .\wsdl2ws.jar;.;%CLASSPATH% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ClientOut -lc++ -sclient<br>
  -<br>The generated client stubs will be in [WSDL2WS_FOLDER]\ClientOut<br>
  +<br>The generated client stubs will be in [Wsdl2ws_Folder]\ClientOut<br>
   <br>
   <strong>Note:</strong>More details on WSDL2Ws Tool can be found by clicking on the following link <a href="arch/WSDL2Ws.html">WSDL2Ws Tool</a>
   </p>
  @@ -368,9 +368,9 @@
   </div>
   <br>
   <p>Axis cpp user can use the AdminClient tool to deploy a service or can manually deploy. The first section shows you how to deploy your Web Service manually, without using the AdminClient tool.<br>
  -<br>Lets say that the apache installation folder is APACHE_FOLDER.<br>(The default installation is apache 1.3.X and the path is "C:\Program Files\Apache Group\Apache" and the path for apache 2.X is "C:\Program Files\Apache Group\Apache2")<br>
  -<br>1) Copy the above Calculator.dll to the folder APACHE_FOLDER/Axis/webservices.<br>2) Add the following to the server.wsdd at the service level. Please make sure you add these lines at the correct place, i.e at service level. (APACHE_FOLDER/Axis/conf/server.wsdd)<br>
  -<br>&lt;service name="Calculator" provider="CPP:RPC" description="Calculator Web Service"&gt;<br>&lt;parameter name="className" value="APACHE_FOLDER\Axis\webservices\Calculator.dll"/&gt;<br>&lt;parameter name="allowedMethods" value="add subtract "/&gt;<br>&lt;/service&gt;<br>
  +<br>Lets say that the apache installation folder is [Apache_Folder].<br>(The default installation is apache 1.3.X and the path is "C:\Program Files\Apache Group\Apache" and the path for apache 2.X is "C:\Program Files\Apache Group\Apache2")<br>
  +<br>1) Copy the above Calculator.dll to the folder [Apache_Folder]/Axis/webservices.<br>2) Add the following to the server.wsdd at the service level. Please make sure you add these lines at the correct place, i.e at service level. ([Apache_Folder]/Axis/conf/server.wsdd)<br>
  +<br>&lt;service name="Calculator" provider="CPP:RPC" description="Calculator Web Service"&gt;<br>&lt;parameter name="className" value="[Apache_Folder]\Axis\webservices\Calculator.dll"/&gt;<br>&lt;parameter name="allowedMethods" value="add subtract "/&gt;<br>&lt;/service&gt;<br>
   <br>Now you have deployed your web service</p>
   <p>
   <a name="admin"></a>
  @@ -395,7 +395,7 @@
   <br>
   <p>With the WSDL2WS tool you have almost developed your client. What you have to do next is write a file which has a main method and create an object of the stub and invoke your methods on that.<br>
   <br>1) Create a vc workspace.<br>2) Create a 'Win32 Console Application'.<br>3) Add files to this project from the above generated 'ClientOut' folder.<br>4) Set the include path to the include directory of the binary distribution.<br>5) Add the following libs to the library modules path of this project.<br>
  -<br>AXIS_EXTRACT/lib/axis/<br>Axisclient.lib<br>
  +<br>Axis_Extract/lib/axis/<br>Axisclient.lib<br>
   <br>6) Create a file with a main method which looks similar to the following and add this file to this project.<br>
   </p>
   <pre>#include "Calculator.h"
  @@ -425,7 +425,7 @@
   <div class="h4">
   <h4>Transport Library and Parser Library</h4>
   </div>
  -<p>AxisTransport.dll (Which can be found at AXIS_EXTRACT/bin) should be placed in the path, and should be specified as the value to the key "Transport_http" in axiscpp.conf (AXIS_FOLDER/axiscpp.conf) Or in the same place as the client.exe.</p>
  +<p>AxisTransport.dll (Which can be found at Axis_Extract/bin) should be placed in the path, and should be specified as the value to the key "Transport_http" in axiscpp.conf [Axis_Folder]/axiscpp.conf Or in the same place as the client.exe.</p>
   <p>Rename either AxisXMLParser_Expat.dll or AxisXMLParser_Xerces.dll to AxisXMLParser.dll (depending on the parser you use), and give the path of the AxisXMLParser.dll as the value of the key XMLParser in axiscpp.conf Or in the same place as the client.exe.<br>If you want to use Expat parser then libexpat.dll should be given in the path.<br>If you want to use the Xerces parser then xerces-c_2_2_0.dll should be given in the path.<br>
   </p>
   <p>
  @@ -433,7 +433,7 @@
   <br>
   <br>LogPath:XXXX<br>WSDDFilePath:YYYY<br>Transport_http:ZZZZ (Not necessary)<br>XMLParser:WWWW<br>
   <br>XXXX is the path to a file named AxisLog (The log file)and YYYY is the path to the server.wsdd file.<br>
  -<br>i.e.<br>LogPath:[APACHE_HOME]\Axis\logs\AxisLog.log<br>WSDDFilePath:[APACHE_HOME]\Axis\conf\server.wsdd<br>Transport_http:[APACHE_HOME]\Axis\libs\AxisTransport_D.dll<br>XMLParser:[APACHE_HOME]\Axis\libs\AxisXMLParser_D.dll<br>
  +<br>i.e.<br>LogPath:[Apache_Folder]\Axis\logs\AxisLog.log<br>WSDDFilePath:[Apache_Folder]\Axis\conf\server.wsdd<br>Transport_http:[Apache_Folder]\Axis\libs\AxisTransport_D.dll<br>XMLParser:[Apache_Folder]\Axis\libs\AxisXMLParser_D.dll<br>
   </p>
   <p>
   <a name="handlers"></a>
  @@ -443,10 +443,10 @@
   </div>
   <p>Handlers are pluggable components in Axis C++. We have included a set of sample handlers for your reference. You could write your own handlers by following the instructions given for the sample Handlers.</p>
   <p>
  -<strong>Note: If you are using Client side Handlers you need to enter the following entry to the AXIS_FOLDER/axiscpp.conf configuration file.</strong>
  +<strong>Note: If you are using Client side Handlers you need to enter the following entry to the [Axis_Folder]/axiscpp.conf configuration file.</strong>
   </p>
   <p>ClientWSDDFilePath:Axis\conf\client.wsdd</p>
  -<p>After entering this entry to your AXIS_FOLDER/axiscpp.conf configuration file will look like:</p>
  +<p>After entering this entry to your [Axis_Folder]/axiscpp.conf configuration file will look like:</p>
   <p>LogPath:Axis\logs\AxisLog.txt<br>WSDDFilePath:Axis\conf\server.wsdd<br>ClientWSDDFilePath:Axis\conf\client.wsdd</p>
   <strong>Testing the sample Handlers</strong>
   <p>We have included the following sample Handlers for your reference.</p>
  @@ -462,12 +462,12 @@
   <br>
   <strong>Building echoStringHeaderHandler (A server side handler sample)</strong>
   <br>
  -<p>The VC dsw file (ServerHandlers.dsw) is available at AXIS_EXTRACT/vc/samples/server/ ServerHandlers.dsw. Open this file and build the project echoStringHeaderHandler. Once the build is successful you will find the DLL (echoStringHeaderHandler.dll) at AXIS_EXTRACT/bin. If you see this DLL at the above location you are done with the first step.</p>
  +<p>The VC dsw file (ServerHandlers.dsw) is available at Axis_Extract/vc/samples/server/ ServerHandlers.dsw. Open this file and build the project echoStringHeaderHandler. Once the build is successful you will find the DLL (echoStringHeaderHandler.dll) at Axis_Extract/bin. If you see this DLL at the above location you are done with the first step.</p>
   <p>
   <strong>Configuring the Handler</strong>
   </p>
  -<p>Now edit the AXIS_FOLDER /conf/server.wsdd to include the handler for a particular service.</p>
  -<p>&lt;service name="Calculator" provider="CPP:RPC" description="Simple Calculator Axis C++ Service "&gt;<br>&lt;requestFlow name="CalculatorHandlers"&gt;<br> &lt;handler name="ESHHandler" type="AXIS_EXTRACT/bin/echoStringHeaderHandler.dll"&gt;<br>&lt;/handler&gt;<br> &lt;/requestFlow&gt;<br> &lt;responseFlow name="CalculatorHandlers"&gt;<br> &lt;handler name="ESHHandler" type="AXIS_EXTRACT/bin/echoStringHeaderHandler.dll"&gt;<br> &lt;/handler&gt;<br> &lt;/responseFlow&gt;<br> &lt;parameter name="allowedMethods" value="add sub mul div "/&gt;<br>&lt;parameter name="className" value="Axis\webservices\Calculator.dll" /&gt;<br>&lt;/service&gt;</p>
  +<p>Now edit the [Axis_Folder]/conf/server.wsdd to include the handler for a particular service.</p>
  +<p>&lt;service name="Calculator" provider="CPP:RPC" description="Simple Calculator Axis C++ Service "&gt;<br>&lt;requestFlow name="CalculatorHandlers"&gt;<br> &lt;handler name="ESHHandler" type="Axis_Extract/bin/echoStringHeaderHandler.dll"&gt;<br>&lt;/handler&gt;<br> &lt;/requestFlow&gt;<br> &lt;responseFlow name="CalculatorHandlers"&gt;<br> &lt;handler name="ESHHandler" type="Axis_Extract/bin/echoStringHeaderHandler.dll"&gt;<br> &lt;/handler&gt;<br> &lt;/responseFlow&gt;<br> &lt;parameter name="allowedMethods" value="add sub mul div "/&gt;<br>&lt;parameter name="className" value="Axis\webservices\Calculator.dll" /&gt;<br>&lt;/service&gt;</p>
   <p>
   <strong>Note: Make sure you specify the correct path of the handler dll in the server.wsdd file.</strong>
   </p>
  @@ -483,25 +483,25 @@
   <strong>Building the Sample Handlers in VC</strong>
   </p>
   <p>Building testHandler (A client side handler sample)</p>
  -<p>The VC dsw file (ServerHandlers.dsw) is available at AXIS_EXTRACT/vc/samples/client/ClientHandlers.dsw. Open this file and build the project TestHandler. Once the build is successful you will find the DLL (testHandler.dll) at AXIS_EXTRACT/bin. If you see this DLL at the above location you are done with the first step.</p>
  +<p>The VC dsw file (ServerHandlers.dsw) is available at Axis_Extract/vc/samples/client/ClientHandlers.dsw. Open this file and build the project TestHandler. Once the build is successful you will find the DLL (testHandler.dll) at at Axis_Extract/bin. If you see this DLL at the above location you are done with the first step.</p>
   <p>
   <strong>Configuring the Handler</strong>
   </p>
  -<p>Now edit the AXIS_FOLDER /conf/client.wsdd to include the handler for a particular service.</p>
  -<p>&lt;service name="Calculator" provider="CPP:DOCUMENT" description="Calculator web service"&gt;<br>&lt;requestFlow name="CalculatorHandlers"&gt;<br> &lt;handler name="TestHandler" type="AXIS_EXTRACT/bin/testHandler.dll"&gt;<br>&lt;/handler&gt;<br> &lt;/requestFlow&gt;<br>&lt;/service&gt;</p>
  +<p>Now edit the [Axis_Folder]/conf/client.wsdd to include the handler for a particular service.</p>
  +<p>&lt;service name="Calculator" provider="CPP:DOCUMENT" description="Calculator web service"&gt;<br>&lt;requestFlow name="CalculatorHandlers"&gt;<br> &lt;handler name="TestHandler" type="Axis_Extract/bin/testHandler.dll"&gt;<br>&lt;/handler&gt;<br> &lt;/requestFlow&gt;<br>&lt;/service&gt;</p>
   <p>
   <strong>Note: Make sure you specify the correct path of the handler dll in the client.wsdd file.</strong>
   </p>
   <p>Now you are almost done to run your client side handler.</p>
   <p>
  -<strong>Note: If you are using Client side Handlers you need to enter the ClientWSDDFilePath entry in the AXIS_FOLDER/axiscpp.conf configuration file. (See above)</strong>
  +<strong>Note: If you are using Client side Handlers you need to enter the ClientWSDDFilePath entry in the [Axis_Folder]/axiscpp.conf configuration file. (See above)</strong>
   </p>
   <p>
   <strong>Running the Handler</strong>
   </p>
  -<p>Since this Handler is configured to the Calculator web service in the above step, this Handler will be executed when you run the calculator web service client. (It is at AXIS_EXTRACT/bin/Calculator.exe)</p>
  +<p>Since this Handler is configured to the Calculator web service in the above step, this Handler will be executed when you run the calculator web service client. (It is at Axis_Extract/bin/Calculator.exe)</p>
   <p>Handler Notes:</p>
  -<p>1) You can see the Handler behavior through the TCP Monitor. (TCP Monitor is a Axis Java tool)<br>2) To get an idea of Handlers look at the Handler sample source files.<br>a. echoStringHeaderHandler (AXIS_EXTRACT/samples/server/echoStringHeaderHandler)<br>b. testHandler (AXIS_EXTRACT/samples/client/testHandler)</p>
  +<p>1) You can see the Handler behavior through the TCP Monitor. (TCP Monitor is a Axis Java tool)<br>2) To get an idea of Handlers look at the Handler sample source files.<br>a. echoStringHeaderHandler (Axis_Extract/samples/server/echoStringHeaderHandler)<br>b. testHandler (Axis_Extract/samples/client/testHandler)</p>
   <div id="pdf" align="right">
   <a href="winuser-guide.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br>
             PDF</a>
  
  
  
  1.28      +167 -161  ws-site/targets/axis/cpp/wininstall-guide.pdf
  
  	<<Binary file>>
  
  
  1.33      +40 -40    ws-site/targets/axis/cpp/wininstall-guide.html
  
  Index: wininstall-guide.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/axis/cpp/wininstall-guide.html,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- wininstall-guide.html	11 Nov 2004 05:31:04 -0000	1.32
  +++ wininstall-guide.html	12 Nov 2004 05:05:39 -0000	1.33
  @@ -323,7 +323,7 @@
   </div>
   <p>If you decide to use the Expat parser you need to install the Expat parser. Download the Expat-1.95.7 binary version from <a href="http://sourceforge.net/projects/expat/">http://sourceforge.net/projects/expat/</a>
   <br>
  -<br>Extract the Expat binaries to a folder Called Expat ,we will refer to this folder as [EXPAT_EXTRACT].</p>
  +<br>Extract the Expat binaries to a folder Called Expat ,we will refer to this folder as [Expat_Folder].</p>
   <br>
   <br>
   <p>
  @@ -335,7 +335,7 @@
   <br>
   <p>If you decide to use the Xerces parser you need to install the Xerces parser. Download the Xerces-C 2.2.0 ( 32 bit binary release) from: <a href="http://xml.apache.org/xerces-c/download.cgi">http://xml.apache.org/xerces-c/download.cgi</a>
   <br>
  -<br> Extract the Xerces-C 2.2.0 binary version. We will refer to this folder as [XERCES_EXTRACT].</p>
  +<br> Extract the Xerces-C 2.2.0 binary version. We will refer to this folder as [Xerces_Folder].</p>
   <p>
   <a name="#apache"></a>
   </p>
  @@ -343,38 +343,38 @@
   <h3>Installation with Apache 1.3.X/2.X web server</h3>
   </div>
   <p>Steps:<br>
  -<br> 1. Install apache web server and locate the installation folder(For the default installation (apache 1.3.X) the path is "C:\Program Files\Apache Group\Apache" and for apache 2.X the path is "C:\Program Files\Apache Group\Apache2" ). Lets say this folder is APACHE_FOLDER.<br>
  -<br> 2. Unzip the binary distribution to a folder of your choice. Say this folder is AXIS_EXTRACT.<br>
  -<br> 3. Inside the extracted folder AXIS_EXTRACT there is a sub folder called deploy. Copy the whole deploy folder to APACHE_FOLDER.<br>
  -<br> 4. Rename copied "deploy" folder to "Axis". Lets say this folder is AXIS_FOLDER.<br>
  +<br> 1. Install apache web server and locate the installation folder(For the default installation (apache 1.3.X) the path is "C:\Program Files\Apache Group\Apache" and for apache 2.X the path is "C:\Program Files\Apache Group\Apache2" ). Lets say this folder is [Apache_Folder].<br>
  +<br> 2. Unzip the binary distribution to a folder of your choice. Say this folder is Axis_Extract.<br>
  +<br> 3. Inside the extracted folder Axis_Extract there is a sub folder called deploy. Copy the whole deploy folder to [Apache_Folder].<br>
  +<br> 4. Rename copied "deploy" folder to "Axis". Lets say this folder is [Axis_Folder].<br>
   <br> 5. Set environment variable AXISCPP_DEPLOY to point to above folder.<br>
  -<br> 6. Add AXIS_FOLDER/lib to the PATH environment variable.<br>
  -<br> 7. Add the following lines to the bottom of Apache configuration file httpd.conf located in APACHE_FOLDER/conf<br>
  -<br>LoadModule axis_module modules/AXISMODULE<br>&lt;Location /axis&gt;<br>SetHandler axis<br>&lt;/Location&gt;<br>
  -<br> AXISMODULE is either mod_axis.dll for apache 1.3.X or mod_axis2.dll for apache 2.X.<br>
  -<br> 8. Copy AXISMODULE from AXIS_EXTRACT/bin folder to APACHE_FOLDER/modules folder.<br>
  -<br> 9. Copy AxisServer.dll and AxisTransport.dll from AXIS_EXTRACT/bin folder to AXIS_FOLDER/lib<br>
  -<br> 10.If you want to use the Expat parser with Axis C++, rename AxisXMLParser_Expat.dll (which is located at AXIS_EXTRACT/bin) to AxisXMLParser.dll and copy it to AXIS_FOLDER/lib<br>
  -<br> 11.If you want to use the Xerces parser with Axis C++, rename AxisXMLParser_Xerces.dll (which is located at AXIS_EXTRACT/bin) to AxisXMLParser.dll and copy it to AXIS_FOLDER/lib</p>
  +<br> 6. Add [Axis_Folder]/lib to the PATH environment variable.<br>
  +<br> 7. Add the following lines to the bottom of Apache configuration file httpd.conf located in [Apache_Folder]/conf<br>
  +<br>LoadModule axis_module modules/[Axis_Module]<br>&lt;Location /axis&gt;<br>SetHandler axis<br>&lt;/Location&gt;<br>
  +<br> [Axis_Module] is either mod_axis.dll for apache 1.3.X or mod_axis2.dll for apache 2.X.<br>
  +<br> 8. Copy [Axis_Module] from Axis_Extract/bin folder to [Apache_Folder]/modules folder.<br>
  +<br> 9. Copy AxisServer.dll and AxisTransport.dll from Axis_Extract/bin folder to [Axis_Folder]/lib<br>
  +<br> 10.If you want to use the Expat parser with Axis C++, rename AxisXMLParser_Expat.dll (which is located at Axis_Extract/bin ) to AxisXMLParser.dll and copy it to [Axis_Folder]/lib<br>
  +<br> 11.If you want to use the Xerces parser with Axis C++, rename AxisXMLParser_Xerces.dll (which is located at Axis_Extract/bin ) to AxisXMLParser.dll and copy it to [Axis_Folder]/lib</p>
   <br>
   <ul>
  -<li>Copy libexpat.dll file from [EXPAT_EXTRACT]\Libs to AXIS_FOLDER/lib/</li>
  -<li>Copy xerces-c_2_2_0.dll from [XERCES_EXTRACT]/bin/ to AXIS_FOLDER/lib/</li>
  +<li>Copy libexpat.dll file from [Expat_Folder]\Libs to [Axis_Folder]/lib/</li>
  +<li>Copy xerces-c_2_2_0.dll from [Xerces_Folder]/bin/ to [Axis_Folder]/lib/</li>
   <li style="list-style: none">
   <br>
   <br>
   </li>
   </ul>
   <p>
  -<strong>Note:</strong> This could also be done by editing the axiscpp.conf.<br> 12. Open the AXIS_FOLDER/axiscpp.conf_win for editing. The contents of the file will look as follows.<br>
  +<strong>Note:</strong> This could also be done by editing the axiscpp.conf.<br> 12. Open the [Axis_Folder]/axiscpp.conf_win for editing. The contents of the file will look as follows.<br>
   <br> LogPath:XXXX<br>WSDDFilePath:YYYY<br>XMLParser:ZZZZ<br>Transport_http:AAAA<br>
   <br> XXXX is the path to a file named AxisLog (The log file)and YYYY is the path to the server.wsdd file. Give the appropriate values for XXXX and YYYY as follows.ZZZZ is the path to the XMLParser and AAAA is the path to the Transport used.<br>
   <br> i.e.<br>
  -<br> LogPath: [APACHE_HOME]\Axis\logs\AxisLog<br>WSDDFilePath: [APACHE_HOME]\Axis\conf\server.wsdd<br>XMLParser:[APACHE_HOME]\Axis\lib\AxisXMLParser.dll<br>Transport_http:[APACHE_HOME]\Axis\lib\AxisTransport.dll<br>
  -<br> server.wsdd is located at [APACHE_HOME]\Axis\conf\ for Apache 1.3 and Apache 2. (There will be three wsdd files in the [APACHE_HOME]\Axis\conf\ rename the relevant wsdd file of your platform to server.wsdd).<br>
  +<br> LogPath: [Apache_Folder]\Axis\logs\AxisLog<br>WSDDFilePath: [Apache_Folder]\Axis\conf\server.wsdd<br>XMLParser:[Apache_Folder]\Axis\lib\AxisXMLParser.dll<br>Transport_http:[Apache_Folder]\Axis\lib\AxisTransport.dll<br>
  +<br> server.wsdd is located at [Apache_Folder]\Axis\conf\ for Apache 1.3 and Apache 2. (There will be three wsdd files in the [Apache_Folder]\Axis\conf\ rename the relevant wsdd file of your platform to server.wsdd).<br>
   <br> Also in order to run the provided samples do the following.<br>
   <br>Open server.wsdd for editing. For each service element, locate the element "parameter name", which has the value "classname".<br>Give the absolute path of the indicated webservice.dll in the "value" attribute<br>
  -<br>Rename axiscpp.conf_win which is in AXIS_FOLDER to axiscpp.conf<br>
  +<br>Rename axiscpp.conf_win which is in [Axis_Folder] to axiscpp.conf<br>
   <br> 13. Restart the apache web server. If you have done correctly apache server will start without giving any error.</p>
   <br>
   <p>
  @@ -400,32 +400,32 @@
   <h3>Installation with Simple Axis Server</h3>
   </div>
   <p>STEPS:</p>
  -<p>1. Create a folder of your choice. We will call this folder as SIMPLE_AXIS_SERVER_FOLDER.<br>
  -<br>2. Unzip the binary distribution to a folder of your choice. Say this folder is AXIS_EXTRACT.<br>
  -<br>3. Inside the extracted folder AXIS_EXTRACT there is a sub folder called deploy. Copy the whole deploy folder to SIMPLE_AXIS_SERVER_FOLDER.<br>
  -<br>4. Rename copied "deploy" folder to "Axis". Lets say this folder is AXIS_FOLDER.<br>
  -<br>5. Set environment variable AXISCPP_DEPLOY to point to above AXIS_FOLDER.<br>
  -<br>6. Add AXIS_FOLDER/lib to the PATH environment variable.<br>
  -<br>7. Copy the SimpleAxisServer.exe from AXIS_EXTRACT/bin to the SIMPLE_AXIS_SERVER_FOLDER.<br>
  -<br>8. Copy AxisServer.dll and AxisTransport.dll from AXIS_EXTRACT/bin folder to AXIS_FOLDER/lib<br>
  -<br>9.If you want to use the Expat parser with Axis C++, rename AxisXMLParser_Expat.dll (which is located at AXIS_EXTRACT/bin) to AxisXMLParser.dll and copy it to AXIS_FOLDER/lib<br>
  -<br>10.If you want to use the Xerces parser with Axis C++, rename AxisXMLParser_Xerces.dll (which is located at AXIS_EXTRACT/bin) to AxisXMLParser.dll and copy it to AXIS_FOLDER/lib<br>
  -<br>11.If you are using Expat parser then copy libexpat.dll from [EXPAT_EXTRACT]/Libs and paste it in AXIS_FOLDER/lib.<br>
  -<br>If you are using Xerces parser then copy xerces-c_2_2_0.dll from [XERCES_EXTRACT]/bin and paste it in AXIS_FOLDER/lib.<br>
  +<p>1. Create a folder of your choice. We will call this folder as Simple_Axis_Server_Folder.<br>
  +<br>2. Unzip the binary distribution to a folder of your choice. Say this folder is Axis_Extract.<br>
  +<br>3. Inside the extracted folder Axis_Extract there is a sub folder called deploy. Copy the whole deploy folder to Simple_Axis_Server_Folder.<br>
  +<br>4. Rename copied "deploy" folder to "Axis". Lets say this folder is [Axis_Folder].<br>
  +<br>5. Set environment variable AXISCPP_DEPLOY to point to above [Axis_Folder].<br>
  +<br>6. Add [Axis_Folder]/lib to the PATH environment variable.<br>
  +<br>7. Copy the SimpleAxisServer.exe from Axis_Extract/bin to the Simple_Axis_Server_Folder.<br>
  +<br>8. Copy AxisServer.dll and AxisTransport.dll from Axis_Extract/bin folder to [Axis_Folder]/lib<br>
  +<br>9.If you want to use the Expat parser with Axis C++, rename AxisXMLParser_Expat.dll (which is located at Axis_Extract/bin) to AxisXMLParser.dll and copy it to [Axis_Folder]/lib<br>
  +<br>10.If you want to use the Xerces parser with Axis C++, rename AxisXMLParser_Xerces.dll (which is located at Axis_Extract/bin) to AxisXMLParser.dll and copy it to [Axis_Folder]/lib<br>
  +<br>11.If you are using Expat parser then copy libexpat.dll from [Expat_Folder]/Libs and paste it in [Axis_Folder]/lib.<br>
  +<br>If you are using Xerces parser then copy xerces-c_2_2_0.dll from [Xerces_Folder]/bin and paste it in [Axis_Folder]/lib.<br>
   <br>
   </p>
   <p>
  -<strong>Note:</strong> This could also be done by editing the axiscpp.conf.<br> 12. Open the AXIS_FOLDER/axiscpp.conf_win for editing. The contents of the file will look as follows.<br>
  +<strong>Note:</strong> This could also be done by editing the axiscpp.conf.<br> 12. Open the [Axis_Folder]/axiscpp.conf_win for editing. The contents of the file will look as follows.<br>
   <br> LogPath:XXXX<br>WSDDFilePath:YYYY<br>XMLParser:ZZZZ<br>Transport_http:AAAA<br>
   <br> XXXX is the path to a file named AxisLog (The log file)and YYYY is the path to the server.wsdd file. Give the appropriate values for XXXX and YYYY as follows.ZZZZ is the path to the XMLParser and AAAA is the path to the used Transport.<br>
   <br> i.e.<br>
  -<br> LogPath: [APACHE_HOME]\Axis\logs\AxisLog<br>WSDDFilePath: [APACHE_HOME]\Axis\conf\server.wsdd<br>XMLParser:[AXIS_FOLDER]\lib\AxisXMLParser.dll<br>Transport_http:[AXIS_FOLDER]\lib\AxisTransport.dll<br>
  +<br> LogPath: [Apache_Folder]\Axis\logs\AxisLog<br>WSDDFilePath: [Apache_Folder]\Axis\conf\server.wsdd<br>XMLParser:[Axis_Folder]\lib\AxisXMLParser.dll<br>Transport_http:[Axis_Folder]\lib\AxisTransport.dll<br>
   <br> Rename axiscpp.conf_win to axiscpp.conf.<br>
   <br> 13. Start the SimpleAxisServer by providing the port to which it operates.(eg: c:\SimpleAxisServer&gt;SimpleAxisServer 80)<br>
   <br>
   <strong>Note:</strong>If SimpleAxisServer does not start then paste AxisClient.dll to the place where SimpleAxisServer.exe is.<br>
   <br> Also in order to run the provided samples do the following.<br>
  -<br>Open server.wsdd for editing. server.wsdd is located at [AXIS_FOLDER]\conf\ rename the wsdd file of your platform to server.wsdd. For each service element, locate the element "parameter name", which has the value "classname".<br>Give the absolute path of the indicated webservice.dll in the "value" attribute<br>
  +<br>Open server.wsdd for editing. server.wsdd is located at [Axis_Folder]\conf\ rename the wsdd file of your platform to server.wsdd. For each service element, locate the element "parameter name", which has the value "classname".<br>Give the absolute path of the indicated webservice.dll in the "value" attribute<br>
   <br> 14. Restart the SimpleAxisServer.If you have done correctly then SimpleAxisServer will start without giving any error.<br>
   </p>
   <p>
  @@ -436,11 +436,11 @@
   </div>
   <p>If Axis installation is a complete success, then the following sample web services and handlers have been installed successfully. Please click on the following link to see the deployed web services. <a href="http://localhost/axis">http://localhost/axis</a>
   <br>
  -<br> You will find the built console applications at AXIS/bin directory. Following are the built .exe files.<br>
  +<br> You will find the built console applications at [Axis_Folder]/bin directory. Following are the built .exe files.<br>
   <br>1.base.exe<br>2.cbase.exe<br>3.doclitbase.exe<br>4.doclitgroupB.exe<br>5.groupB.exe<br>6.cgroupB.exe<br>
   <br>In order to run these samples you should have AxisClient.dll in the PATH environment variable or in the same directory where the client .exe is located.<br>
   <br> You can run the provided client programs to confirm whether the Axis cpp server and clients are working fine.<br>
  -<br>To run these sample client applications you need to have the path to libexpat.dll in the "PATH" environment variable or libexpat.dll should be placed where the apache.exe is.(libexpat.dll can be found in [EXPAT_EXTRACT\libs)<br>
  +<br>To run these sample client applications you need to have the path to libexpat.dll in the "PATH" environment variable or libexpat.dll should be placed where the apache.exe is.(libexpat.dll can be found in [Expat_Folder]\libs)<br>
   <br> 
   <strong>Note: These sample clients are compiled with the assumption that server is running at localhost port 80.</strong>
   <br>
  @@ -452,9 +452,9 @@
   <div class="h3">
   <h3>Using Visual C++ to play with provided samples.</h3>
   </div>
  -<p>In your AXIS_EXTRACT/samples folder you have the samples.<br>
  -<br> If you are using Visual C++ you can open the workspace file for client applications which are in AXIS_EXTRACT\c\samples\client\interoptests\interoptests.dsw<br>
  -<br> Deployable webservices are in AXIS_EXTRACT\c\samples\server\interoptests\interoptests.dsw and you can play with them.<br>
  +<p>In your Axis_Extract/samples folder you have the samples.<br>
  +<br> If you are using Visual C++ you can open the workspace file for client applications which are in Axis_Extract\c\samples\client\interoptests\interoptests.dsw<br>
  +<br> Deployable webservices are in Axis_Extract\c\samples\server\interoptests\interoptests.dsw and you can play with them.<br>
   <br>There are seven projects in the workspace.<br>
   <br>
   </p>
  
  
  
  1.27      +53 -53    ws-site/targets/axis/cpp/windev-guide.html
  
  Index: windev-guide.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/axis/cpp/windev-guide.html,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- windev-guide.html	26 Oct 2004 07:32:38 -0000	1.26
  +++ windev-guide.html	12 Nov 2004 05:05:39 -0000	1.27
  @@ -343,7 +343,7 @@
   <br>password: anoncvs<br>
   <br>Now enter the following cvs command to checkout the axis Repository.<br>cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout ws-axis<br>
   <br>The checkout of the repository will be created in the current directory in a folder named &ldquo;ws-axis&rdquo;<br>
  -<br>The checked out folder ws-axis will be referred to as [CHECKOUT_HOME] from this point on.<br>
  +<br>The checked out folder ws-axis will be referred to as [Checkout_Folder] from this point on.<br>
   </p>
   <p>
   <a name="getapacheexpat"></a>
  @@ -374,19 +374,19 @@
   <strong>Xerces</strong>
   </p>
   <br>
  -<p>Run the file xerces-c2_2_0-win32.The folder to which Xerces is unzipped will be referred to as [XERCES_EXTRACT] from this point onwards.</p>
  +<p>Run the file xerces-c2_2_0-win32.The folder to which Xerces is unzipped will be referred to as [Xerces_Folder] from this point onwards.</p>
   <br>
   <p>
   <strong>Expat</strong>
   </p>
   <br>
  -<p>Run the file expat_win32bin_1_95_7.exe . The folder to which Expat is unzipped will be referred to as [EXPAT_EXTRACT] from this point onwards.</p>
  +<p>Run the file expat_win32bin_1_95_7.exe . The folder to which Expat is unzipped will be referred to as [Expat_Folder] from this point onwards.</p>
   <br>
   <p>
   <strong>Apache</strong>
   </p>
   <br>
  -<p>Install the Apache web server. By default Apache 1.3.X is installed in "C:\Program Files\Apache Group\Apache" and Apache 2.X in "C:\Program Files\Apache Group\Apache2". These locations will be referred to as [APACHE_HOME] from this point onwards.</p>
  +<p>Install the Apache web server. By default Apache 1.3.X is installed in "C:\Program Files\Apache Group\Apache" and Apache 2.X in "C:\Program Files\Apache Group\Apache2". These locations will be referred to as [Apache_Folder] from this point onwards.</p>
   <p>
   <br>
   </p>
  @@ -400,41 +400,41 @@
   <p>
   <strong>For Expat Parser</strong>
   </p>
  -<p>1) Copy [EXPAT_EXTRACT]\source\lib\expat.h from expat binary distribution to [CHECKOUT_HOME]\c\include\expat\ directory<br>
  -<br>2) Copy [EXPAT_EXTRACT]\lib\libexpat.lib to [CHECKOUT_HOME]\c\lib\expat\ directory.</p>
  +<p>1) Copy [Expat_Folder]\source\lib\expat.h from expat binary distribution to [Checkout_Folder]\c\include\expat\ directory<br>
  +<br>2) Copy [Expat_Folder]\lib\libexpat.lib to [Checkout_Folder]\c\lib\expat\ directory.</p>
   <br>
   <br>
   <p>
   <strong>For Xerces Parser</strong>
   </p>
  -<p>1) Copy [XERCES_EXTRACT]\lib\xerces-c_2.lib to [CHECKOUT_HOME]\c\lib\xerces\ directory.</p>
  -<p>2) Copy [XERCES_EXTRACT]\include\xercesc to [CHECKOUT_HOME]\c\include\xerces\ directory.</p>
  +<p>1) Copy [Xerces_Folder]\lib\xerces-c_2.lib to [Checkout_Folder]\c\lib\xerces\ directory.</p>
  +<p>2) Copy [Xerces_Folder]\include\xercesc to [Checkout_Folder]\c\include\xerces\ directory.</p>
   <p>
   <strong>For apache 1.3.X:</strong>
   </p>
  -<p>1) Copy the include files in "[APACHE_HOME]\include" directory to "[CHECKOUT_HOME] \c\include\apache1_3\"<br>
  -<br>2) Copy the ApacheCore.lib file from [APACHE_HOME]\libexec to [CHECKOUT_HOME]\c\lib\apache1_3.</p>
  +<p>1) Copy the include files in "[Apache_Folder]\include" directory to "[Checkout_Folder]\c\include\apache1_3\"<br>
  +<br>2) Copy the ApacheCore.lib file from [Apache_Folder]\libexec to [Checkout_Folder]\c\lib\apache1_3.</p>
   <br>
   <p>
   <strong>For apache 2.X:</strong>
   </p>
  -<p>1) Copy the include files in "[APACHE_HOME]\include" directory to "[CHECKOUT_HOME]\c\include\apache2_0\"<br>
  -<br> 2) Copy the following lib files libapr.lib, libhttpd.lib files from "[APACHE_HOME]\lib" to "[CHECKOUT_HOME]\c\lib\apache2_0".<br>
  +<p>1) Copy the include files in "[Apache_Folder]\include" directory to "[Checkout_Folder]\c\include\apache2_0\"<br>
  +<br> 2) Copy the following lib files libapr.lib, libhttpd.lib files from "[Apache_Folder]\lib" to "[Checkout_Folder]\c\lib\apache2_0".<br>
   </p>
   <br>
   <p>
   <strong>Building the AxisServer and AxisClient dlls</strong>
   </p>
   <br>
  -<p>Build the AxisServer and AxisClient projects.(Click on file in Visual C++ ,open Visual C++ Distribution workspace (Distribution.dsw) at [CHECKOUT_HOME]\c\vc\. In the workspace window, File View, right click on the AxisServer project and AxisClient project ).Which will build the AxisServer.dll and AxisClient.dll</p>
  +<p>Build the AxisServer and AxisClient projects.(Click on file in Visual C++ ,open Visual C++ Distribution workspace (Distribution.dsw) at [Checkout_Folder]\c\vc\. In the workspace window, File View, right click on the AxisServer project and AxisClient project ).Which will build the AxisServer.dll and AxisClient.dll</p>
   <br>
   <p>
   <strong>Building Apache Modules (Apache 1.3.X and Apache 2.X)</strong>
   </p>
  -<p>In Visual C++ (The version used for this documentation was Visual C++ 6.0) click on file ,open Visual C++ Distribution workspace (Distribution.dsw) at [CHECKOUT_HOME]\c\vc\. In the workspace window, File View, right click on either the project "Apache1_3Module files" or "Apache2_0Module files" and click on the "Set as Active Project" to make it the Active Project.<br>
  -<br> Again in Visual C++ right click on either the project "Apache1_3Module" or "Apache2_0Module" in the workspace window, File View, and then click on Settings in the popup menu. Select the link tab. Select General from the Category drop down list. In the Output file name text box put the value [APACHE_HOME]\modules\mod_axis.dll and click OK.(To build a Apache Module, AxisServer.lib should be in the settings Link tab )</p>
  +<p>In Visual C++ (The version used for this documentation was Visual C++ 6.0) click on file ,open Visual C++ Distribution workspace (Distribution.dsw) at [Checkout_Folder]\c\vc\. In the workspace window, File View, right click on either the project "Apache1_3Module files" or "Apache2_0Module files" and click on the "Set as Active Project" to make it the Active Project.<br>
  +<br> Again in Visual C++ right click on either the project "Apache1_3Module" or "Apache2_0Module" in the workspace window, File View, and then click on Settings in the popup menu. Select the link tab. Select General from the Category drop down list. In the Output file name text box put the value [Checkout_Folder]\modules\mod_axis.dll and click OK.(To build a Apache Module, AxisServer.lib should be in the settings Link tab )</p>
   <p>Build either Apache1_3Module or Apache2_0Module project. In Visual C++ right click on either the project "Apache1_3Module" or "Apache2_0Module" in the workspace window, File View and click "build (selection only)" to build mod_axis.dll for Apache1_3Module or mod_axis2.dll for Apache2_0Module.<br>
  -<br>(From here onwards we refer to these modules as APACHE_MODULE. Replace it with the correct module for the Apache server version that you have installed). Then build SimpleAxisServer. &nbsp;</p>
  +<br>(From here onwards we refer to these modules as Apache_Module. Replace it with the correct module for the Apache server version that you have installed). Then build SimpleAxisServer. &nbsp;</p>
   <br>
   <p>
   <strong>Axis Transport Library</strong>
  @@ -448,7 +448,7 @@
   <br>
   <p>
   <strong>Building AxisTransport.dll and AxisXMLParser.dll</strong>
  -<br>Build the AxisTransport and AxisXMLParser projects. Which will build the AxisTransport.dll and AxisXMLParser.dll in [CHECKOUT_HOME]\c\bin.</p>
  +<br>Build the AxisTransport and AxisXMLParser projects. Which will build the AxisTransport.dll and AxisXMLParser.dll in [Checkout_Folder]\c\bin.</p>
   <p>(When the projects are built in Debug mode then the Dlls will appear as AxisTransport_D and AxisXMLParser_D.dll)</p>
   <p>
   <a name="deployaxis"></a>
  @@ -457,28 +457,28 @@
   <h4>Deploying Axis in Apache</h4>
   </div>
   <br>
  -<p>1) Create a directory structure called "Axis" inside [APACHE_HOME] as follows.<br>(Instead, you can copy the folder [CHECKOUT_HOME]\c\deploy to [APACHE_HOME] and rename it to "Axis" and you will find some of the files that you are asked to create in this guide, already existing in that folder)<br>
  -<br>Axis<br>|__ lib (Copy [EXPAT_EXTRACT]\Libs\libexpat.dll or<br> &nbsp; &nbsp; [XERCES_EXTRACT]\bin\xerces-c_2_2_0.dll and paste it inside)<br>|__ logs (log files are located here)<br>|__ conf (server.wsdd file is located here)<br>|__ webservices (The place to put webservice dlls)<br>|__ wsdls (wsdl files of the deployed web services are located here)<br>
  -<br>2) Set an environment variable named AXISCPP_DEPLOY and give [APACHE_HOME]\Axis as the value.<br>
  -<br>i)You will find AxisServer.dll and APACHE_MODULE in [CHECKOUT_HOME]\c\bin directory.<br>ii)Copy APACHE_MODULE to [APACHE_HOME]\modules directory of your apache installation.<br>
  +<p>1) Create a directory structure called "Axis" inside [Apache_Folder] as follows.<br>(Instead, you can copy the folder [Checkout_Folder]\c\deploy to [Apache_Folder] and rename it to "Axis" and you will find some of the files that you are asked to create in this guide, already existing in that folder)<br>
  +<br>Axis<br>|__ lib (Copy [Expat_Folder]\Libs\libexpat.dll or<br> &nbsp; &nbsp; [Xerces_Folder]\bin\xerces-c_2_2_0.dll and paste it inside)<br>|__ logs (log files are located here)<br>|__ conf (server.wsdd file is located here)<br>|__ webservices (The place to put webservice dlls)<br>|__ wsdls (wsdl files of the deployed web services are located here)<br>
  +<br>2) Set an environment variable named AXISCPP_DEPLOY and give [Apache_Folder]\Axis as the value.<br>
  +<br>i)You will find AxisServer.dll and Apache_Module in [Checkout_Folder]\c\bin directory.<br>ii)Copy Apache_Module to [Apache_Folder]\modules directory of your apache installation.<br>
   </p>
   <p>Copy AxisServer.dll ,AxisTransport.dll and AxisXMLParser.dll to [AXISCPP_DEPLOY]\lib\ directory and add that directory to your PATH environment variable.Or to any location specified by your PATH environment variable.</p>
   <br>
   <br>
  -<p>3) Set the "PATH" environment variable to the following directories.<br>[APACHE_HOME]<br>[APACHE_HOME]\Axis\lib<br>
  -<br> 4) Include the following lines at the bottom of the apache configuration file [APACHE_HOME]\conf\httpd.conf<br>
  -<br>LoadModule axis_module modules/APACHE_MODULE<br>&lt;Location /axis&gt;<br>SetHandler axis<br>&lt;/Location&gt;<br>
  -<br>5) Create a file in [APACHE_HOME]\Axis named "axiscpp.conf" which should contain the following lines.<br>
  +<p>3) Set the "PATH" environment variable to the following directories.<br>[Apache_Folder]<br>[Apache_Folder]\Axis\lib<br>
  +<br> 4) Include the following lines at the bottom of the apache configuration file [Apache_Folder]\conf\httpd.conf<br>
  +<br>LoadModule axis_module modules/Apache_Module<br>&lt;Location /axis&gt;<br>SetHandler axis<br>&lt;/Location&gt;<br>
  +<br>5) Create a file in [Apache_Folder]\Axis named "axiscpp.conf" which should contain the following lines.<br>
   <br>LogPath:XXXX<br>WSDDFilePath:YYYY<br>Transport_http:ZZZZ (Not necessary)<br>XMLParser:WWWW<br>
   <br>XXXX is the path to a file named AxisLog (The log file)and YYYY is the path to the server.wsdd file.ZZZZ is the path to AxisTransport.dll if it's a HTTP(if the selected transport is SMTP then should give that path.)WWWW is the path to AxisXMLParser.dll<br>
  -<br>i.e.<br>LogPath:[APACHE_HOME]\Axis\logs\AxisLog.log<br>WSDDFilePath:[APACHE_HOME]\Axis\conf\server.wsdd<br>Transport_http:[APACHE_HOME]\Axis\lib\AxisTransport.dll<br>XMLParser:[APACHE_HOME]\Axis\lib\AxisXMLParser.dll</p>
  +<br>i.e.<br>LogPath:[Apache_Folder]\Axis\logs\AxisLog.log<br>WSDDFilePath:[Apache_Folder]\Axis\conf\server.wsdd<br>Transport_http:[Apache_Folder]\Axis\lib\AxisTransport.dll<br>XMLParser:[Apache_Folder]\Axis\lib\AxisXMLParser.dll</p>
   <p>
   <strong>Note:If the AxisTransport.dll and AxisXMLParser.dll paths are not given in axiscpp.conf then the hardcoded values will be used.For that set the path of these two in the PATH environment variable or copy them to the same location as the Client.exe.</strong>
   </p>
   <br>
   <br>
   <p>
  -<strong>Note: Make sure that if you are using Expat that libexpat.dll ([EXPAT_EXTRACT]\Libs\) file is pasted in %AXISCPP_DEPLOY%/lib/ and if you are using Xerces that xerces-c_2_2_0.dll ([XERCES_EXTRACT]\bin) is pasted in %AXISCPP_DEPLOY%/lib/</strong>
  +<strong>Note: Make sure that if you are using Expat that libexpat.dll ([Expat_Folder]\Libs\) file is pasted in %AXISCPP_DEPLOY%/lib/ and if you are using Xerces that xerces-c_2_2_0.dll ([Xerces_Folder]\bin) is pasted in %AXISCPP_DEPLOY%/lib/</strong>
   </p>
   <p>6) Select start-&gt;programs-&gt;Apache HTTP server-&gt;Control Apache Server-&gt;stop to stop the apache server<br>(This is because apache will be started automatically by the installation program)<br>
   <br>Open up a DOS terminal and give the command "apache -k start" to start apache (If Apache 2.0 server does not respond when started this way, try "apache -X").<br>open a browser and verify whether you can browse http://localhost/ (or give the machines ip as http://xxx.xxx.xxx.xxx/). If apache is running you will see the Apache start page in the browser.&nbsp;</p>
  @@ -503,7 +503,7 @@
   <p>In the checked out source code there is a "wsdl2ws" (i.e. wsdl-to-web services) written in java that generates server side Skeletons/wrappers and client side stubs using a given WSDL file. This Section describes how this is done.<br>To build and run the java tool this section uses the eclipse platform. For this documentation eclipse 2.1.0 was used and the jdk version used was j2sdk1.4.1_01. You will not be able to build the java tool with jdk versions below 1.4.0.<br>
   <br>1) Start the eclipse platform IDE.<br>Go to File-&gt;New-&gt;Project.<br>
   <br>Select java in the "New Project" dialog and click "Next".<br>
  -<br>In the "New" dialog that appears give a project Name (e.g. test). In the "New dialog" keep the "use default" Tick Box checked.<br>Note down the path in the "Directory" Text Box. This location will be referred to as [SKELSTUB_HOME] from this point onwards. Click "Next".<br>
  +<br>In the "New" dialog that appears give a project Name (e.g. test). In the "New dialog" keep the "use default" Tick Box checked.<br>Note down the path in the "Directory" Text Box. This location will be referred to as [Skelstub_Folder] from this point onwards. Click "Next".<br>
   <br>Another dialog named "New&rdquo; will appear. Select the &ldquo;Source&rdquo; tab. Select the project that you created (i.e. test).<br>Click on &ldquo;Add Folder&hellip;&rdquo;. In the &ldquo;Source Folder Selection&rdquo; dialog that appears select the project that you created (i.e. test) and click &ldquo;Create New Folder&hellip;&rdquo;. In the &ldquo;New Folder&rdquo; dialog that appears give a folder name as &ldquo;src&rdquo; and click &ldquo;OK&rdquo;. Click &ldquo;OK&rdquo; in the &ldquo;Source Folder Selection&rdquo; dialog. Click &ldquo;Yes&rdquo; on the confirmation message box that pops up.<br>
   <br>Click &ldquo;Libraries&rdquo; in the &ldquo;New&rdquo; dialog. Click &ldquo;Add External JARs&hellip;&rdquo;. In the &ldquo;JAR Selection&rdquo; dialog that appears browse to the location where the latest jars are and select the following JARs.<br>
   <br>
  @@ -512,10 +512,10 @@
   <br>axis.jar<br>commons-discovery.jar<br>commons-logging.jar<br>jaxrpc.jar<br>saaj.jar<br>wsdl4j.jar<br>xml-apis.jar<br>
   <br>Click &ldquo;Open&rdquo;.<br>
   <br>Click &ldquo;Finish&rdquo; on the &ldquo;New&rdquo; dialog.<br>
  -<br>2) Copy the &ldquo;org&rdquo; folder inside [CHECKOUT_HOME]\c\src\wsdl to [SKELSTUB_HOME]\src. The &ldquo;org&rdquo; folder contains the package structure for the WSDL2Ws java tool.<br>
  +<br>2) Copy the &ldquo;org&rdquo; folder inside [Checkout_Folder]\c\src\wsdl to [Skelstub_Folder]\src. The &ldquo;org&rdquo; folder contains the package structure for the WSDL2Ws java tool.<br>
   <br>3) Go to eclipse and right click on the &ldquo;Package Explorer&rdquo; window and click on &ldquo;Refresh&rdquo; in the popup menu that appears. Now you should be able to see the source that was copied, in the &ldquo;Package Explorer&rdquo; window. By now eclipse would have built the WSDL2Ws tool.<br>
  -<br>For this demonstration we will use a Calculator web service and the WSDL file the web service is located at [CHECKOUT_HOME]\c\samples\server\simple.<br>
  -<br>Copy the Calculator.wsdl to [SKELSTUB_HOME]<br>
  +<br>For this demonstration we will use a Calculator web service and the WSDL file the web service is located at [Checkout_Folder]\c\samples\server\simple.<br>
  +<br>Copy the Calculator.wsdl to [Skelstub_Folder]<br>
   <br>In eclipse go to &ldquo;Run-&gt;Run&hellip;&rdquo;.<br>In the Java Application item select the New_Configuration.Then select the &ldquo;Main&rdquo; tab. In &ldquo;Project&rdquo; text box give the name of the project you created (i.e. test).<br>In the &ldquo;Main Class&rdquo; text box give the class as &ldquo;org.apache.axis.wsdl.wsdl2ws.WSDL2Ws&rdquo;.<br>&nbsp;</p>
   <p>
   <img alt="" src="images/c/main_class.jpg"></p>
  @@ -527,8 +527,8 @@
   <p>
   <strong>NOTE: These are the arguments for the java tool WSDL2Ws. The usage of the WSDL2Ws is as follows.</strong>
   <br>Java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws &lt;wsdl file&gt; -o&lt;output directory&gt;<br>-l&lt;c|c++&gt; -s&lt;(server|client)&gt;.<br>Also note that there cannot be any spaces after a switch (i.e. -o, -l).<br>
  -<br>Click &ldquo;Run&rdquo;.<br>Now the Skeletons/Wrappers will be generated and you will see messages in the eclipse console displaying the generated files. The generated Skeletons/Wrappers will be created in a folder named [SKELSTUB_HOME]\ServerOut as given in the arguments when you run the tool.<br>
  -<br>Similarly to generate the client stubs use the following arguments in eclipse and run.<br>&ldquo;Calculator.wsdl -o./ClientOut -lc++ -sclient&rdquo;.<br>The generated Stubs will be created in a folder named [SKELSTUB_HOME]\ClientOut.<br>&nbsp;</p>
  +<br>Click &ldquo;Run&rdquo;.<br>Now the Skeletons/Wrappers will be generated and you will see messages in the eclipse console displaying the generated files. The generated Skeletons/Wrappers will be created in a folder named [Skelstub_Folder]\ServerOut as given in the arguments when you run the tool.<br>
  +<br>Similarly to generate the client stubs use the following arguments in eclipse and run.<br>&ldquo;Calculator.wsdl -o./ClientOut -lc++ -sclient&rdquo;.<br>The generated Stubs will be created in a folder named [Skelstub_Folder]\ClientOut.<br>&nbsp;</p>
   <p>
   <a name="commandline"></a>
   </p>
  @@ -540,21 +540,21 @@
   <br>
   <br>axis.jar<br>commons-discovery.jar<br>commons-logging.jar<br>jaxrpc.jar<br>saaj.jar<br>wsdl4j.jar<br>xml-apis.jar<br>
   <br>Open a command window.<br>
  -<br>Change directory to [CHECKOUT_HOME]\c\src\wsdl.<br>We will refer to this directory as [SKELSTUB_HOME] as we did during generating Skeletons/Wrappers and Stubs with eclipse.<br>
  +<br>Change directory to [Checkout_Folder]\c\src\wsdl.<br>We will refer to this directory as [Skelstub_Folder] as we did during generating Skeletons/Wrappers and Stubs with eclipse.<br>
   <br>Run the following command to build the java tool.<br>
   <strong>javac -sourcepath . org\apache\axis\wsdl\wsdl2ws\*.java</strong>
   <br>
   <br>
   <strong>NOTE: Notice the spaces between the "dot" after the -sourcepath switch</strong>
   <br>If the command finishes without any output then the java tool has been built.<br>
  -<br>Now copy the Calculator.wsdl file in [CHECKOUT_HOME]\c\samples\server\simple, which we use in this example to [SKELSTUB_HOME]<br>
  -<br>Now run the following command to generate the server side skeletons and wrappers in the same [SKELSTUB_HOME].<br>
  +<br>Now copy the Calculator.wsdl file in [Checkout_Folder]\c\samples\server\simple, which we use in this example to [Skelstub_Folder]<br>
  +<br>Now run the following command to generate the server side skeletons and wrappers in the same [Skelstub_Folder].<br>
   <br>Java -classpath .;%classpath% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ServerOut -lc++ -sserver<br>
   <br>Give the class path exactly the same order as given above.<br>
  -<br>If the tool is successful it will display the files it has generated. The skeletons and stubs will be generated in [SKELSTUB_HOME]\ServerOut.<br>
  +<br>If the tool is successful it will display the files it has generated. The skeletons and stubs will be generated in [Skelstub_Folder]\ServerOut.<br>
   <br>Run the following command to generate the client stubs.<br>
   <br>Java -classpath .;%classpath% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ClientOut -lc++ -sclient<br>
  -<br>The generated client stubs will be in [SKELSTUB_HOME]\ClientOut<br>
  +<br>The generated client stubs will be in [Skelstub_Folder]\ClientOut<br>
   </p>
   <p>
   <a name="builddeployws"></a>
  @@ -569,14 +569,14 @@
   <br>5) Select &ldquo;Win 32 Dynamic-Link Library&rdquo;.<br>
   <br>6) Give a project name (e.g. ws1), give a folder (say "deployws") as the "location" of the project, select the "create new workspace" radio button, and click &ldquo;OK&rdquo;.When this procedure is followed the "ws1" project files are created in a folder named "ws1" inside the "deployws" folder.<br>
   <br>7) In the dialog that appears select &ldquo;An empty DLL project&rdquo; click &ldquo;Finish&rdquo; and then &ldquo;OK&rdquo;.<br>
  -<br>8) Right click on the project that you created (i.e. ws1) and click &ldquo;Add Files to Project&hellip;&rdquo; on the menu that appears. In the &ldquo;Insert Files into Project&rdquo; dialog select the generated .cpp and .h files in [SKELSTUB_HOME]\ServerOut and click &ldquo;OK&rdquo;.<br>
  -<br>9) Right click on the project (i.e. ws1)again and click on &ldquo;Settings&hellip;&rdquo; on the menu that appears. Click the C/C++ tab and select &ldquo;Preprocessor&rdquo; from the &ldquo;Category&rdquo; Drop down list. Add Axis include directory [CHECKOUT_HOME]c\include\ to the project In the &ldquo;Additional include directories&rdquo;<br>
  +<br>8) Right click on the project that you created (i.e. ws1) and click &ldquo;Add Files to Project&hellip;&rdquo; on the menu that appears. In the &ldquo;Insert Files into Project&rdquo; dialog select the generated .cpp and .h files in [Skelstub_Folder]\ServerOut and click &ldquo;OK&rdquo;.<br>
  +<br>9) Right click on the project (i.e. ws1)again and click on &ldquo;Settings&hellip;&rdquo; on the menu that appears. Click the C/C++ tab and select &ldquo;Preprocessor&rdquo; from the &ldquo;Category&rdquo; Drop down list. Add Axis include directory [Checkout_Folder]c\include\ to the project In the &ldquo;Additional include directories&rdquo;<br>
   <br>10) Now add the business logic to the generated Skeletons. The Skeletons in this case are Calculator.h and Calculator.cpp<br>
   <br>11) We will implement two methods that are in Calculator.cpp as follows.<br>int Calculator::add(int Value0, int Value1)<br>{<br>return Value0+Value1; //business logic<br>}<br>int Calculator::subtract(int Value0, int Value1)<br>{<br>return Value0-Value1; //business logic<br>}<br>
   <br>12) Right click on the project (i.e. ws1) and click &ldquo;Build&rdquo; on the menu that appears. Visual C++ should be able to build the project without any errors now.<br>
   <br>13) The ws1.dll will be built in "ws1\Debug" by Visual C++<br>
  -<br>14) Place the built ws1.dll file in [APACHE_HOME]\Axis\webservices<br>
  -<br>15) In addition to this create server.wsdd file in [APACHE_HOME]\Axis\conf<br>
  +<br>14) Place the built ws1.dll file in [Apache_Folder]\Axis\webservices<br>
  +<br>15) In addition to this create server.wsdd file in [Apache_Folder]\Axis\conf<br>
   <br>The server.wsdd file for this example is given below</p>
   <pre>&lt;deployment&gt;
   &lt;service name="Calculator"&gt;
  @@ -585,7 +585,7 @@
   &lt;parameter name="allowedMethods" value="subtract add "/&gt;
   &lt;/service&gt;
   &lt;/deployment&gt;</pre>
  -<p>In this file [APACHE_HOME] has to be replaced with the actual value of [APACHE_HOME] (i.e. In this case "C:\Program Files\Apache Group\Apache" for apache 1.3.x and "C:\Program Files\Apache Group\Apache2" for apache 2.x)<br>
  +<p>In this file [Apache_Folder] has to be replaced with the actual value of [Apache_Folder] (i.e. In this case "C:\Program Files\Apache Group\Apache" for apache 1.3.x and "C:\Program Files\Apache Group\Apache2" for apache 2.x)<br>
   <br>
   <strong>Description of the server.wsdd file</strong>
   <br>
  @@ -617,10 +617,10 @@
   <br>6) Give a project name (e.g. calclient) and click &ldquo;OK&rdquo;. Give a project name (e.g. calclient), give a folder ( For e.g: "wsclient") as the "location" of the project, select the "create new workspace" radio button, and click &ldquo;OK&rdquo;.When this procedure is followed the "calclient" project files are created in a folder named "calclient" inside the "wsclient" folder.<br>
   </p>
   <p>7) In the dialog that appears select &ldquo;An empty project&rdquo; click &ldquo;Finish&rdquo; and then &ldquo;OK&rdquo;.<br>
  -<br>8) Right click on the project that you created (i.e. ws1) and click &ldquo;Add Files to Project&hellip;&rdquo; on the menu that appears.Then Add the generated .cpp and .h files from the [SKELSTUB_HOME]\ClientOut to the project and click &ldquo;OK&rdquo;.<br>
  -<br>9) Right click on the project (i.e. calclient) again and click on &ldquo;Settings&hellip;&rdquo; on the menu that appears. Click the &ldquo;C/C++&rdquo; tab and select &ldquo;Preprocessor&rdquo; from the &ldquo;Category&rdquo; Drop down list.<br>In the &ldquo;Additional include directories&rdquo; give [CHECKOUT_HOME]c\include as the include path.<br>
  +<br>8) Right click on the project that you created (i.e. ws1) and click &ldquo;Add Files to Project&hellip;&rdquo; on the menu that appears.Then Add the generated .cpp and .h files from the [Skelstub_Folder]\ClientOut to the project and click &ldquo;OK&rdquo;.<br>
  +<br>9) Right click on the project (i.e. calclient) again and click on &ldquo;Settings&hellip;&rdquo; on the menu that appears. Click the &ldquo;C/C++&rdquo; tab and select &ldquo;Preprocessor&rdquo; from the &ldquo;Category&rdquo; Drop down list.<br>In the &ldquo;Additional include directories&rdquo; give [Checkout_Folder]c\include as the include path.<br>
   </p>
  -<p>10) Click the &ldquo;Link&rdquo; tab and select &ldquo;Input&rdquo; from the &ldquo;Category&rdquo; Drop down list.<br>Add AxisClient.lib to the &ldquo;Object/library modules&rdquo; and in the &ldquo;Additional library path&rdquo; give the path. AxisClient.lib can be found in [CHECKOUT_HOME]\c\bin once you build the AxisClient,AxisTransport,AxisXMLParserXerces or AxisXMLParserExpat projects of the "Distribution" VC workspace.<br>
  +<p>10) Click the &ldquo;Link&rdquo; tab and select &ldquo;Input&rdquo; from the &ldquo;Category&rdquo; Drop down list.<br>Add AxisClient.lib to the &ldquo;Object/library modules&rdquo; and in the &ldquo;Additional library path&rdquo; give the path. AxisClient.lib can be found in [Checkout_Folder]\c\bin once you build the AxisClient,AxisTransport,AxisXMLParserXerces or AxisXMLParserExpat projects of the "Distribution" VC workspace.<br>
   <br>&nbsp;</p>
   <p>Now the client should be coded. Basically this will be a main method. We will write the main method in the file Calculator.cpp of the VC project "calclient". This is the stub generated by the java tool in the stub generation step.<br>
   <br>Add the following main method to Calculator.cpp<br>
  @@ -645,11 +645,11 @@
   <h4>Building and deploying the provided samples of interop web services</h4>
   </div>
   <p>
  -<br>1) Open the Visual C++ workspace (interoptests.dsw) at [CHECKOUT_HOME]\c\vc\samples\server\interoptests\ and do a batch build of all projects.<br>
  -<br>2) You will find the built dynamic libraries at [CHECKOUT_HOME]\c\bin directory. Following are the built DLLs.<br>
  +<br>1) Open the Visual C++ workspace (interoptests.dsw) at [Checkout_Folder]\c\vc\samples\server\interoptests\ and do a batch build of all projects.<br>
  +<br>2) You will find the built dynamic libraries at [Checkout_Folder]\c\bin directory. Following are the built DLLs.<br>
   <br>base.dll<br>cbase.dll<br>cGroupB.dll<br>doclitbase.dll<br>doclitgroupB.dll<br>groupB.dll<br>
  -<br>3) Copy these dlls to [APACHE_HOME]\Axis\webservices<br>
  -<br>4) Add the required entries to the server.wsdd file in [APACHE_HOME]\Axis\conf to deploy these interop services. You can find the required entries in the [CHECKOUT_HOME]\c\deploy\conf\server.wsdd_win file. You will need to modify the "value" of the "classname" parameter of each service to point to the relevant web service dll given above in [APACHE_HOME]\Axis\webservices.</p>
  +<br>3) Copy these dlls to [Apache_Folder]\Axis\webservices<br>
  +<br>4) Add the required entries to the server.wsdd file in [Apache_Folder]\Axis\conf to deploy these interop services. You can find the required entries in the [Checkout_Folder]\c\deploy\conf\server.wsdd_win file. You will need to modify the "value" of the "classname" parameter of each service to point to the relevant web service dll given above in [Apache_Folder]\Axis\webservices.</p>
   <p>
   <a name="providedclients"></a>
   </p>
  @@ -657,9 +657,9 @@
   <h4>Building and running the provided interop client applications</h4>
   </div>
   <p>
  -<br>1) Open the Visual C++ workspace (interoptests.dsw) at [CHECKOUT_HOME]\c\vc\samples\client\interoptests\ and do a batch build of all projects.<br>
  -<br>2) You need to build the AxisClient project in the "Distribution" workspace at [CHECKOUT_HOME]\c\vc\, because you need the AxisClient.lib to compile client applications and AxisClient.dll to run them.<br>
  -<br>3) You will find the built console applications and AxisClient.dll at [CHECKOUT_HOME]\c\bin directory. Following are the built .exe files.<br>
  +<br>1) Open the Visual C++ workspace (interoptests.dsw) at [Checkout_Folder]\c\vc\samples\client\interoptests\ and do a batch build of all projects.<br>
  +<br>2) You need to build the AxisClient project in the "Distribution" workspace at [Checkout_Folder]\c\vc\, because you need the AxisClient.lib to compile client applications and AxisClient.dll to run them.<br>
  +<br>3) You will find the built console applications and AxisClient.dll at [Checkout_Folder]\c\bin directory. Following are the built .exe files.<br>
   <br> base.exe<br> cbase.exe<br> cgroupB.exe<br> doclitbase.exe<br> doclitgroupB.exe<br> groupB.exe<br>
   <br>4) In order to run these samples you should have AxisClient.dll in the PATH environment variable or in the same directory where the .exe is.</p>
   <p>
  
  
  

Mime
View raw message