damitha 2004/05/06 04:08:27
Modified: site/src/documentation/content/xdocs/cpp linuser-guide.ihtml
Log:
updation on release1.1
Revision Changes Path
1.7 +49 -49 ws-axis/site/src/documentation/content/xdocs/cpp/linuser-guide.ihtml
Index: linuser-guide.ihtml
===================================================================
RCS file: /home/cvs/ws-axis/site/src/documentation/content/xdocs/cpp/linuser-guide.ihtml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- linuser-guide.ihtml 16 Apr 2004 14:55:10 -0000 1.6
+++ linuser-guide.ihtml 6 May 2004 11:08:27 -0000 1.7
@@ -8,7 +8,7 @@
<body>
<h1>Contents</h1>
-
+
<dl>
<dt><a href="#Introducti">Introduction </a>
</dt>
@@ -98,7 +98,7 @@
<p> What is SOAP? </p>
-
+
@@ -143,7 +143,7 @@
<h1>What's in this release?</h1>
-
+
@@ -188,7 +188,7 @@
-
+
<p>- Client side – Stubs</p>
@@ -233,7 +233,7 @@
HTTP support)</p>
-
+
<p>- Web server modules for Apache
@@ -278,7 +278,7 @@
support<br>
</p>
-
+
@@ -368,7 +368,7 @@
</p>
-
+
<h1>Installing Axis and Using
@@ -413,7 +413,7 @@
<p>- Axis C++</p>
-
+
@@ -458,7 +458,7 @@
<h1></h1>
-
+
<p>Let's take a look at a sample
@@ -503,7 +503,7 @@
<p></p>
-
+
@@ -548,7 +548,7 @@
<p>- commons-logging.jar</p>
-
+
<p>- jaxrpc.jar</p>
@@ -593,7 +593,7 @@
-
+
<p>Here is a sample <strong> /home/axisuser/.bash_profile</strong>
file where we specified those</p>
@@ -638,7 +638,7 @@
<p><strong>JAVA_HOME="/usr/java"</strong></p>
-
+
@@ -683,7 +683,7 @@
CLASSPATH</strong></p>
-
+
<p></p>
@@ -818,7 +818,7 @@
-
+
<p></p>
@@ -863,7 +863,7 @@
</strong></p>
<p><br>
<strong>cd $AXISCPP_HOME/samples/server/simple</strong></p>
-
+
@@ -908,7 +908,7 @@
<p></p>
-
+
<p><a name="Deploying"></a>
@@ -998,7 +998,7 @@
<p></p>
-
+
@@ -1043,7 +1043,7 @@
<p><strong>$AXIS_HOME/webservices
where $AXIS_HOME = /usr/local/apache/Axis</strong></p>
-
+
@@ -1088,7 +1088,7 @@
<p><strong></deployment></strong></p>
-
+
@@ -1133,7 +1133,7 @@
<p></p>
-
+
@@ -1178,7 +1178,7 @@
-
+
<p><strong>$ cd $AXISCPP_HOME/samples/client/simple</strong></p>
<p><strong>$ cp -f $AXISCPP_HOME/samples/server/simple/Calculator.wsdl
@@ -1223,48 +1223,48 @@
-
+
<p></p>
-
-
+
+
<p>Then fill the samples with
the relevant business logics .</p>
-
-
-
+
+
+
<p>Then fill the main method in
a file as follows</p>
-
-
-
- <p><b>#include<stdio.h></b><br>
- <b>int main()</b><br>
- <b> {</b><br>
- <b> Calculator c;</b><br>
- <b> int result = c.add(20, 40);</b><br>
- <b> printf("result is = %d", result);</b><br>
- <b> return 0;</b><br>
- <b>}</b></p>
-
-
-
+
+ <p>
+ <b>#include "Calculator.h" </b><br>
+ <b>#include<stdio.h> </b> <br>
+ <b> int main()</b> <br>
+ <b> { </b> <br>
+ <b> Calculator c;</b> <br>
+ <b> int intOut;</b><br>
+ <b> c.add(20, 40, intOut); </b> <br>
+ <b> printf("result is = %d\n", intOut);</b><br>
+ <b> return 0; </b><br>
+ <b> }</b>
+ </p>
+
<p>Then build by<br>
<b>cd $AXISCPP_HOME/samples/client</b><br>
</p>
<p><b>sh build.sh</b><br>
Then to run the calculator sample</p>
-
-
-
+
+
+
<p><b>$ cd AXISCPP_HOME/samples/simple</b></p>
-
-
-
- <p><b>./calculator <server>
+
+
+
+ <p><b>./calculator <server>
<port> <command> <param1> <param2></b><br>
<br>
Example:<br>