You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by aj...@apache.org on 2007/03/02 12:07:05 UTC
svn commit: r513708 - in
/incubator/tuscany/cpp/sca/samples/PythonCalculator: README README.html
Author: ajborley
Date: Fri Mar 2 03:07:03 2007
New Revision: 513708
URL: http://svn.apache.org/viewvc?view=rev&rev=513708
Log:
Updated PythonCalculator sample docs
Modified:
incubator/tuscany/cpp/sca/samples/PythonCalculator/README
incubator/tuscany/cpp/sca/samples/PythonCalculator/README.html
Modified: incubator/tuscany/cpp/sca/samples/PythonCalculator/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonCalculator/README?view=diff&rev=513708&r1=513707&r2=513708
==============================================================================
--- incubator/tuscany/cpp/sca/samples/PythonCalculator/README (original)
+++ incubator/tuscany/cpp/sca/samples/PythonCalculator/README Fri Mar 2 03:07:03 2007
@@ -5,17 +5,13 @@
two components to implement a Calculator service and expose that service as
a Web Service.
-There are three sub projects in this workspace:
+There are two sub projects in this workspace:
- sample.calculator
This contains the source code and SCDL artifacts for the SCA Calculator.
composite implementing the sample Calculator.
- sample.calculator.client
A sample client which does a local call to the Calculator service.
-
- - sample.calculator.wsclient
- A sample Axis2 Web Service client which calls the Calculator Web service.
-
Additionally, there is the sample.calculator.app.composite file. This
describes the configuration of the SCA Calculator composite deployed to the
Modified: incubator/tuscany/cpp/sca/samples/PythonCalculator/README.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonCalculator/README.html?view=diff&rev=513708&r1=513707&r2=513708
==============================================================================
--- incubator/tuscany/cpp/sca/samples/PythonCalculator/README.html (original)
+++ incubator/tuscany/cpp/sca/samples/PythonCalculator/README.html Fri Mar 2 03:07:03 2007
@@ -37,7 +37,7 @@
<DIV ID="bodyColumn">
<DIV ID="contentBox">
<DIV CLASS="section">
- <H2>Tuscany SCA for C++ Samples - Python Calculator Sample</H2>
+ <H1>Tuscany SCA for C++ Samples - Python Calculator Sample</H1>
<P>This is a very simple sample to show how an SCA composite can wire
together two Python components to implement a Calculator service and expose
@@ -47,7 +47,7 @@
documentation for information about building the Tuscany Python extension
and using Python in SCA composites.
</P>
- <P>There are three sub projects in this workspace:</P>
+ <P>There are two sub projects in this workspace:</P>
<UL>
<LI>sample.calculator<BR/>
This contains the Python scripts and SCDL artifacts for the SCA Calculator
@@ -56,10 +56,6 @@
<LI>sample.calculator.client<BR/>
A sample client which does a local call to the Calculator service.
</LI>
- <LI>sample.calculator.wsclient<BR/>
- A sample client which does a local call to a composite that contains a Web Service reference
- that calls the Calculator Web Service.
- </LI>
</UL>
<P>Additionally, there is the sample.calculator.app.composite file. This
describes the configuration of the SCA Calculator composite deployed to the SCA
@@ -72,17 +68,9 @@
<H2>Contents</H2>
<OL>
<LI><A HREF="#linuxbld">Building the Python samples on Linux</A></LI>
- <LI><A HREF="#linuxrun">Running the Python Calculator sample on Linux:</A></LI>
- <UL>
- <LI><A HREF="#linuxbasic">Running the basic client</A></LI>
- <LI><A HREF="#linuxws">Running the Web Service client</A></LI>
- </UL>
+ <LI><A HREF="#linuxrun">Running the Python Calculator sample on Linux</A></LI>
<LI><A HREF="#winbld">Building the Python Calculator sample on Windows</A></LI>
- <LI><A HREF="#winrun">Running the Python Calculator sample on Windows:</A></LI>
- <UL>
- <LI><A HREF="#winbasic">Running the basic client</A></LI>
- <LI><A HREF="#winws">Running the Web Service client</A></LI>
- </UL>
+ <LI><A HREF="#winrun">Running the Python Calculator sample on Windows</A></LI>
<LI><A HREF="#help">Getting help</A></LI>
</OL>
</DIV>
@@ -114,7 +102,6 @@
<DIV CLASS="section">
<A NAME="linuxrun"><H2>Running the Python Calculator sample on Linux</H2></A>
- <A NAME="linuxbasic"><H3>Calculator with basic client</H3></A>
<OL>
<LI>Ensure you have enabled the Tuscany Python extension. Follow the instructions
found <A HREF="../../doc/PythonExtension.html#linuxbin">here</A>.
@@ -123,7 +110,6 @@
<UL>
<LI>TUSCANY_SCACPP=<path to installed Tuscany SCA></LI>
<LI>TUSCANY_SDOCPP=<path to installed Tuscany SDO></LI>
- <LI>AXIS2C_HOME=<path to axis2c version 0.94></LI>
</UL>
</LI>
<LI>Run the sample with the following commands:
@@ -133,39 +119,6 @@
</UL>
</LI>
</OL>
- <A NAME="linuxws"><H3>Calculator with Web Service client</H3></A>
- <OL>
- <LI>Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions
- found <A HREF="../../doc/Axis2CWSService.html">here</A>.
- </LI>
- <LI>Ensure you have enabled the Tuscany Python extension. Follow the instructions
- found <A HREF="../../doc/PythonExtension.html#linuxbin">here</A>.
- </LI>
- <LI>Start the Axis2C simple http server:
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=<path to installed Tuscany SCA></LI>
- <LI>TUSCANY_SDOCPP=<path to installed Tuscany SDO></LI>
- <LI>AXIS2C_HOME=<path to axis2c version 0.94></LI>
- </UL>
- </LI>
- <LI>cd <tuscany_sca_install_dir>/samples/PythonCalculator/deploy/sample.calculator</LI>
- <LI>./runwsserver.sh</LI>
- </OL>
- </LI>
- <LI>Run the client:
- <OL>
- <LI>The following environment variable is required:
- <UL>
- <LI>AXIS2C_HOME=<path to axis2c version 0.94></LI>
- </UL>
- </LI>
- <LI>cd <tuscany_sca_install_dir>/samples/PythonCalculator/deploy/sample.calculator.wsclient</LI>
- <LI>./runwsclient.sh</LI>
- </OL>
- </LI>
- </OL>
</DIV>
<DIV CLASS="section">
@@ -177,7 +130,6 @@
<UL>
<LI>TUSCANY_SCACPP=<path to installed Tuscany SCA>
<LI>TUSCANY_SDOCPP=<path to installed Tuscany SDO>
- <LI>AXIS2C_HOME=<path to axis2c version 0.94></LI>
</UL></LI>
</LI>
<LI>As this sample is based on Python scripts, a specific compilation step is not necessary -
@@ -192,7 +144,6 @@
<DIV CLASS="section">
<A NAME="winrun"><H2>Running the Python Calculator sample on Windows</H2></A>
- <A NAME="winbasic"><H3>Calculator with basic client</H3></A>
<OL>
<LI>Ensure you have enabled the Tuscany Python extension. Follow the instructions
found <A HREF="../../doc/PythonExtension.html#winbin">here</A>.
@@ -201,7 +152,6 @@
<UL>
<LI>TUSCANY_SCACPP=<path to installed Tuscany SCA></LI>
<LI>TUSCANY_SDOCPP=<path to installed Tuscany SDO></LI>
- <LI>AXIS2C_HOME=<path to axis2c version 0.94></LI>
</UL>
</LI>
<LI>Run the sample with the following commands:
@@ -209,41 +159,6 @@
<LI>cd <tuscany_sca_install_dir>\samples\PythonCalculator\deploy\sample.calculator.client</LI>
<LI>runclient.bat</LI>
</UL>
- </LI>
- </OL>
- <A NAME="winws"><H3>Calculator with Web Service client</H3></A>
- <OL>
- <LI>Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions
- found <A HREF="../../doc/Axis2CWSService.html">here</A>.
- </LI>
- <LI>Ensure you have enabled the Tuscany Python extension. Follow the instructions
- found <A HREF="../../doc/PythonExtension.html#winbin">here</A>.
- </LI>
- <LI>Start the Axis2C simple http server:
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=<path to installed Tuscany SCA></LI>
- <LI>TUSCANY_SDOCPP=<path to installed Tuscany SDO></LI>
- <LI>AXIS2C_HOME=<path to axis2c version 0.94></LI>
- </UL>
- </LI>
- <LI>cd <tuscany_sca_install_dir>\samples\PythonCalculator\deploy\sample.calculator</LI>
- <LI>runwsserver.bat</LI>
- </OL>
- </LI>
- <LI>Run the client:
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=<path to installed Tuscany SCA></LI>
- <LI>TUSCANY_SDOCPP=<path to installed Tuscany SDO></LI>
- <LI>AXIS2C_HOME=<path to axis2c version 0.94></LI>
- </UL>
- </LI>
- <LI>cd <tuscany_sca_install_dir>\samples\PythonCalculator\deploy\sample.calculator.wsclient</LI>
- <LI>runwsclient.bat</LI>
- </OL>
</LI>
</OL>
</DIV>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org