summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/ws/contribution-callback/src/main/resources/helloworld.composite
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-06-16 10:18:20 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-06-16 10:18:20 +0000
commit147e55af252ea8ee020fb6bee3fe37dd2b556f63 (patch)
tree0837ee0cbacae7902e81ca9dd08d0c1772b0a913 /sca-java-2.x/trunk/itest/ws/contribution-callback/src/main/resources/helloworld.composite
parent10fe9dfd3f54bcaea5bb8de60aab3390fc92a895 (diff)
Add callback test case. Different from the otest in that it's testing SCA to SCA callbacks. I may combine this with the itest/callback-ws test we already have but that's testing different SCDL combinations at the moment.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@955180 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/ws/contribution-callback/src/main/resources/helloworld.composite')
-rw-r--r--sca-java-2.x/trunk/itest/ws/contribution-callback/src/main/resources/helloworld.composite45
1 files changed, 45 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/itest/ws/contribution-callback/src/main/resources/helloworld.composite b/sca-java-2.x/trunk/itest/ws/contribution-callback/src/main/resources/helloworld.composite
new file mode 100644
index 0000000000..2335192875
--- /dev/null
+++ b/sca-java-2.x/trunk/itest/ws/contribution-callback/src/main/resources/helloworld.composite
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ targetNamespace="http://www.tuscany.apache.org/itests/binding/ws/axis2"
+ name="HelloWorld">
+
+ <component name="HelloWorldService">
+ <implementation.java class="org.apache.tuscany.sca.binding.ws.HelloWorldImpl"/>
+ <service name="HelloWorld">
+ <binding.ws uri="http://localhost:8085/HelloWorldService/HelloWorld"/>
+ </service>
+ <reference name="helloWorldExternal">
+ <binding.ws uri="http://localhost:8086/External/HelloWorld"/>
+ </reference>
+ <reference name="helloWorldCallbackService">
+ <binding.ws uri="http://localhost:8085/HelloWorldService/HelloWorldCallbackService"/>
+ </reference>
+ </component>
+
+ <component name="HelloWorldCallbackService">
+ <implementation.java class="org.apache.tuscany.sca.binding.ws.HelloWorldCallbackServiceImpl"/>
+ <service name="HelloWorldCallbackService">
+ <binding.ws uri="http://localhost:8085/HelloWorldService/HelloWorldCallbackService"/>
+ </service>
+ </component>
+
+</composite>