summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/embed/samples/implementation-extension/src/test/resources/test.composite
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-09-02 23:12:00 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-09-02 23:12:00 +0000
commitabefe1a37b0e9ca6bee2543dc1a97e3cf72da85f (patch)
treeff33d0f60ed118497e2532a3a27330c5fc7ed692 /sandbox/sebastien/java/embed/samples/implementation-extension/src/test/resources/test.composite
parentdf2617e39498f4d74a239f845e7f86e4017d529d (diff)
Add a SOAP Web service binding and a test case for it. Minor cleanup, remove redundant test case and refactor test WSDL namespaces.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992150 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/sebastien/java/embed/samples/implementation-extension/src/test/resources/test.composite19
1 files changed, 17 insertions, 2 deletions
diff --git a/sandbox/sebastien/java/embed/samples/implementation-extension/src/test/resources/test.composite b/sandbox/sebastien/java/embed/samples/implementation-extension/src/test/resources/test.composite
index 535488b74e..43a75f50a7 100644
--- a/sandbox/sebastien/java/embed/samples/implementation-extension/src/test/resources/test.composite
+++ b/sandbox/sebastien/java/embed/samples/implementation-extension/src/test/resources/test.composite
@@ -20,24 +20,39 @@
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
targetNamespace="http://test"
- name="test">
-
+ name="wstest">
+
+ <!-- Client test component used by the JUnit tests -->
<component name="client-test">
<t:implementation.sample class="sample.ClientTest"/>
<reference name="wello" target="wello-test"/>
<reference name="jello" target="jello-test"/>
</component>
+ <!-- HelloWorld test component that uses WSDL interfaces -->
<component name="wello-test">
<t:implementation.sample class="sample.WelloTest"/>
<reference name="upper" target="upper-test"/>
</component>
+ <!-- HelloWorld test component that uses Java interfaces -->
<component name="jello-test">
<t:implementation.sample class="sample.JelloTest"/>
<reference name="upper" target="upper-test"/>
</component>
+ <!-- HelloWorld test component that uses WSDL interfaces and SOAP Web Services -->
+ <component name="Wsello-test">
+ <t:implementation.sample class="sample.WelloTest"/>
+ <service name="Hello">
+ <binding.ws uri="http://localhost:8085/wsello"/>
+ </service>
+ <reference name="upper">
+ <binding.ws uri="http://localhost:8086/wsupper"/>
+ </reference>
+ </component>
+
+ <!-- Test component converts a string to uppercase -->
<component name="upper-test">
<t:implementation.sample class="sample.UpperTest"/>
</component>