roshan      2004/07/08 04:10:43

  Modified:    targets/axis/cpp winuser-guide.pdf winuser-guide.html
                        wininstall-guide.pdf wininstall-guide.html
                        windev-guide.html
  Log:
  Did some minor changes to the win Dev , User and Intstallation Guides.Changed by 
Rangika
  
  Revision  Changes    Path
  1.19      +56 -56    ws-site/targets/axis/cpp/winuser-guide.pdf
  
        <<Binary file>>
  
  
  1.20      +3 -3      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.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- winuser-guide.html        6 Jul 2004 05:28:06 -0000       1.19
  +++ winuser-guide.html        8 Jul 2004 11:10:42 -0000       1.20
  @@ -309,7 +309,7 @@
   <br>
   <br>This method assumes that the user has written the wsdl of the service which he 
needs to deploy. In this method user will start with this wsdl and the tool will 
generate the web service skeleton and other required files.<br>
   <br>1) There is a folder called "simple" inside the samples/server folder in your 
axiscpp binary distribution. Inside this you can find the relevant wsdl for the 
calculator sample. Get the wsdl (eg:<a 
href="../sample/server/simple/Calculator.wsdl">Calculator.wsdl</a>)<br>
  -<br>2) Run the WSDL2WS tool (refer the section below 'How to use the WSDL2WS tool 
on the command line') and generate the server side skeletons and wrappers. These files 
will be in two new folders which are generated from the tool called 'ServerOut' and 
'ClientOut'.<br>
  +<br>2) Run the WSDL2WS tool (refer the section below 'to use the WSDL2WS tool on 
the command line') and generate the server side skeletons and wrappers. These files 
will be in two new folders which are generated from the tool called 'ServerOut' and 
'ClientOut'.<br>
   <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>
  @@ -348,7 +348,7 @@
   </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 that is for 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")<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>
  @@ -412,7 +412,7 @@
   <strong>Axiscpp.conf file contains the following paths</strong>
   <br>
   <br>LogPath:XXXX<br>WSDDFilePath:YYYY<br>Transport_http:ZZZZ (Not 
necessary)<br>XMLParser:WWWW<br>
  -<br>Where XXXX will be the path to a file named AxisLog (The log file)and YYYY will 
be the path to the server.wsdd file.<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>
   </p>
   <p>
  
  
  
  1.9       +146 -152  ws-site/targets/axis/cpp/wininstall-guide.pdf
  
        <<Binary file>>
  
  
  1.12      +36 -26    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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- wininstall-guide.html     16 Jun 2004 05:58:18 -0000      1.11
  +++ wininstall-guide.html     8 Jul 2004 11:10:42 -0000       1.12
  @@ -172,7 +172,7 @@
   </div>
     
   <div class="menuItem">
  -<a href="../cpp/documentation.html">Documenation</a>
  +<a href="../cpp/documentation.html">Documentation</a>
   </div>
     
   <div class="menuItem">
  @@ -294,9 +294,9 @@
   </div>
   <p>1. The binary distribution contains the following folders<br> -&gt; bin<br>-&gt; 
deploy<br>-&gt; docs<br>-&gt; include<br>-&gt; lib<br>-&gt; samples<br>
   <br>2.The folder &ldquo;bin&rdquo; contains sample clients and other dlls needed to 
run the Axis c++ server<br>
  -<br> 3.Inside the "deploy" folder following sub folders exists<br> -&gt; conf (This 
includes the server.wsdd, which is the deployment descriptor used for deploying 
services.)<br>-&gt; handlers (This includes sample handler dlls)<br>-&gt; libs 
(Contains dlls which are needed by axis.)<br>-&gt; logs (Directory for logs)<br>-&gt; 
webservices (Contains sample web services that can be deployed with Axis C++)<br>-&gt; 
wsdls (Contains sample wsdls)<br>
  +<br> 3.Inside the "deploy" folder following sub folders exist<br> -&gt; conf (This 
includes the server.wsdd, which is the deployment descriptor used for deploying 
services.)<br>-&gt; handlers (This includes sample handler dlls)<br>-&gt; libs 
(Contains dlls which are needed by axis.)<br>-&gt; logs (Directory for logs)<br>-&gt; 
webservices (Contains sample web services that can be deployed with Axis C++)<br>-&gt; 
wsdls (Contains sample wsdls)<br>
   <br>4. The "include" folder contains all the include files which are necessary for 
building Axis c++ clients.<br>
  -<br> 5. "lib" folder contains jars needed to use the wsdl2ws tool.<br>
  +<br> 5. "lib" folder contains jars which are needed to use the wsdl2ws tool.<br>
   <br> 6. "samples" folder contains sources for all the server and client samples 
including interop tests.</p>
   <p>
   <a name="#apache"></a>
  @@ -305,48 +305,55 @@
   <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 this is "C:\Program Files\Apache Group\Apache" for apache 1.3.X 
and "C:\Program Files\Apache Group\Apache2" for apache 2.X). Lets say this folder to 
be APACHE_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 you have 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 to be 
AXIS_FOLDER.<br>
   <br> 5. Set environment variable AXIS_HOME to point to above folder.<br>
   <br> 6. Add AXIS_FOLDER/libs to the PATH environment variable.<br>
  -<br> 7. Edit Apache configuration file httpd.conf located in APACHE_FOLDER/conf and 
add following lines at the end.<br>
  +<br> 7. Edit Apache configuration file httpd.conf which is located at 
APACHE_FOLDER/conf and add following lines at the end.<br>
   <br>LoadModule axis_module modules/AXISMODULE<br>&lt;Location&gt;<br>SetHandler 
axis<br>&lt;Location&gt;<br>
  -<br> Where AXISMODULE is either mod_axis.dll for apache 1.3.X or mod_axis2.dll for 
apache 2.X.<br>
  +<br> For apache 1.3.X the AXISMODULE is mod_axis.dll for apache 2.X. the AXISMODULE 
is mod_axis2.dll<br>
   <br> 8. Copy AXISMODULE from the AXIS_EXTRACT/bin folder to APACHE_FOLDER/modules 
folder.<br>
   <br> 9. Copy AxisServer.dll from the AXIS_EXTRACT/bin folder to AXIS_FOLDER/libs<br>
  -<br> 10.If you want to use the Expat parser with Axis C++ Rename 
AxisXMLParser_Expat.dll from AXIS_EXTRACT/bin folder to AxisXMLParser.dll and copy it 
to AXIS_FOLDER/libs<br>
  +<br> 10. If you want to use the Expat parser with Axis C++, rename 
AxisXMLParser_Expat.dll which is at AXIS_EXTRACT/bin folder to AxisXMLParser.dll and 
copy it to AXIS_FOLDER/libs<br>
  +<br> 11. If you want to use the Xerces parser with Axis C++, rename 
AxisXMLParser_Xerces.dll which is at AXIS_EXTRACT/bin folder to AxisXMLParser.dll and 
copy it to AXIS_FOLDER/libs</p>
  +<br>
   <br>
  -</p>
   <p>
   <strong>Installing the Expat XML parser</strong>
   </p>
   <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>Extract the Expat binaries to a folder Called Expat ,we will refer this folder 
as [EXPAT_EXTRACT].<br>Copy libexpat.dll file from [EXPAT_EXTRACT]\Libs to 
[AXIS_HOME]/libs/<br>
  -<br>If you want to use the Xerces parser with Axis C++ Rename 
AxisXMLParser_Xerces.dll from AXIS_EXTRACT/bin folder to AxisXMLParser.dll and copy it 
to AXIS_FOLDER/libs</p>
  +<br>Extract the Expat binaries to a folder Called Expat ,we will refer to this 
folder as [EXPAT_EXTRACT].<br>Copy libexpat.dll file from [EXPAT_EXTRACT]\Libs to 
[AXIS_HOME]/libs/<br>
  +<br>
  +<br>
  +</p>
   <p>
   <strong>Installing the Xerces XML parser</strong>
  -<br> If you decide 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 this folder as 
[XERCES_EXTRACT]. Copy xerces-c_2_2_0.dll from [XERCES_EXTRACT]/bin/ to 
[AXIS_HOME]/libs/<br>
  +<br>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> 11. Open the AXIS_FOLDER/axiscpp.conf_win for editing. The contents of the 
file will look as follows.<br>
  +<br>Extract the Xerces-C 2.2.0 binary version. We will refer to this folder as 
[XERCES_EXTRACT]. Copy xerces-c_2_2_0.dll from [XERCES_EXTRACT]/bin/ to 
[AXIS_HOME]/libs/<br>
  +<br>
  +<br> 12. Open the AXIS_FOLDER/axiscpp.conf_win for editing.The contents of the file 
will look like the following<br>
   <br> LogPath:XXXX<br>WSDDFilePath:YYYY<br>
  -<br>Where XXXX will be the path to a file named AxisLog (The log file)and YYYY will 
be the path to the server.wsdd file. Give the appropriate values for XXXX and YYYY as 
follows.<br>
  +<br>XXXX is the path to AxisLog (The log file)and YYYY is the path to the 
server.wsdd file. Give the appropriate values for XXXX and YYYY as follows.<br>
   <br> i.e.<br>
   <br> LogPath: [APACHE_HOME]\Axis\logs\AxisLog<br>WSDDFilePath: 
[APACHE_HOME]\Axis\conf\WSDDFILE<br>
  -<br>Where WSDDFILE is [APACHE_HOME]\Axis\conf\server.wsdd for Apache 1.3 and Apache 
2. (There will be three wsdd files in the [APACHE_HOME]\Axis\conf\ rename the relevant 
wsdd file for your platform to server.wsdd).<br> Also in order to run the samples 
provided do the following.<br>Open server.wsdd for editing. For each service element, 
locate the element "parameter", having the value "classname" for the "name" attribute. 
Change the value of the "value" attribute, to have the absolute path to the indicated 
webservice.dll in that value.<br>
  +<br>WSDDFILE is [APACHE_HOME]\Axis\conf\server.wsdd 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> Also in order to run the provided samples do the following.<br>Open 
server.wsdd for editing. For each service element, locate the element "parameter", 
which has the value "classname" for the "name" attribute. Change the value of the 
"value" attribute, to have the absolute path to the indicated webservice.dll in that 
value.<br>
   <br> Rename AXIS_FOLDER/axiscpp.conf_win to AXIS_FOLDER/axiscpp.conf<br>
  -<br> 12. Restart the apache web server. If you have done correctly apache server 
should start without giving any error.</p>
  +<br> 13. Restart the apache web server. If you have done correctly apache server 
will start without giving any error.</p>
   <br>
   <p>
   <strong>apache 1.3.X :</strong>
  -<br>It is recommended that apache 1.3.X be started as "apache -k start" on the 
command line<br>
  +<br>
  +<br>It is recommended that apache 1.3.X should be started as "apache -k start" on 
the command line<br>
   <br> 
   <strong>apache 2.X :</strong>
  +<br>
   <br>While testing the apache 2 module a problem was noted with the apache 2 web 
server, in that the webserver takes up about 98% of CPU time and the server does not 
even serve the startup page. The workaround for this is to start the apache web server 
as "apache -X" to make it run single threaded. While this is sufficient to test the 
apache 2 module this problem needs to be investigated further.<br>
  -<br> 10. Open a internet browser and check http://localhost/axis. If the module has 
loaded properly then you should get the axis welcome page with a listing of deployed 
web services.<br>
  +<br> 14. Open an internet browser and check http://localhost/axis. If the module 
has loaded properly then you should get the axis welcome page with a listing of 
deployed web services.<br>
   <br>
   </p>
   <p>
  @@ -357,24 +364,26 @@
   </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 axis-c-1.1-win32.zip to a folder of your choice. Say this folder 
AXIS_EXTRACT.<br>
  +<br>2. Unzip axis-c-1.1-win32.zip to a folder of your choice. Say this folder is 
AXIS_EXTRACT.<br>
   <br>3.Inside the extracted folder AXIS_EXTRACT you have a sub folder called deploy. 
Copy whole deploy folder to SIMPLE_AXIS_SERVER_FOLDER.<br>
  -<br>4. Rename copied "deploy" folder to "Axis". Lets say this folder to be 
AXIS_FOLDER.<br>
  +<br>4. Rename copied "deploy" folder to "Axis". Lets say this folder is 
AXIS_FOLDER.<br>
   <br>5. Set environment variable AXIS_HOME to point to above folder.<br>
   <br>6. Copy the exe SimpleAxisServer.exe from AXIS_EXTRACT/bin to the 
SIMPLE_AXIS_SERVER_FOLDER.<br>
   <br>7. Copy the content of AXIS_FOLDER/libs to the SIMPLE_AXIS_SERVER_FOLDER.<br>
  -<br>8. Start the SimpleAxisServer by providing the port to which operate. (eg: 
c:\SimpleAxisServer&gt;SimpleAxisServer 80)</p>
  +<br>8. Start the SimpleAxisServer by providing the port to which it should operate. 
(eg: c:\SimpleAxisServer&gt;SimpleAxisServer 80)</p>
   <p>
   <a name="#samples"></a>
   </p>
   <div class="h3">
   <h3>Running Provided Samples</h3>
   </div>
  -<p>If Axis installation is a complete success, following sample web services and 
handlers have already been installed successfully.<br>
  +<p>If Axis installation is a complete success, then the following sample web 
services and handlers would have already been installed successfully.<br>
   <br> You will find the built console applications at AXIS/c/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<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 sever 
and clients are working fine. To run this sample client applications you need to have 
the path to libexapt.dll in the "PATH" environment variable or libexapt.dll should be 
placed where the apache.exe is. Note: These sample clients are compiled with 
assumption that server is running at localhost port 80.<br>
  +<br> You can run the provided client programs to confirm whether the Axis cpp 
server and clients are working fine. To run this sample client applications you need 
to have the path to libexapt.dll in the "PATH" environment variable or libexapt.dll 
should be placed where the apache.exe is.<br> 
  +<strong>Note: These sample clients are compiled with the assumption that server is 
running at localhost port 80.</strong>
  +<br>
   <br>
   </p>
   <p>
  @@ -383,7 +392,8 @@
   <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. If you are using 
Visual C++ you can open the workspace file for client applications 
AXIS_EXTRACT\c\samples\client\interoptests\interoptests.dsw and For Deployable 
webservices, AXIS_EXTRACT\c\samples\server\interoptests\interoptests.dsw and play with 
them. There are seven projects in the workspace.<br>
  +<p>In your AXIS_EXTRACT/samples folder you have the samples. If you are using 
Visual C++ you can open the workspace file for client applications which is located at 
AXIS_EXTRACT\c\samples\client\interoptests\interoptests.dsw.<br>
  +<br> You can open Deployable webservices which are at 
AXIS_EXTRACT\c\samples\server\interoptests\interoptests.dsw and play with them. There 
are seven projects in the workspace.<br>
   <br>
   </p>
   <p>
  @@ -392,7 +402,7 @@
   <div class="h3">
   <h3>Writing your web services and client applications using Axis C++.</h3>
   </div>
  -<p>For writing your own web services and client applications see the <a 
href="winuser-guide.html"><strong>Windows User Guide</strong></a>
  +<p>To write your own web services and client applications see the <a 
href="winuser-guide.html"><strong>Windows User Guide</strong></a>
   </p>
   <div id="pdf" align="right">
   <a href="wininstall-guide.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" 
class="skin"><br>
  @@ -416,7 +426,7 @@
   <td colspan="2">
   <div align="center">
   <div class="copyright">
  -              Copyright &copy; 2000-2003&nbsp;The Apache Software Foundation. All 
rights reserved.
  +              Copyright &copy; 2000-2004&nbsp;The Apache Software Foundation. All 
rights reserved.
               </div>
   </div>
   </td>
  
  
  
  1.16      +14 -13    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.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- windev-guide.html 7 Jul 2004 09:19:25 -0000       1.15
  +++ windev-guide.html 8 Jul 2004 11:10:42 -0000       1.16
  @@ -330,7 +330,7 @@
   <br>password: anoncvs<br>
   <br>Now enter the following cvs command to checkout the axis Repository.<br>cvs -d 
:pserver:[EMAIL PROTECTED]:/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 as [CHECKOUT_HOME] from this 
point on.<br>
  +<br>The checked out folder ws-axis will be referred to as [CHECKOUT_HOME] from this 
point on.<br>
   </p>
   <p>
   <a name="getapacheexpat"></a>
  @@ -361,19 +361,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 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_EXTRACT] 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 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_EXTRACT] 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 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_HOME] from this point 
onwards.</p>
   <p>
   <br>
   </p>
  @@ -447,7 +447,7 @@
   </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>|__ libs (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 (The directory for the wsdl files of 
the deployed web services)<br>
  +<br>Axis<br>|__ libs (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 AXIS_HOME 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>
  @@ -459,7 +459,7 @@
   <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>
   <br>LogPath:XXXX<br>WSDDFilePath:YYYY<br>Transport_http:ZZZZ (Not 
necessary)<br>XMLParser:WWWW<br>
  -<br>Where XXXX will be the path to a file named AxisLog (The log file)and YYYY will 
be the path to the server.wsdd file.ZZZZ will be the path to AxisTransport.dll if it's 
a HTTP(if the selected transport is SMTP then should give that path.WWWW will be the 
path to AxisXMLParser.dll<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\libs\AxisTransport.dll<br>XMLParser:[APACHE_HOME]\Axis\libs\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>
  @@ -488,7 +488,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 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_HOME] 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 [CHECKOUT_HOME]\ lib\axisjava and select the following JARs.<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>
  @@ -517,7 +517,7 @@
   <div class="h2">
   <h2>Building and running WSDL2Ws on the command line</h2>
   </div>
  -<p>For building WSDL2Ws java tool on the command line you require jdk1.4 or 
above.<br>
  +<p>To build the WSDL2Ws java tool on the command line you require jdk1.4 or 
above.<br>
   <br>To build WSDL2Ws java tool set the CLASSPATH Environment Variable to point to 
the following jar files.Create a New Folder called wsdl2wsTool\lib and put the above 
mentioned jars in it. You can find these jars in [CHECKOUT_HOME]\lib\axisjava.<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>
  @@ -532,7 +532,7 @@
   <br>Now run the following command to generate the server side skeletons and 
wrappers in the same [SKELSTUB_HOME].<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 the tool 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_HOME]\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>
  @@ -571,10 +571,10 @@
   <strong>Description of the server.wsdd file</strong>
   <br>
   <br>The service element specifies the service name.<br>&lt;service 
name="Calculator"&gt;<br>
  -<br>In this parameter element we specify the parameter className and it&rsquo;s 
value, the location of the webservice dll.<br>&lt;parameter name="className" 
value="C:\Program Files\Apache Group\Apache\Axis\webservices\ws1.dll"/&gt;<br>
  -<br>In this parameter element we specify the parameter allowedMethods and its 
value, the methods exposed by the web service (i.e. subtract and add).<br>
  +<br>In this parameter element we specify the parameter className and for it&rsquo;s 
value we specify the location of the webservice dll.<br>&lt;parameter name="className" 
value="C:\Program Files\Apache Group\Apache\Axis\webservices\ws1.dll"/&gt;<br>
  +<br>In this parameter element we specify the parameter allowedMethods and for its 
value we specify the methods exposed by the web service (i.e. subtract and add).<br>
   <br>
  -<strong>Note: A trailing space should be put after every allowed method.</strong>
  +<strong>Note: A trailing space should be inserted after every allowed 
method.</strong>
   <br>&lt;parameter name="allowedMethods" value="subtract add "/&gt;<br>
   <br>16) Now start the Apache web server by typing &ldquo;apache -k start&rdquo;. If 
the Apache server is running type &ldquo;apache -k restart&rdquo;<br>
   <br>17) Now type http://localhost/axis/ in a browser and you will see the 
&ldquo;Welcome to Axis C++&rdquo; page with a listing of deployed services and 
Calculator service .<br>&nbsp;</p>
  @@ -640,7 +640,8 @@
   <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. base.exe<br> 
cbase.exe<br> cgroupB.exe<br> doclitbase.exe<br> doclitgroupB.exe<br> groupB.exe<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> 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>
   <a name="transport"></a>
  
  
  

Reply via email to