Author: lresende
Date: Wed Jan 28 18:17:33 2009
New Revision: 738573

URL: http://svn.apache.org/viewvc?rev=738573&view=rev
Log:
Investigating conversation/oneway issue reported by Douglas on the dev list

Added:
    tuscany/sandbox/lresende/sca/itest/
    tuscany/sandbox/lresende/sca/itest/callback/
    tuscany/sandbox/lresende/sca/itest/callback/pom.xml   (with props)
    tuscany/sandbox/lresende/sca/itest/callback/src/
    tuscany/sandbox/lresende/sca/itest/callback/src/main/
    tuscany/sandbox/lresende/sca/itest/callback/src/main/java/
    tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/
    tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/
    
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/
    
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/
    
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/
    
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/Client.java
   (with props)
    
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientCallback.java
   (with props)
    
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientImpl.java
   (with props)
    
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProvider.java
   (with props)
    
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProviderImpl.java
   (with props)
    tuscany/sandbox/lresende/sca/itest/callback/src/main/resources/
    tuscany/sandbox/lresende/sca/itest/callback/src/test/
    tuscany/sandbox/lresende/sca/itest/callback/src/test/java/
    tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/
    tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/
    
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/
    
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/
    
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/
    
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/CallBackTestCase.java
   (with props)
    
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/MainCallback.java
   (with props)
    tuscany/sandbox/lresende/sca/itest/callback/src/test/resources/
    
tuscany/sandbox/lresende/sca/itest/callback/src/test/resources/callback.composite
   (with props)

Added: tuscany/sandbox/lresende/sca/itest/callback/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/lresende/sca/itest/callback/pom.xml?rev=738573&view=auto
==============================================================================
--- tuscany/sandbox/lresende/sca/itest/callback/pom.xml (added)
+++ tuscany/sandbox/lresende/sca/itest/callback/pom.xml Wed Jan 28 18:17:33 2009
@@ -0,0 +1,50 @@
+<?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.    
+-->
+<project>
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.tuscany.sca</groupId>
+        <artifactId>tuscany-itest</artifactId>
+        <version>1.5-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+    <artifactId>itest-callback-douglas</artifactId>
+    <name>Apache Tuscany SCA iTest Callback Scenario do Douglas</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-host-embedded</artifactId>
+            <version>1.5-SNAPSHOT</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-java-runtime</artifactId>
+            <version>1.5-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+    </dependencies>
+
+    <properties>
+        
<was.ant.script>${basedir}/../build-was-integration.xml</was.ant.script>
+        <was.python.script>${basedir}/../wasAdmin.py</was.python.script>
+    </properties>    
+</project>

Propchange: tuscany/sandbox/lresende/sca/itest/callback/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tuscany/sandbox/lresende/sca/itest/callback/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: tuscany/sandbox/lresende/sca/itest/callback/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/Client.java
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/Client.java?rev=738573&view=auto
==============================================================================
--- 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/Client.java
 (added)
+++ 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/Client.java
 Wed Jan 28 18:17:33 2009
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.tuscany.sca.test;
+
+
+public interface Client {
+
+    public void someClientMethod();
+}

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/Client.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/Client.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientCallback.java
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientCallback.java?rev=738573&view=auto
==============================================================================
--- 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientCallback.java
 (added)
+++ 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientCallback.java
 Wed Jan 28 18:17:33 2009
@@ -0,0 +1,24 @@
+/*
+ * 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.
+ */
+package org.apache.tuscany.sca.test;
+
+public interface ClientCallback {
+    
+    public void receiveResult(String s);
+}

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientCallback.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientCallback.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientImpl.java
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientImpl.java?rev=738573&view=auto
==============================================================================
--- 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientImpl.java
 (added)
+++ 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientImpl.java
 Wed Jan 28 18:17:33 2009
@@ -0,0 +1,53 @@
+/*
+ * 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.
+ */
+package org.apache.tuscany.sca.test;
+
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import org.osoa.sca.annotations.Reference;
+import org.osoa.sca.annotations.Scope;
+import org.osoa.sca.annotations.Service;
+
+
+...@service(interfaces={Client.class, ClientCallback.class})
+...@scope("COMPOSITE")
+public class ClientImpl implements ClientCallback, Client {
+
+    @Reference
+    public ServiceProvider service;
+
+    public void receiveResult(String s) {
+        System.out.println("client receiving the result: "+ s);
+    }
+
+    public void someClientMethod() {
+        service.someServiceMethod();
+        
+        try {
+            System.out.println("Sleeping at client!");
+            Thread.sleep(1000);
+        } catch (InterruptedException ex) {
+            Logger.getLogger(ClientImpl.class.getName()).log(Level.SEVERE, 
null, ex);
+        }
+        System.out.println("Waking up at client!");
+        
+        service.close();
+    }
+}

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ClientImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProvider.java
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProvider.java?rev=738573&view=auto
==============================================================================
--- 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProvider.java
 (added)
+++ 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProvider.java
 Wed Jan 28 18:17:33 2009
@@ -0,0 +1,38 @@
+/*
+ * 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.
+ */
+package org.apache.tuscany.sca.test;
+
+import org.osoa.sca.annotations.Callback;
+import org.osoa.sca.annotations.Conversational;
+import org.osoa.sca.annotations.EndsConversation;
+import org.osoa.sca.annotations.OneWay;
+
+
+
+...@conversational
+...@callback(ClientCallback.class)
+public interface ServiceProvider {
+
+    @OneWay
+    public void someServiceMethod();
+    
+    @EndsConversation
+    public void close();
+    
+}

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProvider.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProviderImpl.java
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProviderImpl.java?rev=738573&view=auto
==============================================================================
--- 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProviderImpl.java
 (added)
+++ 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProviderImpl.java
 Wed Jan 28 18:17:33 2009
@@ -0,0 +1,51 @@
+/*
+ * 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.
+ */
+package org.apache.tuscany.sca.test;
+
+import java.util.logging.Level;
+import java.util.logging.Logger;
+import org.osoa.sca.annotations.Callback;
+import org.osoa.sca.annotations.Scope;
+import org.osoa.sca.annotations.Service;
+
+
+...@service(ServiceProvider.class)
+...@scope("COMPOSITE")
+public class ServiceProviderImpl implements ServiceProvider {
+
+    @Callback
+    public ClientCallback callback;
+
+    public void someServiceMethod() {
+        
+        try {
+            System.out.println("Sleeping at server!");
+            Thread.sleep(5000);
+        } catch (InterruptedException ex) {
+            
Logger.getLogger(ServiceProviderImpl.class.getName()).log(Level.SEVERE, null, 
ex);
+        }
+        System.out.println("Waking up at server!");
+        
+        callback.receiveResult("RESULT");
+    }
+
+    public void close() {
+        System.out.println("Closing the conversation on the server!");
+    }
+}

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProviderImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/main/java/org/apache/tuscany/sca/test/ServiceProviderImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/CallBackTestCase.java
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/CallBackTestCase.java?rev=738573&view=auto
==============================================================================
--- 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/CallBackTestCase.java
 (added)
+++ 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/CallBackTestCase.java
 Wed Jan 28 18:17:33 2009
@@ -0,0 +1,54 @@
+/*
+ * 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.    
+ */
+package org.apache.tuscany.sca.test;
+
+import junit.framework.TestCase;
+
+import org.apache.tuscany.sca.host.embedded.SCADomain;
+
+public class CallBackTestCase extends TestCase {
+
+    private static SCADomain domain;
+    private Client callbackClient;
+
+    public void testCallBackBasic() {
+        callbackClient.someClientMethod();   
+    }
+
+    /**
+     * This function creates the SCADomain instance and gets an Instance of 
CallBackApiClient.class
+     */
+    @Override
+    protected void setUp() throws Exception {
+        if (domain == null) {
+            domain = SCADomain.newInstance("callback.composite");
+        }
+
+        callbackClient = domain.getService(Client.class, "Consumer/Client");
+    }
+
+    /**
+     * This function destroys the SCADomain instance that was created in 
setUp()
+     */
+    @Override
+    protected void tearDown() throws Exception {
+        domain.close();
+    }
+
+}

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/CallBackTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/CallBackTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/MainCallback.java
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/MainCallback.java?rev=738573&view=auto
==============================================================================
--- 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/MainCallback.java
 (added)
+++ 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/MainCallback.java
 Wed Jan 28 18:17:33 2009
@@ -0,0 +1,35 @@
+/*
+ * 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.
+ */
+package org.apache.tuscany.sca.test;
+
+import org.apache.tuscany.sca.host.embedded.SCADomain;
+
+
+public class MainCallback {
+    
+    public static void main(String... args) {
+        SCADomain scaDomain = SCADomain.newInstance("callback.composite");
+        
+        Client client = scaDomain.getService(Client.class, "Consumer");
+        client.someClientMethod();        
+        
+        //scaDomain.close();
+    }
+
+}

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/MainCallback.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/java/org/apache/tuscany/sca/test/MainCallback.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/resources/callback.composite
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/lresende/sca/itest/callback/src/test/resources/callback.composite?rev=738573&view=auto
==============================================================================
--- 
tuscany/sandbox/lresende/sca/itest/callback/src/test/resources/callback.composite
 (added)
+++ 
tuscany/sandbox/lresende/sca/itest/callback/src/test/resources/callback.composite
 Wed Jan 28 18:17:33 2009
@@ -0,0 +1,33 @@
+<?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";
+               targetNamespace="http://callback";
+               name="callback">
+
+       <component name="Consumer">
+               <implementation.java 
class="org.apache.tuscany.sca.test.ClientImpl"/>   
+               <reference name="service" target="ServiceProvider"/>
+       </component>  
+               
+       <component name="ServiceProvider">
+               <implementation.java 
class="org.apache.tuscany.sca.test.ServiceProviderImpl"/> 
+       </component> 
+
+</composite>

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/resources/callback.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/resources/callback.composite
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
tuscany/sandbox/lresende/sca/itest/callback/src/test/resources/callback.composite
------------------------------------------------------------------------------
    svn:mime-type = text/xml


Reply via email to