From 23d5587f8a4a4dfa5fb2f5d9497d04733cdfe8df Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 21 Dec 2009 11:58:17 +0000 Subject: Copy 1.x trunk to branches for start of 1.6 release git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@892786 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/resources/myContent/index.html | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 sca-java-1.x/branches/sca-java-1.6/samples/web-resource/src/main/resources/myContent/index.html (limited to 'sca-java-1.x/branches/sca-java-1.6/samples/web-resource/src/main/resources/myContent/index.html') diff --git a/sca-java-1.x/branches/sca-java-1.6/samples/web-resource/src/main/resources/myContent/index.html b/sca-java-1.x/branches/sca-java-1.6/samples/web-resource/src/main/resources/myContent/index.html new file mode 100644 index 0000000000..55de048373 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.6/samples/web-resource/src/main/resources/myContent/index.html @@ -0,0 +1,49 @@ + + + + Tuscany Sample Web Resource + + + +

A Sample Web Resource

+ +

Tuscany allows you to publish Web resources using SCA components declared with an + <implementation.resource> component implementation type and made available + to HTTP clients using a <binding.http> binding.

+ +

Here is the SCA composite that publishes this page:

+ +
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+  targetNamespace="http://web"
+  name="WebResource">
+
+  <component name="myWeb">
+    <implementation.resource location="myContent"/>
+    <service name="Resource">
+      <binding.http/>
+    </service>
+  </component>      
+
+</composite>
+  	
+ + + -- cgit v1.2.3