tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r501024 - in /incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM: pom.xml src/main/java/helloworldOM/HelloWorldService.java src/main/resources/META-INF/sca/default.scdl
Date Mon, 29 Jan 2007 12:24:57 GMT
Author: antelder
Date: Mon Jan 29 04:24:56 2007
New Revision: 501024

URL: http://svn.apache.org/viewvc?view=rev&rev=501024
Log:
Fix OM client sample (doesn't work yet as pass-by-value doesn't work for OMElement

Modified:
    incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/pom.xml
    incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/java/helloworldOM/HelloWorldService.java
    incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/resources/META-INF/sca/default.scdl

Modified: incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/pom.xml?view=diff&rev=501024&r1=501023&r2=501024
==============================================================================
--- incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/pom.xml (original)
+++ incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/pom.xml Mon Jan
29 04:24:56 2007
@@ -19,50 +19,46 @@
 -->
 <project>
     <parent>
-        <groupId>org.apache.tuscany.samples.sca</groupId>
+        <groupId>org.apache.tuscany.sca.extensions.axis2.samples</groupId>
         <artifactId>parent</artifactId>
         <version>1.0-incubator-SNAPSHOT</version>
     </parent>
+
     <modelVersion>4.0.0</modelVersion>
     <artifactId>sample-helloworldwsclientOM</artifactId>
     <packaging>jar</packaging>
     <name>Tuscany HelloWorld Web Service Client Sample OM</name>
     <description>A sample client for a HelloWorld Web Service OM.</description>
-    <properties>
-        <ws.type>axis2</ws.type>
-    </properties>
 
     <dependencies>
         <dependency>
+            <groupId>org.osoa</groupId>
+            <artifactId>sca-api-r0.95</artifactId>
+        </dependency>
+
+        <dependency>
             <groupId>org.apache.tuscany.sca.kernel</groupId>
-            <artifactId>core</artifactId>
-            <version>${pom.version}</version>
-            <scope>provided</scope>
+            <artifactId>tuscany-api</artifactId>
         </dependency>
+
         <dependency>
-            <groupId>org.apache.tuscany.sca.services.bindings</groupId>
-            <artifactId>axis2</artifactId>
-            <version>${pom.version}</version>
-            <scope>provided</scope>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-api</artifactId>
         </dependency>
+
         <dependency>
-            <groupId>org.apache.tuscany.sca.services.databinding</groupId>
-            <artifactId>databinding-sdo</artifactId>
-            <version>${pom.version}</version>
-            <scope>test</scope>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-impl</artifactId>
         </dependency>
 
         <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>test</artifactId>
-            <version>${pom.version}</version>
-            <scope>test</scope>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
         </dependency>
+
         <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>3.8.1</version>
-            <scope>test</scope>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>test</artifactId>
         </dependency>
     </dependencies>
     
@@ -75,6 +71,8 @@
                     <archive>
                         <manifest>
                             <mainClass>helloworldOM.HelloWorldClient</mainClass>
+                            <addClasspath>true</addClasspath>
+                            <classpathPrefix>../lib/</classpathPrefix>
                         </manifest>
                     </archive>
                 </configuration>

Modified: incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/java/helloworldOM/HelloWorldService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/java/helloworldOM/HelloWorldService.java?view=diff&rev=501024&r1=501023&r2=501024
==============================================================================
--- incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/java/helloworldOM/HelloWorldService.java
(original)
+++ incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/java/helloworldOM/HelloWorldService.java
Mon Jan 29 04:24:56 2007
@@ -20,9 +20,11 @@
 
 import org.apache.axiom.om.OMElement;
 import org.osoa.sca.annotations.Service;
+import org.osoa.sca.annotations.Remotable;
 
 
 @Service
+@Remotable
 public interface HelloWorldService {
 
     public OMElement getGreetings(OMElement parmE);

Modified: incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/resources/META-INF/sca/default.scdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/resources/META-INF/sca/default.scdl?view=diff&rev=501024&r1=501023&r2=501024
==============================================================================
--- incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/resources/META-INF/sca/default.scdl
(original)
+++ incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclientOM/src/main/resources/META-INF/sca/default.scdl
Mon Jan 29 04:24:56 2007
@@ -23,9 +23,7 @@
 
     <component name="HelloWorldServiceComponent">
       <implementation.java class="helloworldOM.HelloWorldServiceComponent"/>
-      <references>
-	       <reference name="helloWorldService">HelloWorldService</reference>
-       </references>
+      <reference name="helloWorldService">HelloWorldService</reference>
     </component>
 
     <reference name="HelloWorldService">



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message