summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/EmbedTestCase.java
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-01-12 03:14:46 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-01-12 03:14:46 +0000
commite30d27ecbcbfa0c5f08299af755a38f2c2365db0 (patch)
treeda13ea1ebaee23af96178379089ee7db985488c7 /sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/EmbedTestCase.java
parent1807692b068462dd7865c2adb93d55199ae496de (diff)
Fix args construction in WelloTest, change from String to Element. Fix WSDL interface in EmbedTestCase.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1057980 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/EmbedTestCase.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/EmbedTestCase.java b/sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/EmbedTestCase.java
index 406dbabee0..c7e7ef1574 100644
--- a/sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/EmbedTestCase.java
+++ b/sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/EmbedTestCase.java
@@ -80,6 +80,7 @@ public class EmbedTestCase {
final Contribution contrib = build(contrib("test", here()), ec);
WSDLInterface Hello_wsdl = build(wsdli("Hello.wsdl", "http://sample/hello", "Hello", contrib), ec);
WSDLInterface Upper_wsdl = build(wsdli("Upper.wsdl", "http://sample/upper", "Upper", contrib), ec);
+ WSDLInterface UpperRPC_wsdl = build(wsdli("UpperRPC.wsdl", "http://sample/upperrpc", "Upper", contrib), ec);
// Assemble a test composite model (see EmbedUtil
// for the little DSL used here, much more concise
@@ -96,7 +97,9 @@ public class EmbedTestCase {
component("wello-test",
implementation(WelloTest.class,
service(Hello_wsdl),
- reference("upper", Upper_wsdl)),
+ // Uncomment and comment the next line to switch back from RPC to Doc mode
+ //reference("upper", Upper_wsdl)),
+ reference("upper", UpperRPC_wsdl)),
reference("upper", "upper-test")),
component("jello-test",
implementation(JelloTest.class,