From e30d27ecbcbfa0c5f08299af755a38f2c2365db0 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 12 Jan 2011 03:14:46 +0000 Subject: 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 --- .../src/test/java/sample/impl/EmbedTestCase.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/EmbedTestCase.java') 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, -- cgit v1.2.3