Author: antelder
Date: Wed Nov 1 03:48:20 2006
New Revision: 469874
URL: http://svn.apache.org/viewvc?view=rev&rev=469874
Log:
Fix up the helloworldws sample and add a readme
Added:
incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/readme.html
Modified:
incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/pom.xml
Modified:
incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/pom.xml?view=diff&rev=469874&r1=469873&r2=469874
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/pom.xml
(original)
+++ incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/pom.xml
Wed Nov 1 03:48:20 2006
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
-->
<project>
<parent>
@@ -29,10 +29,6 @@
<name>Tuscany HelloWorld Web Service Sample</name>
<description>A sample HelloWorld Web Service.</description>
- <properties>
- <ws.type>axis2</ws.type>
- </properties>
-
<dependencies>
<!-- SCA API dependencies -->
@@ -63,7 +59,7 @@
<dependency>
<groupId>org.apache.tuscany.sdo</groupId>
<artifactId>tuscany-sdo-impl</artifactId>
- <version>${scaImplVersion}</version>
+ <version>${sdoVersion}</version>
<scope>runtime</scope>
</dependency>
Added:
incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/readme.html
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/readme.html?view=auto&rev=469874
==============================================================================
---
incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/readme.html
(added)
+++
incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws/readme.html
Wed Nov 1 03:48:20 2006
@@ -0,0 +1,108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content=
+ "text/html; charset=us-ascii">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+
+ <title>Tuscany Web Service Hello World Sample</title>
+ <link rel="stylesheet" href="../../css/base.css" type="text/css">
+</head>
+
+<body>
+ <!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
+ <!-- maven --><!-- end maven -->
+
+ <h3>Tuscany Web Service Helloworld Sample</h3>
+
+ <h4>Overview</h4>
+
+ <p>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.</p>
+
+ <h4>Location</h4>
+
+ <p>This sample is located in the <a href=
+ ".">samples\webapp\helloworldws</a> directory. All
+ the following commands should be issued while working in the
+ sample directory. </p>
+
+ <h4>Prerequisites</h4>
+
+ <p>Obtain the following prerequisites and install according to
+ their documentation.</p>
+
+ <ul>
+ <li><a href="http://java.sun.com/javase/downloads/index.jsp"
+ target="_blank">JDK 5.0</a></li>
+
+ <li><a href="http://maven.apache.org/download.html" target=
+ "_blank">Maven 2.0.4</a></li>
+
+ <li><a href="http://tomcat.apache.org/download-55.cgi" target=
+ "_blank">Apache Tomcat 5.xx</a> latest version binary core
+ distribution. </li>
+ </ul>
+
+ <h4>Building</h4>
+
+ <p>To build the sample issue :</p>
+ <pre>
+<code>mvn</code>
+</pre>
+
+ <p>This should result in the creation of the war file
+ <span style="font-weight: bold;">target\sample-helloworldws.war</span></p>
+
+ <h4>Setup</h4>
+
+ <p>If you have enabled remote deployment in Tomcat by adding the
+ line:</p>
+
+ <p><code><user username="admin" password=""
+ roles="manager"/></code></p>
+
+ <p>into <span style="font-style: italic;"><tomcat
+ dir></span>\conf\tomcat-users.xml you can deploy the WARs to
+ Tomcat using the tomcat-maven-plugin:</p>
+
+ <p><code>mvn tomcat:deploy</code></p>
+
+ <p>Alternatively you can copy the WAR files to Tomcat's webapps
+ directory. Copy <span style=
+ "font-weight: bold;">target\sample-helloworldws.war</span>
+ <span style="font-style: italic;"><tomcat
+ dir></span>/webapps/.</p>
+
+ <h4>Running</h4>
+
+ <p>Start the tomcat server by issuing the following command ind
+ the <span style="font-style: italic;"><tomcat
+ dir></span>\bin directory:</p>
+
+ <p><code>startup</code></p>
+
+ <p>Once you've started your web server, following the directions
+ in <a href=
+ "../../standalone/helloworldwsclient/readme.html" target=
+ "_blank">client side demo</a> to execute the service.</p><br>
+</body>
+</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]