tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r501052 - in /incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient: pom.xml src/test/java/helloworld/HelloWorldWSClient.java
Date Mon, 29 Jan 2007 13:59:55 GMT
Author: antelder
Date: Mon Jan 29 05:59:54 2007
New Revision: 501052

URL: http://svn.apache.org/viewvc?view=rev&rev=501052
Log:
Get ws client running in eclipse

Modified:
    incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/pom.xml
    incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/src/test/java/helloworld/HelloWorldWSClient.java

Modified: incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/pom.xml?view=diff&rev=501052&r1=501051&r2=501052
==============================================================================
--- incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/pom.xml (original)
+++ incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/pom.xml Mon Jan
29 05:59:54 2007
@@ -47,6 +47,13 @@
             <artifactId>test</artifactId>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.tuscany.sca.extensions.axis2</groupId>
+            <artifactId>tuscany-axis2</artifactId>
+            <version>${extensionVersion}</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
     <build>

Modified: incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/src/test/java/helloworld/HelloWorldWSClient.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/src/test/java/helloworld/HelloWorldWSClient.java?view=diff&rev=501052&r1=501051&r2=501052
==============================================================================
--- incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/src/test/java/helloworld/HelloWorldWSClient.java
(original)
+++ incubator/tuscany/java/sca/extensions/axis2/samples/helloworldwsclient/src/test/java/helloworld/HelloWorldWSClient.java
Mon Jan 29 05:59:54 2007
@@ -19,8 +19,6 @@
 
 package helloworld;
 
-import java.net.URL;
-
 import junit.framework.Assert;
 
 import org.apache.tuscany.test.SCATestCase;
@@ -36,11 +34,8 @@
 
     @Override
     protected void setUp() throws Exception {
+        addExtension("Axis2Bidning", getClass().getClassLoader().getResource("META-INF/sca/binding.axis2.scdl"));
         setApplicationSCDL(HelloWorldService.class, "META-INF/sca/default.scdl");
-        URL base = getClass().getResource("/META-INF/sca/binding.axis2.scdl");
-        addExtension("binding.ws", new URL(base, "default.scdl"));
-        base = getClass().getResource("/META-INF/sca/databinding.sdo.scdl");
-        addExtension("databindning.sdo", new URL(base, "default.scdl"));
         super.setUp();
         CompositeContext compositeContext = CurrentCompositeContext.getContext();
         helloWorldService = compositeContext.locateService(HelloWorldService.class, "HelloWorldServiceComponent");



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