tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1091011 - in /tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1: ./ pom.xml src/main/resources/helloworld.composite
Date Mon, 11 Apr 2011 10:21:03 GMT
Author: antelder
Date: Mon Apr 11 10:21:03 2011
New Revision: 1091011

URL: http://svn.apache.org/viewvc?rev=1091011&view=rev
Log:
Add a helloworld sample that uses web services

Added:
    tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/
      - copied from r1088558, tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld/
    tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/pom.xml
      - copied, changed from r1088921, tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld/pom.xml
Modified:
    tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/src/main/resources/helloworld.composite

Copied: tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/pom.xml
(from r1088921, tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld/pom.xml)
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/pom.xml?p2=tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/pom.xml&p1=tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld/pom.xml&r1=1088921&r2=1091011&rev=1091011&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/pom.xml Mon
Apr 11 10:21:03 2011
@@ -28,10 +28,10 @@
       <relativePath/> 
    </parent>
 
-   <artifactId>helloworld</artifactId>
+   <artifactId>helloworld-webservice1</artifactId>
    <version>2.0-SNAPSHOT</version>
 
-   <name>Apache Tuscany SCA Samples Helloworld</name>
+   <name>Apache Tuscany SCA Samples Helloworld Web Service1</name>
 
    <properties>
       <tuscany.version>${project.version}</tuscany.version>
@@ -60,6 +60,19 @@
          <scope>test</scope>
       </dependency>
 
+      <dependency>
+         <groupId>org.apache.tuscany.sca</groupId>
+         <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
+         <version>${tuscany.version}</version>
+         <scope>test</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.mortbay.jetty</groupId>
+         <artifactId>jetty</artifactId>
+         <version>6.1.26</version>
+         <scope>test</scope>
+      </dependency>
+
    </dependencies>
 
    <build>
@@ -71,6 +84,14 @@
             <groupId>org.apache.tuscany.maven.plugins</groupId>
             <artifactId>maven-tuscany-plugin</artifactId>
             <version>${tuscany.version}</version>
+            <dependencies>
+               <dependency>
+                  <groupId>org.apache.tuscany.sca</groupId>
+                  <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
+                  <version>${tuscany.version}</version>
+                  <scope>test</scope>
+               </dependency>
+            </dependencies>
          </plugin>
       </plugins>
 

Modified: tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/src/main/resources/helloworld.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/src/main/resources/helloworld.composite?rev=1091011&r1=1088558&r2=1091011&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/src/main/resources/helloworld.composite
(original)
+++ tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice1/src/main/resources/helloworld.composite
Mon Apr 11 10:21:03 2011
@@ -24,6 +24,9 @@
 
     <component name="HelloworldComponent">
         <implementation.java class="sample.HelloworldImpl"/>
+        <service name="Helloworld">
+           <binding.ws/>
+        </service>
     </component>
 
 </composite>



Mime
View raw message