You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2011/02/06 11:11:41 UTC

svn commit: r1067627 - /tuscany/sca-java-2.x/trunk/samples/getting-started/files/helloworldws.composite

Author: antelder
Date: Sun Feb  6 10:11:41 2011
New Revision: 1067627

URL: http://svn.apache.org/viewvc?rev=1067627&view=rev
Log:
Add a composite using binding.ws that can be used with the helloworld contribution

Added:
    tuscany/sca-java-2.x/trunk/samples/getting-started/files/helloworldws.composite

Added: tuscany/sca-java-2.x/trunk/samples/getting-started/files/helloworldws.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/files/helloworldws.composite?rev=1067627&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/getting-started/files/helloworldws.composite (added)
+++ tuscany/sca-java-2.x/trunk/samples/getting-started/files/helloworldws.composite Sun Feb  6 10:11:41 2011
@@ -0,0 +1,32 @@
+<?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:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+           targetNamespace="http://sample"
+           name="helloworldws">
+
+    <component name="HelloworldWSComponent">
+        <implementation.java class="sample.HelloworldImpl"/>
+        <service name="Helloworld">
+           <binding.ws />
+        </service>
+    </component>
+
+</composite>