[wsas-java-dev] svn commit r161 -
wsas/java/trunk/modules/samples/CommodityQuote/xdocs
svn at wso2.com
svn at wso2.com
Tue Dec 5 00:37:20 PST 2006
Author: chatra
Date: Tue Dec 5 00:37:19 2006
New Revision: 161
Modified:
wsas/java/trunk/modules/samples/CommodityQuote/xdocs/commodity_quote_sample.html
Log:
improved understandability
Modified: wsas/java/trunk/modules/samples/CommodityQuote/xdocs/commodity_quote_sample.html
==============================================================================
--- wsas/java/trunk/modules/samples/CommodityQuote/xdocs/commodity_quote_sample.html (original)
+++ wsas/java/trunk/modules/samples/CommodityQuote/xdocs/commodity_quote_sample.html Tue Dec 5 00:37:19 2006
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
@@ -13,7 +14,7 @@
<h1>Commodity Quote Sample Guide for WSO2 Web Services Application Server
(WSO2 WSAS) for Java, v at wso2wsas_version@</h1>
-<p> </p>
+<p> </p>
<p><img alt="Figure:1" src="images/cse.jpg" /><br />
</p>
@@ -56,8 +57,8 @@
<p>Commodity quote sample is in WSO2WSAS_HOME/samples/CommodityQuote. This
sample emulates a simple "stock trader", where you can get the stock symbols
and the stock quote for a particular stock symbol. In this case the stocks
-are elements in the periodic table, and their symbols are their chemical
-element symbols.</p>
+are elements in the periodic table, and stock symbols are the corresponding
+chemical element symbol.</p>
<p>To build the samples you need the <a href="http://ant.apache.org/">Apache
Ant</a> build tool.</p>
@@ -130,7 +131,7 @@
https://127.0.0.1:9443/wso2wsas/soap/CommodityQuote)will be needed for
security scenarios, which will be discussed later in this document. The
default EPRs for http and https will be available in
- WSO2WSAS_HOME/samples/CommodityQuote/conf/default_epr.properties file.
+ WSO2WSAS_HOME/samples/CommodityQuote/conf/default_epr.properties file.
<p>In addition to that mail transport can also be used. In mail transport
there should be two mail addresses to identify the client and server.
Those are the EPRs needed to communicate. A mail server should be used in
@@ -218,8 +219,7 @@
=============================
Enter security scenario [1 - 10]...
-{select a value between 1 to 10}
-</pre>
+{select a value between 1 to 10}</pre>
<ol>
<li>Username Token authentication
<ul>
@@ -300,10 +300,10 @@
<ul>
<li><strong>Server side:</strong> Go to Key stores and upload the
service.jks. Keystore password will be "testing" and private key
- store password will be "testing". The go to Services >
+ store password will be "testing". Then go to Services >
CommodityQuote > Security Configuration. Select Trusted
Certificate Stores as service.jks and select private keystore as
- service.jks </li>
+ service.jks</li>
<li><strong>Client side:</strong>
<pre>STARTING COMMODITY QUOTE SAMPLE CLIENT
=============================
@@ -348,19 +348,25 @@
</ul>
</li>
<li>Sign and encrypt using Basic256 algorithm suite<br />
- <strong>Configuration as in 2. Yet select this and configure</strong></li>
+ <strong>Configuration same as in 2., except using this security
+ scenario.</strong></li>
<li>Encrypt and sign using Basic256 algorithm suite<br />
- <strong>Configuration as in 2. Yet select this and configure</strong></li>
+ <strong>Configuration as in 2., except using this security
+ scenario.</strong></li>
<li>Sign and encrypt using Basic256 algorithm suite and derived keys<br />
- <strong>Configuration as in 2. Yet select this and configure</strong></li>
+ <strong>Configuration as in 2., except using this security
+ scenario.</strong></li>
<li>Sign and encrypt using TripleDesRsa15 algorithm suite<br />
- <strong>Configuration as in 2. Yet select this and configure</strong></li>
+ <strong>Configuration as in 2., except using this security
+ scenario.</strong></li>
<li>Sign and encrypt using TripleDesRsa15 algorithm suite and derived
keys<br />
- <strong>Configuration as in 2. Yet select this and configure</strong></li>
+ <strong>Configuration as in 2., except using this security
+ scenario.</strong></li>
<li>Sign and encrypt using TripleDesRsa15 algorithm suite, derived keys and
encrypt primary signature<br />
- <strong>Configuration as in 2. Yet select this and configure</strong></li>
+ <strong>Configuration as in 2., except using this security
+ scenario</strong></li>
<li>SecureConversation - Sign and encrypt - Service as STS - Bootstrap
policy - UsernameToken with Timestamp over HTTPS<br />
<strong>Select "client" as the user.</strong></li>
@@ -370,15 +376,12 @@
<strong>Select "client" as the user.</strong></li>
</ol>
-<h4><em>sample 3: -qos rm : When Sandesha2 module has been
-engaged.</em></h4>
+<h4><em>sample 3: -qos rm : When Sandesha2 module has been engaged.</em></h4>
<p>From CommodityQuote directory type:</p>
<pre> $ sh run-client.sh -qos rm -e http://127.0.0.1:9762/soap/CommodityQuote
or
$ sh run-client.sh -qos rm</pre>
-
-<p>�</p>
<pre>
STARTING COMMODITY QUOTE SAMPLE CLIENT
=============================
@@ -394,21 +397,21 @@
(2) getSymbols
(3) Exit
:
-
-</pre>
+ </pre>
<h4><em>sample 4: -qos securerm : When Rampart/Rahas and Sandesha have been
-engaged. </em></h4>
-<b>Scenarios 1 & 9 with Secure-RM are not supported since since HTTPS is required on the client side receiver.
- This is a limitation of the client.</b>
+engaged.</em></h4>
+<b>Scenarios 1 & 9 with Secure-RM are not supported since since HTTPS is
+required on the client side receiver. This is a limitation of the client.</b>
+
<p>From CommodityQuote directory type:</p>
<pre> $ sh run-client.sh -qos securerm</pre>
<h4><em>sample 5: Invoking Commodity quote sample using mail transport
with/without RM/Sec</em></h4>
<ol>
- <li>Unzip the wso2wsas-standalone-edition-java- at wso2wsas_version@.zip. I assumed the
- unzipped location as WSO2WSAS_HOME.</li>
+ <li>Unzip the wso2wsas-standalone-edition-java- at wso2wsas_version@.zip. I
+ assumed the unzipped location as WSO2WSAS_HOME.</li>
<li>Go to WSO2WSAS_HOME/samples/CommodityQuote folder. Run "ant" this will
copy the generated CommodityQuote.aar to
WSO2WSAS_HOME/repository/services.</li>
@@ -423,7 +426,7 @@
config}</li>
<li>Start the server WSO2WSAS_HOME/bin/run.sh</li>
<li>Go to client repository and do the following sh run-client.sh -e
- mail:red at localhost/soap/CommodityQuote. </li>
+ mail:red at localhost/soap/CommodityQuote.</li>
<li>To run the sample with RM enabled, first engaged Sandesha2-1.1 to
CommodityQuote service. Go to admin page using https://host:9443/,
Username and password will be "admin". Go to
@@ -431,7 +434,7 @@
mar. Go to client repo and use the following command, sh run-client.sh -e
mail:red at localhost/soap/CommodityQuote -qos rm</li>
<li>POP interval for the client and server has been given as 3000 ms. If
- user wants to change this value, in the respective axis2.xml, find
+ user wants to change this value, in the respective axis2.xml, find
following, <transportReceiver name="mail"
class="org.apache.axis2.transport.mail.SimpleMailListener"> ...
<parameter name="transport.listener.interval"
More information about the Wsas-java-dev
mailing list