You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/02/22 01:41:05 UTC
svn commit: r510327 - in
/incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples:
helloworldwsOM/src/main/java/helloworldOM/HelloWorldServer.java
helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java
Author: jsdelfino
Date: Wed Feb 21 16:41:04 2007
New Revision: 510327
URL: http://svn.apache.org/viewvc?view=rev&rev=510327
Log:
Testing databinding separately on server and client
Added:
incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldServer.java (with props)
Modified:
incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java
Added: incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldServer.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldServer.java?view=auto&rev=510327
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldServer.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldServer.java Wed Feb 21 16:41:04 2007
@@ -0,0 +1,28 @@
+package helloworldOM;
+
+
+import java.io.IOException;
+
+import org.apache.tuscany.api.SCAContainer;
+
+public class HelloWorldServer {
+
+ /**
+ * @param args
+ */
+ public static void main(String[] args) {
+
+ SCAContainer.start("META-INF/sca/helloworldwsOM.composite");
+
+ try {
+ System.out.println("HelloWorld server started");
+ System.in.read();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+
+ SCAContainer.stop();
+ System.out.println("HelloWorld server stopped");
+ }
+
+}
Propchange: incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldServer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldServer.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java?view=diff&rev=510327&r1=510326&r2=510327
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java Wed Feb 21 16:41:04 2007
@@ -46,8 +46,8 @@
CompositeContext compositeContext = CurrentCompositeContext.getContext();
helloWorldService = compositeContext.locateService(HelloWorldService.class, "HelloWorldServiceComponent");
- server = new SCATestCaseRunner(HelloWorldServerTestCase.class);
- server.setUp();
+ //server = new SCATestCaseRunner(HelloWorldServerTestCase.class);
+ //server.setUp();
}
public void testWSClient() {
@@ -64,7 +64,7 @@
@Override
protected void tearDown() throws Exception {
super.tearDown();
- server.tearDown();
+ //server.tearDown();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org