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 2007/04/17 12:44:02 UTC

svn commit: r529552 - /incubator/tuscany/java/sca/itest/wsdl/src/main/resources/test.composite

Author: antelder
Date: Tue Apr 17 03:44:01 2007
New Revision: 529552

URL: http://svn.apache.org/viewvc?view=rev&rev=529552
Log:
wsdl itests, seperate out failing case so its easier to debug

Added:
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/test.composite

Added: incubator/tuscany/java/sca/itest/wsdl/src/main/resources/test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/resources/test.composite?view=auto&rev=529552
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/resources/test.composite (added)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/resources/test.composite Tue Apr 17 03:44:01 2007
@@ -0,0 +1,68 @@
+<?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://www.osoa.org/xmlns/sca/1.0"
+
+           name="WSDLTest">
+   
+    <service name="HelloWorldService1a2a3a4a" promote="Component2a3a4a" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <component name="Component2a3a4a">
+    	<implementation.java class="org.apache.tuscany.sca.itest.Component2aImpl"/>
+        <reference name="comp" target="Component3a4a" />
+    </component> 
+    <component name="Component3a4a">
+    	<implementation.java class="org.apache.tuscany.sca.itest.Component3aImpl"/>
+        <reference name="comp" />
+    </component> 
+    <reference name="Component3a4aRef" promote="Component3a4a/comp" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+                    uri="http://localhost:8080/HelloWorldWebService" />
+    </reference>
+
+<!-- the servive -->    
+    
+    <service name="HelloWorldWebService"  promote="HelloWorldServiceComponent" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+
+    <component name="HelloWorldServiceComponent">
+        <implementation.java class="helloworld.HelloWorldImpl" />
+    </component>
+    
+<!-- the clients -->
+
+    <component name="Client1a2a3a4a">
+      <implementation.java class="helloworld.HelloWorldServiceComponent"/>
+      <reference name="helloWorldService" />
+    </component>
+
+    <reference name="ClientRef1a2a3a4a" promote="Client1a2a3a4a/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1a2a3a4a" />
+    </reference>
+    
+</composite>



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