helloworld-ws.composite 2.46 KB
Newer Older
1
<?xml version="1.0" encoding="ISO-8859-15"?>
2
<!--  OW2 FraSCAti Examples: HelloWorld with annotations and Web Service bindings   -->
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!--  Copyright (C) 2009 INRIA, USTL                                                -->
<!--                                                                                -->
<!--  This library is free software; you can redistribute it and/or                 -->
<!--  modify it under the terms of the GNU Lesser General Public                    -->
<!--  License as published by the Free Software Foundation; either                  -->
<!--  version 2 of the License, or (at your option) any later version.              -->
<!--                                                                                -->
<!--  This library is distributed in the hope that it will be useful,               -->
<!--  but WITHOUT ANY WARRANTY; without even the implied warranty of                -->
<!--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU             -->
<!--  Lesser General Public License for more details.                               -->
<!--                                                                                -->
<!--  You should have received a copy of the GNU Lesser General Public              -->
<!--  License along with this library; if not, write to the Free Software           -->
<!--  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA     -->
<!--                                                                                -->
Nicolas Dolet's avatar
Nicolas Dolet committed
19 20
<!--  Contact: frascati@ow2.org                                                     -->
<!--                                                                                -->
21 22 23
<!--  Author: Nicolas Dolet                                                         -->
<!--                                                                                -->

24
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" name="helloworld-ws">
25 26 27
  <service name="r" promote="client/Runnable"/>
  
  <component name="client">
28
    <implementation.java class="org.ow2.frascati.examples.helloworld.annotated.Client"/>
29
    <reference name="s">
30
      <binding.ws uri="http://localhost:8080/PrintService" />
31 32 33 34
    </reference>
  </component>
  
  <component name="server">
35
    <implementation.java class="org.ow2.frascati.examples.helloworld.annotated.Server"/>
36
    <service name="PrintService">
37
      <binding.ws uri="http://localhost:8080/PrintService" />
38 39 40 41
    </service>
  </component>
  
</composite>