diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-01 13:01:19 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-01 13:01:19 +0000 |
commit | a9d9bc5e828c0a2833a9d5b5743968bf52bedb88 (patch) | |
tree | a9ed6f192a57b39e45b3cfedfb71b3071960e30a /sandbox/travelsample/ui-contribution-webapp/scatours.composite | |
parent | 01b25ef5b0cffb58ddba0626639faaa4028cac7a (diff) |
Start of a webapp ui
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@681681 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/ui-contribution-webapp/scatours.composite | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/sandbox/travelsample/ui-contribution-webapp/scatours.composite b/sandbox/travelsample/ui-contribution-webapp/scatours.composite new file mode 100644 index 0000000000..7d340bebba --- /dev/null +++ b/sandbox/travelsample/ui-contribution-webapp/scatours.composite @@ -0,0 +1,65 @@ +<?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://scatours" + xmlns:scatours="http://scatours" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + name="scatours"> + + <component name="SCATours"> + <tuscany:implementation.widget location="scatours.html"/> + <service name="Widget"> + <tuscany:binding.http uri="/scatours"/> + </service> + <reference name="hotel" target="HotelComponent"> + <tuscany:binding.jsonrpc/> + </reference> + <reference name="trip" target="TripComponent"> + <tuscany:binding.jsonrpc/> + </reference> + </component> + + <component name="TripComponent"> + <implementation.java class="scatours.trip.TripImpl"/> + <service name="Trip"> + <tuscany:binding.jsonrpc/> + </service> + <reference name="hotelSearch" target="HotelComponent"> + <binding.sca/> + </reference> + <reference name="currencyConverter" target="CurrencyConverterComponent"> + </reference> + </component> + + <component name="HotelComponent"> + <implementation.java class="scatours.hotel.HotelImpl"/> + <service name="Search"> + <binding.sca/> + <tuscany:binding.jsonrpc/> + </service> + </component> + + <component name="CurrencyConverterComponent"> + <implementation.java class="scatours.currencyconverter.CurrencyConverterImpl"/> + <service name="CurrencyConverter"> + </service> + </component> + +</composite> |