tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r530017 - in /incubator/tuscany/java/sca/itest/databindings/jaxbgen: pom.xml src/main/resources/greeter.composite
Date Wed, 18 Apr 2007 13:41:03 GMT
Author: slaws
Date: Wed Apr 18 06:41:02 2007
New Revision: 530017

URL: http://svn.apache.org/viewvc?view=rev&rev=530017
Log:
Bring jaxb up to speed with the new module structure

Modified:
    incubator/tuscany/java/sca/itest/databindings/jaxbgen/pom.xml
    incubator/tuscany/java/sca/itest/databindings/jaxbgen/src/main/resources/greeter.composite

Modified: incubator/tuscany/java/sca/itest/databindings/jaxbgen/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/databindings/jaxbgen/pom.xml?view=diff&rev=530017&r1=530016&r2=530017
==============================================================================
--- incubator/tuscany/java/sca/itest/databindings/jaxbgen/pom.xml (original)
+++ incubator/tuscany/java/sca/itest/databindings/jaxbgen/pom.xml Wed Apr 18 06:41:02 2007
@@ -58,6 +58,12 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-ws-axis2</artifactId>
+            <version>${pom.version}</version>
+            <scope>runtime</scope>
+        </dependency>  
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>tuscany-databinding-jaxb</artifactId>
             <version>${pom.version}</version>
             <scope>runtime</scope>
@@ -80,6 +86,24 @@
             <version>${pom.version}</version>
             <scope>compile</scope>
         </dependency> 
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-host-embedded</artifactId>
+            <version>${pom.version}</version>
+            <scope>compile</scope>
+        </dependency> 
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-java-runtime</artifactId>
+            <version>${pom.version}</version>
+            <scope>compile</scope>
+        </dependency> 
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-interface-java-runtime</artifactId>
+            <version>${pom.version}</version>
+            <scope>compile</scope>
+        </dependency>          
         <dependency>
             <groupId>javax.xml.bind</groupId>
             <artifactId>jaxb-api</artifactId>

Modified: incubator/tuscany/java/sca/itest/databindings/jaxbgen/src/main/resources/greeter.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/databindings/jaxbgen/src/main/resources/greeter.composite?view=diff&rev=530017&r1=530016&r2=530017
==============================================================================
--- incubator/tuscany/java/sca/itest/databindings/jaxbgen/src/main/resources/greeter.composite
(original)
+++ incubator/tuscany/java/sca/itest/databindings/jaxbgen/src/main/resources/greeter.composite
Wed Apr 18 06:41:02 2007
@@ -17,52 +17,35 @@
     * specific language governing permissions and limitations
     * under the License.
 -->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
-    name="JAXBGreeterService">
-
-    <!-- Services Exposed via different bindings -->
-    <service name="JAXBGreeterServiceDefaultBinding">
-        <interface.java class="org.apache.tuscany.sca.itest.jaxbdatabinding.GreeterService"
/>
-        <reference>JAXBGreeterServiceComponent</reference>
-    </service>
-
-    <service name="GreeterServiceWebServiceBinding">
-        <interface.wsdl interface="http://apache.org/tuscany/sca/itest/databinding/services#wsdl.interface(GreeterPortType)"
-            wsdli:wsdlLocation="http://apache.org/tuscany/sca/itest/databinding/services
wsdl/Greeter.wsdl" />
-        <binding.ws
-            endpoint="http://apache.org/tuscany/sca/itest/databinding/services#wsdl.endpoint(GreeterService/GreeterPort)"
-            location="wsdl/Greeter.wsdl" />
-        <reference>JAXBGreeterServiceComponent</reference>
-    </service>
-
-    <!-- Components used to implement the services -->
-    <component name="JAXBGreeterServiceComponent">
-        <implementation.java class="org.apache.tuscany.sca.itest.jaxbdatabinding.GreeterServiceImpl"
/>
-    </component>
-
-
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" 
+           xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
+           name="JAXBGreeterService">
+           
     <!-- Clients to test the services -->
     <component name="DefaultGreeterServiceClient">
         <implementation.java class="org.apache.tuscany.sca.itest.jaxbdatabinding.GreeterServiceClientImpl"
/>
-        <!--reference name="greeterService">JAXBGreeterServiceDefaultRef</reference-->
-        <reference name="greeterService">JAXBGreeterServiceComponent</reference>
+        <reference name="greeterService" target="JAXBGreeterServiceComponent"/>
     </component>
 
-    <reference name="JAXBGreeterServiceDefaultRef">
-        <interface.java class="org.apache.tuscany.sca.itest.jaxbdatabinding.GreeterService"
/>
-    </reference>
-
     <component name="WSGreeterServiceClient">
         <implementation.java class="org.apache.tuscany.sca.itest.jaxbdatabinding.GreeterServiceClientImpl"
/>
-        <reference name="greeterService">JAXBGreeterServiceWSRef</reference>
+        <reference name="greeterService" target="JAXBGreeterServiceWSRef"/>
     </component>
 
-    <reference name="JAXBGreeterServiceWSRef">
-        <interface.wsdl interface="http://apache.org/tuscany/sca/itest/databinding/services#wsdl.interface(GreeterPortType)"
-            wsdli:wsdlLocation="http://apache.org/tuscany/sca/itest/databinding/services
wsdl/Greeter.wsdl" />
-        <binding.ws
-            endpoint="http://apache.org/tuscany/sca/itest/databinding/services#wsdl.endpoint(GreeterService/GreeterPort)"
-            location="wsdl/Greeter.wsdl" />
-    </reference>
+    <reference name="JAXBGreeterServiceWSReference" promote="WSGreeterServiceClient/greeterService">
+        <interface.wsdl interface="http://apache.org/tuscany/sca/itest/databinding/services#wsdl.interface(GreeterPortType)"/>
+        <binding.ws wsdlElement="http://apache.org/tuscany/sca/itest/databinding/services#wsdl.port(GreeterService/GreeterPort)"/>
+    </reference>           
+
+    <!-- The greeter service -->
+    <service name="JAXBGreeterService" promote="JAXBGreeterServiceComponent">
+        <interface.wsdl interface="http://apache.org/tuscany/sca/itest/databinding/services#wsdl.interface(GreeterPortType)"/>
+        <binding.ws wsdlElement="http://apache.org/tuscany/sca/itest/databinding/services#wsdl.port(GreeterService/GreeterPort)"/>
+        <reference>JAXBGreeterServiceComponent</reference>
+    </service>
 
+    <!-- Components used to implement the services -->
+    <component name="JAXBGreeterServiceComponent">
+        <implementation.java class="org.apache.tuscany.sca.itest.jaxbdatabinding.GreeterServiceImpl"
/>
+    </component>
 </composite>



---------------------------------------------------------------------
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