roshan      2004/07/05 02:28:39

  Modified:    targets/axis/cpp windev-guide.html
  Log:
  Made the Windows Developers Guide more user friendly.Changed by Rangika
  
  Revision  Changes    Path
  1.14      +56 -22    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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- windev-guide.html 1 Jul 2004 10:34:18 -0000       1.13
  +++ windev-guide.html 5 Jul 2004 09:28:39 -0000       1.14
  @@ -348,6 +348,7 @@
   <p>
   <strong>Apache Web Server</strong>
   </p>
  +<br>
   <p>Download the Apache web server from www.apache.org. Currently Axis supports 
apache 1.3.x and 2.X. This documentation was tested with Apache 1.3.28 and Apache 
2.0.44.</p>
   <p>
   <a name="installapacheexpat"></a>
  @@ -376,39 +377,48 @@
   <div class="h4">
   <h4>Setting up the build environment and building Axis</h4>
   </div>
  -<p>1)Copy [EXPAT_EXTRACT]\source\lib\expat.h from expat binary distribution to 
[CHECKOUT_HOME]\c\include\expat\ directory<br>
  +<br>
  +<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>3)Copy libexpat.dll file from [EXPAT_EXTRACT]\Libs to %AXIS_HOME%/libs/</p>
  +<p>3) Copy libexpat.dll file from [EXPAT_EXTRACT]\Libs to %AXIS_HOME%/libs/<br>
  +</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>
  +<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>
  +<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>
  +<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>
  +<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>
  +<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 on 
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>
  +<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>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>
   <p>
   <strong>Axis Transport Library</strong>
   </p>
   <p>In VC++ distribution workspace build AxisTransport project.Then 
AxisTransport.dll will be built.</p>
  +<br>
   <p>
   <strong>Xerces Parser Library and Expat Parser Library</strong>
   </p>
   <p>In VC++ distribution workspace build either AxisXMLParserXerces project or 
AxisXMLParserExpat project. Then AxisXMLParser.dll will be built.</p>
  +<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>
  @@ -419,18 +429,19 @@
   <div class="h4">
   <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>|__ libs ( Copy [EXPAT_EXTRACT]\Libs\libexpat.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>2)Set an environment variable named AXIS_HOME and give [APACHE_HOME]\Axis as 
the value.<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>
   <p>Copy AxisServer.dll ,AxisTransport.dll and AxisXMLParser.dll to 
[AXIS_HOME]\libs\ directory and add that directory to your PATH environment 
variable.Or to any location specified by your PATH environment variable.</p>
   <br>
   <br>
  -<p>2) Set the "PATH" environment variable to the following 
directories.<br>[APACHE_HOME]<br>[APACHE_HOME]\Axis\libs<br>
  -<br> 3)Include the following lines at the bottom of the apache configuration file 
[APACHE_HOME]\conf\httpd.conf<br>
  +<p>3) Set the "PATH" environment variable to the following 
directories.<br>[APACHE_HOME]<br>[APACHE_HOME]\Axis\libs<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>4)create a file in [APACHE_HOME]\Axis named "axiscpp.conf" which should contain 
the following lines.<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>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>
  @@ -438,7 +449,7 @@
   <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>
  -<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>
  +<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>
   <p>
   <a name="deploywebservice"></a>
  @@ -459,7 +470,7 @@
   <h2>Using eclipse to build and run WSDL2Ws</h2>
   </div>
   <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>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>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>
  @@ -479,7 +490,9 @@
   <p>&ldquo;Calculator.wsdl -o./ServerOut -lc++ -sserver&rdquo;.</p>
   <p>
   <img alt="" src="images/c/argument.jpg"></p>
  -<p>NOTE: These are the arguments for the java tool WSDL2Ws. The usage of the 
WSDL2Ws is as follows.<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>
  +<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>
   <p>
  @@ -491,13 +504,18 @@
   <p>For building 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>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>Run the following command to build the 
java tool.<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>Run the following command to build the java tool.<br>
   <strong>javac -sourcepath . org\apache\axis\wsdl\wsdl2ws\WSDL2Ws*.java</strong>
  -<br>NOTE: Notice the spaces between the "dot" after the -sourcepath switch<br>If 
the command finishes without any output then the java tool has been built.<br>
  +<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>Java -classpath .;%classpath% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws 
Calculator.wsdl -o./ServerOut -lc++ -sserver<br>
  -<br>Give the class path exactly in the same order as given above.<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>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>
  @@ -518,7 +536,7 @@
   <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>10)Now add the business logic to the generated Skeletons. The Skeletons in this 
case are Calculator.h and Calculator.cpp<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>
  @@ -539,6 +557,7 @@
   <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>
   <strong>Note: A trailing space should be put 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>
  @@ -555,9 +574,16 @@
   <div class="h4">
   <h4>Coding and Running the client</h4>
   </div>
  -<p>1) If you have followed the above instructions you would have been able to 
generate the Server side Skeletons and Wrappers for the Calculator.wsdl.<br> 2) Start 
Visual C++.<br>3) Go to File-&gt;New&hellip;<br>4) Select the &ldquo;Projects&rdquo; 
tab<br>5) Select &ldquo;Win 32 Console Application&rdquo;<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>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>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>
  +<p>1) If you have followed the above instructions you would have been able to 
generate the Server side Skeletons and Wrappers for the Calculator.wsdl.<br>
  +<br> 2) Start Visual C++.<br>
  +<br>3) Go to File-&gt;New&hellip;<br>
  +<br>4) Select the &ldquo;Projects&rdquo; tab<br>
  +<br>5) Select &ldquo;Win 32 Console Application&rdquo;<br>
  +<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>
   </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>
   <br>&nbsp;</p>
  @@ -575,7 +601,8 @@
   <p>Right click on the project and click &ldquo;Build&rdquo; on the menu that 
appears.</p>
   <p>When the XMLParser is running these steps would occur.<br>1. Locate Parser 
dll.<br>2. Create Parser instance by CreateInstance() method.<br>3. Give the stream to 
parser by setInputStream() method.<br>4. Call next() method multiple times.<br>5. 
getStatus() to see if the streams are properly passed.<br>6. Destroy parser object by 
DestroyInstance().<br>
   </p>
  -<p>If Visual C++ complains about missing libs go to Build-&gt;Rebuild All (Please 
make sure that the apache server is stopped). Now the client exe is built.<br> Start 
the Apache server by typing apache -k start and run the exe from Visual C++ by going 
to Build-&gt;Execute calclient.exe. If all goes well, now you would see the SOAP 
Request, SOAP Response and the result printed by calclient.exe.</p>
  +<p>If Visual C++ complains about missing libs go to Build-&gt;Rebuild All (Please 
make sure that the apache server is stopped). Now the client exe is built.<br>
  +<br> Start the Apache server by typing apache -k start and run the exe from Visual 
C++ by going to Build-&gt;Execute calclient.exe. If all goes well, now you would see 
the SOAP Request, SOAP Response and the result printed by calclient.exe.</p>
   <p>
   <a name="providedservices"></a>
   </p>
  @@ -583,7 +610,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>2) You will find the built dynamic libraries at [CHECKOUT_HOME]\c\bin 
directory. Following are the built 
DLLs.<br>base.dll<br>cbase.dll<br>cGroupB.dll<br>doclitbase.dll<br>doclitgroupB.dll<br>groupB.dll<br>3)copy
 these dlls to [APACHE_HOME]\Axis\webservices<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>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>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>
   <p>
   <a name="providedclients"></a>
   </p>
  @@ -591,7 +622,10 @@
   <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>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>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 cbase.exe cgroupB.exe doclitbase.exe 
doclitgroupB.exe groupB.exe<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>
  +<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>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>
   </p>
  
  
  

Reply via email to