summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources')
-rw-r--r--sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/CallBackReference.composite33
-rw-r--r--sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/CallBackService.composite31
-rw-r--r--sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/META-INF/sca-contribution.xml24
3 files changed, 88 insertions, 0 deletions
diff --git a/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/CallBackReference.composite b/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/CallBackReference.composite
new file mode 100644
index 0000000000..477ef7391f
--- /dev/null
+++ b/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/CallBackReference.composite
@@ -0,0 +1,33 @@
+<?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"
+ targetNamespace="http://callback"
+ name="CallBackReferenceTest">
+
+ <component name="CallBackBasicClient">
+ <implementation.java class="org.apache.tuscany.sca.test.CallBackBasicClientImpl"/>
+ <reference name="aCallBackService" target="CallBackBasicService">
+ <callback>
+ <binding.ws uri="http://localhost:8084/aCallBackService"/>
+ </callback>
+ </reference>
+ </component>
+
+</composite>
diff --git a/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/CallBackService.composite b/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/CallBackService.composite
new file mode 100644
index 0000000000..c3f0f5bc81
--- /dev/null
+++ b/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/CallBackService.composite
@@ -0,0 +1,31 @@
+<?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"
+ targetNamespace="http://callback"
+ name="CallBackServiceTest">
+
+ <component name="CallBackBasicService">
+ <implementation.java class="org.apache.tuscany.sca.test.CallBackBasicServiceImpl"/>
+ <service name="CallBackBasicService">
+ <binding.ws uri="http://localhost:8085/CallBackBasicService"/>
+ </service>
+ </component>
+
+</composite>
diff --git a/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/META-INF/sca-contribution.xml b/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/META-INF/sca-contribution.xml
new file mode 100644
index 0000000000..11d737e701
--- /dev/null
+++ b/sandbox/sebastien/java/shell/itest/callback-two-composites/src/main/resources/META-INF/sca-contribution.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:t="http://callback">
+ <deployable composite="t:CallBackReferenceTest" />
+ <deployable composite="t:CallBackServiceTest" />
+</contribution> \ No newline at end of file