summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/EmbedTestCase.java
diff options
context:
space:
mode:
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,