diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-25 13:08:39 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-25 13:08:39 +0000 |
commit | 1341cde5b121eb455cd7a4af2b57b35b5f95190d (patch) | |
tree | 04152a2d583a6dcb8530764297fb5578cc017787 /branches/sca-java-1.3.2/samples | |
parent | 5c8ac48deb4ba0e1d232e39fe2b82bb0b6cb86f3 (diff) |
Correct README
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@698955 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.3.2/samples/calculator-ws-secure-webapp/README | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/branches/sca-java-1.3.2/samples/calculator-ws-secure-webapp/README b/branches/sca-java-1.3.2/samples/calculator-ws-secure-webapp/README index a6e6c897e4..d0d3307b3a 100644 --- a/branches/sca-java-1.3.2/samples/calculator-ws-secure-webapp/README +++ b/branches/sca-java-1.3.2/samples/calculator-ws-secure-webapp/README @@ -1,7 +1,10 @@ -Calculator Sample Exposing Web Services In A WebApp
-===================================================
+Calculator Sample Exposing Secure Web Services In A WebApp
+==========================================================
This sample uses the same code as the calculator sample, it deploys the
sample wrapped in a web app and exposes the AddService as a web service.
+The autentication intent is applied to communications with the add
+component. The integrity intent is applied to communication with the
+subtract component.
The README in the samples directory (the directory above this) provides
general instructions about building and running samples. Take a look there
@@ -9,12 +12,12 @@ first. As this sample provides a web app there is a manual step where the WAR file
that contains the sample is copied to your web app container. If you just want
-to give this sample a go deploy the WAR file (target/sample-calculator-ws-webapp.war)
+to give this sample a go deploy the WAR file (target/sample-calculator-ws-secure-webapp.war)
to you web application server.
Once the web app is deployed use your browser to visit the following URL;
-http://localhost:8080/sample-calculator-ws-webapp
+http://localhost:8080/sample-calculator-ws-secure-webapp
The sample is configured to use a service on port 8080. If your servlet container
is using a port other than 8080 then you will need to edit the Calculator.composite
@@ -48,6 +51,11 @@ calculator-webapp/ Calculator.composite - As calculator sample except that the
connection between the CalculatorService
and the AddService is web services
+ definitions.xml - intent and polci set specification
+ security.properties - security configuration for the
+ rampart security engine that runs
+ inside of Axis
+ calculatorKeys.jks - keystore
webapp
META-INF/
sca-contribution.xml - specifies the composite to be deployed
@@ -68,10 +76,10 @@ Building And Running The Sample Using Ant With the binary distribution the sample can be built using Ant as
follows
-cd calculator-ws-webapp
+cd calculator-ws-secure-webapp
ant package
-This should result in a war file (sample-calculator-ws-webapp.war) in the target
+This should result in a war file (sample-calculator-ws-secure-webapp.war) in the target
directory. Copy this war file to your web app deployment directory in you
web app container.
@@ -81,7 +89,7 @@ of copying the WAR file to the webapps directory. Once the web app is deployed use your browser to visit the following URL;
-http://localhost:8080/sample-calculator-ws-webapp
+http://localhost:8080/sample-calculator-ws-secure-webapp
The port and hostname will of course vary depending on your local installation.
@@ -98,7 +106,7 @@ Building And Running The Sample Using Maven With either the binary or source distributions the sample can be built and run
using Maven as follows.
-cd calculator-ws-webapp
+cd calculator-ws-secure-webapp
mvn
Again this should result in a war file (sample-calculator-ws-webapp.war) in the target
|