tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r528395 - in /incubator/tuscany/java/sca/modules/binding-ws-axis2: ./ src/test/java/org/apache/tuscany/binding/axis2/itests/ src/test/resources/org/apache/tuscany/binding/axis2/itests/
Date Fri, 13 Apr 2007 09:01:37 GMT
Author: antelder
Date: Fri Apr 13 02:01:36 2007
New Revision: 528395

URL: http://svn.apache.org/viewvc?view=rev&rev=528395
Log:
More fixes to bring up an ws testcase

Modified:
    incubator/tuscany/java/sca/modules/binding-ws-axis2/pom.xml
    incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorld.java
    incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java
    incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/HelloWorld.composite

Modified: incubator/tuscany/java/sca/modules/binding-ws-axis2/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-axis2/pom.xml?view=diff&rev=528395&r1=528394&r2=528395
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-axis2/pom.xml (original)
+++ incubator/tuscany/java/sca/modules/binding-ws-axis2/pom.xml Fri Apr 13 02:01:36 2007
@@ -187,6 +187,13 @@
             <scope>test</scope>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-java-runtime</artifactId>
+            <version>1.0-incubating-SNAPSHOT</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
 </project>

Modified: incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorld.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorld.java?view=diff&rev=528395&r1=528394&r2=528395
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorld.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorld.java
Fri Apr 13 02:01:36 2007
@@ -19,6 +19,9 @@
 
 package org.apache.tuscany.binding.axis2.itests;
 
+import org.osoa.sca.annotations.Remotable;
+
+@Remotable
 public interface HelloWorld {
     
     public String getGreetings(String s);

Modified: incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java?view=diff&rev=528395&r1=528394&r2=528395
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java
Fri Apr 13 02:01:36 2007
@@ -24,10 +24,10 @@
 public class HelloWorldComponent implements HelloWorld {
 
     @Reference
-    public HelloWorld ref;
+    public HelloWorld helloWorldWS;
     
     public String getGreetings(String s) {
-        return ref.getGreetings(s);
+        return helloWorldWS.getGreetings(s);
     }
 
 }

Modified: incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/HelloWorld.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/HelloWorld.composite?view=diff&rev=528395&r1=528394&r2=528395
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/HelloWorld.composite
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/HelloWorld.composite
Fri Apr 13 02:01:36 2007
@@ -23,13 +23,12 @@
            name="HelloWorld">
 
     <component name="HelloWorldComponent">
-		<implementation.java class="org.apache.tuscany.binidng.axis2.itests.HelloWorldComponent"/>
-        <reference name="ref" target="HelloWorldWS"></reference>
+		<implementation.java class="org.apache.tuscany.binding.axis2.itests.HelloWorldComponent"/>
+        <reference name="helloWorldWS" />
     </component>
 
-    <reference name="HelloWorldWS">
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld org/apache/tuscany/binding/axis2/itests/helloworld.wsdl"
/>
+    <reference name="helloWorldWS" promote="HelloWorldComponent/helloWorldWS">
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
         <binding.ws/>
     </reference>
 



---------------------------------------------------------------------
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