summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/embed/samples/implementation-extension/src/test/resources/test.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/sebastien/java/embed/samples/implementation-extension/src/test/resources/test.composite')
-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>