From bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a Mon Sep 17 00:00:00 2001 From: dims Date: Tue, 17 Jun 2008 00:23:01 +0000 Subject: Move Tuscany from Incubator to top level. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68 --- .../webapp/helloworldws/readme.html | 108 +++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 tags/java/sca-samples/1.0-incubator-M2/webapp/helloworldws/readme.html (limited to 'tags/java/sca-samples/1.0-incubator-M2/webapp/helloworldws/readme.html') diff --git a/tags/java/sca-samples/1.0-incubator-M2/webapp/helloworldws/readme.html b/tags/java/sca-samples/1.0-incubator-M2/webapp/helloworldws/readme.html new file mode 100644 index 0000000000..ef32023531 --- /dev/null +++ b/tags/java/sca-samples/1.0-incubator-M2/webapp/helloworldws/readme.html @@ -0,0 +1,108 @@ + + + + + + + + + Tuscany Web Service Hello World Sample + + + + + + + +

Tuscany Web Service Helloworld Sample

+ +

Overview

+ +

The Tuscany Web services Helloworld sample shows how to expose an SCA component as a Web service endpoint by wiring the component to an SCA service which uses a Web service binding.

+ +

Location

+ +

This sample is located in the  samples\webapp\helloworldws directory.  All + the following commands should be issued while working in the + sample directory. 

+ +

Prerequisites

+ +

Obtain the following prerequisites and install according to + their documentation.

+ + + +

Building

+ +

To build the sample issue :

+
+mvn
+
+ +

This should result in the creation of the war file + target\sample-helloworldws.war

+ +

Setup

+ +

If you have enabled remote deployment in Tomcat by adding the + line:

+ +

<user username="admin" password="" + roles="manager"/>

+ +

into <tomcat + dir>\conf\tomcat-users.xml you can deploy the WARs to + Tomcat using the tomcat-maven-plugin:

+ +

mvn tomcat:deploy

+ +

Alternatively you can copy the WAR files to Tomcat's webapps + directory. Copy target\sample-helloworldws.war + <tomcat + dir>/webapps/.

+ +

Running

+ +

Start the tomcat server by issuing the following command ind + the <tomcat + dir>\bin directory:

+ +

startup

+ +

Once you've started your web server, following the directions + in client side demo to execute the service.


+ + -- cgit v1.2.3