tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r567423 - in /incubator/tuscany/java/sca/samples/web-resource/src/main: java/web/resource/SampleServer.java resources/WebResource.composite resources/myContent/index.html
Date Sun, 19 Aug 2007 16:29:25 GMT
Author: jsdelfino
Date: Sun Aug 19 09:29:21 2007
New Revision: 567423

URL: http://svn.apache.org/viewvc?view=rev&rev=567423
Log:
Minor clean up, inlined the service declaration instead of a composite service.

Modified:
    incubator/tuscany/java/sca/samples/web-resource/src/main/java/web/resource/SampleServer.java
    incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
    incubator/tuscany/java/sca/samples/web-resource/src/main/resources/myContent/index.html

Modified: incubator/tuscany/java/sca/samples/web-resource/src/main/java/web/resource/SampleServer.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/web-resource/src/main/java/web/resource/SampleServer.java?view=diff&rev=567423&r1=567422&r2=567423
==============================================================================
--- incubator/tuscany/java/sca/samples/web-resource/src/main/java/web/resource/SampleServer.java
(original)
+++ incubator/tuscany/java/sca/samples/web-resource/src/main/java/web/resource/SampleServer.java
Sun Aug 19 09:29:21 2007
@@ -31,7 +31,7 @@
             System.out.println("Sample server started (press enter to shutdown)");
             System.out.println();
             System.out.println("To get the Web resource, point your Web browser to the following
address:");
-            System.out.println("http://localhost:8083/myWeb/index.html");
+            System.out.println("http://localhost:8080/MyWeb/index.html");
             System.out.println();
             System.in.read();
         } catch (IOException e) {

Modified: incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite?view=diff&rev=567423&r1=567422&r2=567423
==============================================================================
--- incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
(original)
+++ incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
Sun Aug 19 09:29:21 2007
@@ -18,14 +18,13 @@
     * under the License.    
 -->
 <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
-	   targetNamespace="http://web"
-           name="WebResource">
+	targetNamespace="http://web"
+	name="WebResource">
 
-	<service name="WebResource" promote="WebResourceComponent">
-		<binding.resource uri="http://localhost:8083/myWeb"/>
-	</service>
-
-    <component name="WebResourceComponent">
+    <component name="myWeb">
+		<service name="Resource">
+			<binding.resource/>
+		</service>
         <implementation.resource location="myContent"/>
     </component>      
 

Modified: incubator/tuscany/java/sca/samples/web-resource/src/main/resources/myContent/index.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/web-resource/src/main/resources/myContent/index.html?view=diff&rev=567423&r1=567422&r2=567423
==============================================================================
--- incubator/tuscany/java/sca/samples/web-resource/src/main/resources/myContent/index.html
(original)
+++ incubator/tuscany/java/sca/samples/web-resource/src/main/resources/myContent/index.html
Sun Aug 19 09:29:21 2007
@@ -35,11 +35,10 @@
   targetNamespace=&quot;http://web&quot;
   name=&quot;WebResource&quot;&gt;
 
-  &lt;service name=&quot;WebResource&quot; promote=&quot;WebResourceComponent&quot;&gt;
-    &lt;binding.resource uri=&quot;http://localhost:8083/myWeb&quot;/&gt;
-  &lt;/service&gt;
-
-  &lt;component name=&quot;WebResourceComponent&quot;&gt;
+  &lt;component name=&quot;myWeb&quot;&gt;
+    &lt;service name=&quot;Resource&quot;&gt;
+	  &lt;binding.resource&gt;
+	&lt;/service&gt;
     &lt;implementation.resource location=&quot;myContent&quot;/&gt;
   &lt;/component&gt;      
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message