summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-05-15 15:26:34 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-05-15 15:26:34 +0000
commit3cf294786a4a1da99139389a473b4216ef8205c4 (patch)
treea5e7ed02bc42aa507cb05f4a1964c664d237732b /sca-java-1.x/branches/sca-java-travelsample-1.0/contributions
parentef4943a695cc635c90ef6ab563810583bafe99fa (diff)
Merge revision r944274 from trunk
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@944665 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-travelsample-1.0/contributions')
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/build.xml22
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/pom.xml118
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscahotels/HotelOffers.java26
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscahotels/impl/HotelOffersImpl.java35
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Address.java172
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/AirportCodes.java28
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/BillingAddress.java174
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Bookings.java26
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Cars.java27
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/CurrencyConverter.java27
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/CustomerInfo.java27
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Flights.java27
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Hotels.java27
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CarPartnerImpl.java36
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CarVendorImpl.java34
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CurrencyConverterImpl.java45
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CustomerImpl.java47
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/FlightPartnerImpl.java31
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/HotelPartnerImpl.java31
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/TripBookingImpl.java73
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/AirportCodesClientImpl.java36
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/BookingsClientImpl.java36
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/BookingsZeroClientImpl.java36
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/CarBookingsClientImpl.java38
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/ConverterClientImpl.java43
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/HotelOffersClientImpl.java36
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/Orders1ClientImpl.java36
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/Orders2ClientImpl.java38
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/address.xsd41
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/airportcodes.composite26
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings1.composite42
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings2.composite42
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings3.composite39
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings4.composite42
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings1.composite36
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings2.composite37
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings3.composite36
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/converter.composite35
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/hotelsdomain.composite38
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders1.composite37
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders2.composite46
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders2.xsd24
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/airportcodes-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings1-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings2-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings3-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings4-client.composite35
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings1-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings2-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings3-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/converter-client.composite34
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/hotelsdomain-client.composite34
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/orders1-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/orders2-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/toursdomain-client.composite33
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/toursdomain.composite39
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/AirportCodesTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/BindingsTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarAutowireTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarPartnerTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarWireElementTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/ComplexPropertyElementTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/ComplexPropertyTypeTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CurrencyConverterTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/MultiDomainTestCase.java65
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripAutowireTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripBookingTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripWireElementTestCase.java56
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/resources/jndi.properties38
69 files changed, 0 insertions, 3044 deletions
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/build.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/build.xml
deleted file mode 100644
index 51983cf967..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/build.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<!--
- * 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 name="scatours-contribution-using" default="compile">
- <import file="../../antdefs.xml"/>
-</project>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/pom.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/pom.xml
deleted file mode 100644
index 42aea70182..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/pom.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-<?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>scatours</artifactId>
- <version>1.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent><version>1.0-SNAPSHOT</version>
- <artifactId>scatours-contribution-using</artifactId>
- <name>Apache Tuscany SCA Tours Using Components Contribution</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
- <version>${tuscany.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-ws-axis2</artifactId>
- <version>${tuscany.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-ejb-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-jms-asf</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.activemq</groupId>
- <artifactId>activemq-all</artifactId>
- <version>5.2.0</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.activemq</groupId>
- <artifactId>activemq-web-demo</artifactId>
- </exclusion>
- </exclusions>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-jetty</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.5</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
- </build>
-</project>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscahotels/HotelOffers.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscahotels/HotelOffers.java
deleted file mode 100644
index 8abc5af687..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscahotels/HotelOffers.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * 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 com.tuscanyscahotels;
-
-import org.osoa.sca.annotations.Remotable;
-
-@Remotable
-public interface HotelOffers {
- String bookTodaysSpecial();
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscahotels/impl/HotelOffersImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscahotels/impl/HotelOffersImpl.java
deleted file mode 100644
index fccef2beed..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscahotels/impl/HotelOffersImpl.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * 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 com.tuscanyscahotels.impl;
-
-import java.util.Date;
-import org.osoa.sca.annotations.Reference;
-
-import com.tuscanyscahotels.HotelOffers;
-import com.tuscanyscatours.Hotels;
-
-public class HotelOffersImpl implements HotelOffers {
-
- @Reference
- protected Hotels hotels;
-
- public String bookTodaysSpecial() {
- return hotels.bookHotel("LBH", new Date(), 3, "STD");
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Address.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Address.java
deleted file mode 100644
index 614da1e2ad..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Address.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/*
- * 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.
- */
-
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
-// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2010.03.27 at 05:55:25 AM GMT
-//
-
-
-package com.tuscanyscatours;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for Address complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * &lt;complexType name="Address">
- * &lt;complexContent>
- * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * &lt;sequence>
- * &lt;element name="street" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;element name="city" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;element name="state" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;element name="zip" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;/sequence>
- * &lt;/restriction>
- * &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "Address", propOrder = {
- "street",
- "city",
- "state",
- "zip"
-})
-public class Address {
-
- @XmlElement(required = true)
- protected String street;
- @XmlElement(required = true)
- protected String city;
- @XmlElement(required = true)
- protected String state;
- @XmlElement(required = true)
- protected String zip;
-
- /**
- * Gets the value of the street property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getStreet() {
- return street;
- }
-
- /**
- * Sets the value of the street property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setStreet(String value) {
- this.street = value;
- }
-
- /**
- * Gets the value of the city property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getCity() {
- return city;
- }
-
- /**
- * Sets the value of the city property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setCity(String value) {
- this.city = value;
- }
-
- /**
- * Gets the value of the state property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getState() {
- return state;
- }
-
- /**
- * Sets the value of the state property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setState(String value) {
- this.state = value;
- }
-
- /**
- * Gets the value of the zip property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getZip() {
- return zip;
- }
-
- /**
- * Sets the value of the zip property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setZip(String value) {
- this.zip = value;
- }
-
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/AirportCodes.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/AirportCodes.java
deleted file mode 100644
index 577f22250a..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/AirportCodes.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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 com.tuscanyscatours;
-
-public class AirportCodes {
- public String getAirport(String code) {
- if ("AAA".equals(code)) return "Anaa";
- else if ("AAB".equals(code)) return "Arrabury";
- // other airport codes and cities would follow here
- else return null;
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/BillingAddress.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/BillingAddress.java
deleted file mode 100644
index 4687cf1116..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/BillingAddress.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*
- * 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.
- */
-
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
-// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2010.03.27 at 05:55:25 AM GMT
-//
-
-
-package com.tuscanyscatours;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for anonymous complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * &lt;complexType>
- * &lt;complexContent>
- * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * &lt;sequence>
- * &lt;element name="street" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;element name="city" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;element name="state" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;element name="zip" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;/sequence>
- * &lt;/restriction>
- * &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "street",
- "city",
- "state",
- "zip"
-})
-@XmlRootElement(name = "billingAddress")
-public class BillingAddress {
-
- @XmlElement(required = true)
- protected String street;
- @XmlElement(required = true)
- protected String city;
- @XmlElement(required = true)
- protected String state;
- @XmlElement(required = true)
- protected String zip;
-
- /**
- * Gets the value of the street property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getStreet() {
- return street;
- }
-
- /**
- * Sets the value of the street property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setStreet(String value) {
- this.street = value;
- }
-
- /**
- * Gets the value of the city property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getCity() {
- return city;
- }
-
- /**
- * Sets the value of the city property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setCity(String value) {
- this.city = value;
- }
-
- /**
- * Gets the value of the state property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getState() {
- return state;
- }
-
- /**
- * Sets the value of the state property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setState(String value) {
- this.state = value;
- }
-
- /**
- * Gets the value of the zip property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getZip() {
- return zip;
- }
-
- /**
- * Sets the value of the zip property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setZip(String value) {
- this.zip = value;
- }
-
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Bookings.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Bookings.java
deleted file mode 100644
index 9d54d46bb6..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Bookings.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * 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 com.tuscanyscatours;
-
-import org.osoa.sca.annotations.Remotable;
-
-@Remotable
-public interface Bookings {
- String newBooking(String trip, int people);
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Cars.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Cars.java
deleted file mode 100644
index f58fa33c8d..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Cars.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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 com.tuscanyscatours;
-
-import java.util.Date;
-import org.osoa.sca.annotations.Remotable;
-
-@Remotable
-public interface Cars {
- String bookCar(Date pickup, int days, String carClass);
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/CurrencyConverter.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/CurrencyConverter.java
deleted file mode 100644
index 9c201813e1..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/CurrencyConverter.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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 com.tuscanyscatours;
-
-import java.math.BigDecimal;
-import org.osoa.sca.annotations.Remotable;
-
-@Remotable
-public interface CurrencyConverter {
- BigDecimal convert(BigDecimal amount);
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/CustomerInfo.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/CustomerInfo.java
deleted file mode 100644
index 958ca6cf8c..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/CustomerInfo.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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 com.tuscanyscatours;
-
-import org.osoa.sca.annotations.Remotable;
-
-@Remotable
-public interface CustomerInfo {
- String getBillingAddress();
- String getDeliveryAddress();
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Flights.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Flights.java
deleted file mode 100644
index 873b0afc0c..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Flights.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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 com.tuscanyscatours;
-
-import java.util.Date;
-import org.osoa.sca.annotations.Remotable;
-
-@Remotable
-public interface Flights {
- String bookFlight(String flightNumber, Date date, int seats, String flightClass);
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Hotels.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Hotels.java
deleted file mode 100644
index 85944ad1b6..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/Hotels.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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 com.tuscanyscatours;
-
-import java.util.Date;
-import org.osoa.sca.annotations.Remotable;
-
-@Remotable
-public interface Hotels {
- String bookHotel(String hotelCode, Date date, int days, String roomType);
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CarPartnerImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CarPartnerImpl.java
deleted file mode 100644
index 687fc49230..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CarPartnerImpl.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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 com.tuscanyscatours.using.impl;
-
-import java.util.Date;
-import org.osoa.sca.annotations.Reference;
-import com.tuscanyscatours.Cars;
-
-public class CarPartnerImpl implements Cars {
-
- @Reference
- protected Cars[] cars;
-
- @Reference(required=false)
- protected Cars[] luxuryCars;
-
- public String bookCar(Date pickup, int days, String carClass) {
- return cars[0].bookCar(pickup, days, carClass);
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CarVendorImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CarVendorImpl.java
deleted file mode 100644
index f8644bab2c..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CarVendorImpl.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * 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 com.tuscanyscatours.using.impl;
-
-import java.util.Date;
-import com.tuscanyscatours.Cars;
-
-public class CarVendorImpl implements Cars {
-
- protected int minAge; // implicitly defines an SCA property
-
- public String bookCar(Date pickup, int days, String carClass) {
- System.out.println("Booking confirmed for pickup date " + pickup +
- " duration " + days + " days in a " + carClass +
- " class car");
- return "CV234";
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CurrencyConverterImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CurrencyConverterImpl.java
deleted file mode 100644
index 3749221aa9..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CurrencyConverterImpl.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * 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 com.tuscanyscatours.using.impl;
-
-import java.math.BigDecimal;
-import org.osoa.sca.annotations.Property;
-import com.tuscanyscatours.CurrencyConverter;
-
-public class CurrencyConverterImpl implements CurrencyConverter {
-
- @Property
- protected String fromCurrency;
-
- @Property
- protected String toCurrency;
-
- public BigDecimal convert(BigDecimal amount) {
- return amount.multiply(getRate(toCurrency))
- .divide(getRate(fromCurrency), 2, 0);
- }
-
- private BigDecimal getRate(String currency) {
- int rate = 0;
- for (int i = 0; i < currency.length(); i++) {
- rate += currency.codePointAt(i);
- }
- return new BigDecimal(rate).divide(new BigDecimal(100));
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CustomerImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CustomerImpl.java
deleted file mode 100644
index 84ca6c7593..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/CustomerImpl.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * 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 com.tuscanyscatours.using.impl;
-
-import org.osoa.sca.annotations.Property;
-import com.tuscanyscatours.Address;
-import com.tuscanyscatours.BillingAddress;
-import com.tuscanyscatours.CustomerInfo;
-
-public class CustomerImpl implements CustomerInfo {
-
- @Property
- protected BillingAddress billingAddress;
-
- @Property
- protected Address deliveryAddress;
-
- public String getBillingAddress() {
- return billingAddress.getStreet() + ", " +
- billingAddress.getCity() + ", " +
- billingAddress.getState() + " " +
- billingAddress.getZip();
- }
-
- public String getDeliveryAddress() {
- return deliveryAddress.getStreet() + ", " +
- deliveryAddress.getCity() + ", " +
- deliveryAddress.getState() + " " +
- deliveryAddress.getZip();
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/FlightPartnerImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/FlightPartnerImpl.java
deleted file mode 100644
index c5d6747a6b..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/FlightPartnerImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * 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 com.tuscanyscatours.using.impl;
-
-import java.util.Date;
-import com.tuscanyscatours.Flights;
-
-public class FlightPartnerImpl implements Flights {
-
- public String bookFlight(String flightNumber, Date date, int seats, String flightClass) {
- System.out.println("Booking confirmed for flight " + flightNumber + " on date " +
- date + " with " + seats + " seats in " + flightClass + " class");
- return "FP345";
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/HotelPartnerImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/HotelPartnerImpl.java
deleted file mode 100644
index 6cca73b0d0..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/HotelPartnerImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * 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 com.tuscanyscatours.using.impl;
-
-import java.util.Date;
-import com.tuscanyscatours.Hotels;
-
-public class HotelPartnerImpl implements Hotels {
-
- public String bookHotel(String hotelCode, Date date, int days, String roomType) {
- System.out.println("Booking confirmed for hotel " + hotelCode + " arriving on " +
- date + " for " + days + " days in a " + roomType + " room");
- return "HP456";
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/TripBookingImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/TripBookingImpl.java
deleted file mode 100644
index 9d81a0d4ed..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/com/tuscanyscatours/using/impl/TripBookingImpl.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * 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 com.tuscanyscatours.using.impl;
-
-import java.text.DateFormat;
-import java.util.Date;
-import org.osoa.sca.annotations.Reference;
-
-import com.tuscanyscatours.Bookings;
-import com.tuscanyscatours.Cars;
-import com.tuscanyscatours.Flights;
-import com.tuscanyscatours.Hotels;
-
-public class TripBookingImpl implements Bookings {
-
- public TripBookingImpl(@Reference(name="cars") Cars cars) {
- this.cars = cars;
- }
-
- protected Cars cars;
-
- @Reference
- protected Flights flights;
-
- private Hotels hotels;
-
- @Reference
- public void setHotels(Hotels hotels) {
- this.hotels = hotels;
- }
-
- public String newBooking(String trip, int people) {
- /* In a real implementation this method would look up the trip code
- in the travel catalog to get details of the car, flight and hotel
- bookings needed. Instead these details are hard-wired here for
- test purposes. */
- Date startDate = new Date(); //TEMP - need to fix
- /*
- try {
- startDate = DateFormat.getInstance().parse("7 Jul, 2012");
- } catch (Exception e) {
- e.printStackTrace();
- }
- */
-
- if (people > 0) {
- cars.bookCar(startDate, 7, "B");
- flights.bookFlight("AA123", startDate, people, "Y");
- hotels.bookHotel("DBH", startDate, 7, "SUP");
-
- return "HW3546";
-
- } else {
- return "NONE";
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/AirportCodesClientImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/AirportCodesClientImpl.java
deleted file mode 100644
index 4857b25fb6..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/AirportCodesClientImpl.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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 scatours.client.impl;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-import com.tuscanyscatours.AirportCodes;
-
-@Service(Runnable.class)
-public class AirportCodesClientImpl {
-
- @Reference
- protected AirportCodes airportcodes;
-
- public void run() {
- String airport = airportcodes.getAirport("AAB");
- System.out.println("AAB is the airport code for " + airport);
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/BookingsClientImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/BookingsClientImpl.java
deleted file mode 100644
index aa842c80f7..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/BookingsClientImpl.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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 scatours.client.impl;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-import com.tuscanyscatours.Bookings;
-
-@Service(Runnable.class)
-public class BookingsClientImpl {
-
- @Reference
- protected Bookings bookings;
-
- public void run() {
- String bookingCode = bookings.newBooking("VR3MAY9", 2);
- System.out.println("Booking code is " + bookingCode);
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/BookingsZeroClientImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/BookingsZeroClientImpl.java
deleted file mode 100644
index 1fd519d5e9..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/BookingsZeroClientImpl.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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 scatours.client.impl;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-import com.tuscanyscatours.Bookings;
-
-@Service(Runnable.class)
-public class BookingsZeroClientImpl {
-
- @Reference
- protected Bookings bookings;
-
- public void run() {
- String bookingCode = bookings.newBooking("DUMMY", 0);
- System.out.println("Booking code is " + bookingCode);
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/CarBookingsClientImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/CarBookingsClientImpl.java
deleted file mode 100644
index 0c78a77825..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/CarBookingsClientImpl.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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 scatours.client.impl;
-
-import java.util.Date;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-import com.tuscanyscatours.Cars;
-
-@Service(Runnable.class)
-public class CarBookingsClientImpl {
-
- @Reference
- protected Cars cars;
-
- public void run() {
- String bookingCode = cars.bookCar(new Date(), 3, "K"); // need to FIX
- System.out.println("Booking code is " + bookingCode);
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/ConverterClientImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/ConverterClientImpl.java
deleted file mode 100644
index 5eab8f8a16..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/ConverterClientImpl.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * 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 scatours.client.impl;
-
-import java.math.BigDecimal;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-import com.tuscanyscatours.CurrencyConverter;
-
-@Service(Runnable.class)
-public class ConverterClientImpl {
-
- @Reference
- protected CurrencyConverter eur2jpy;
-
- @Reference
- protected CurrencyConverter usd2gbp;
-
- public void run() {
- BigDecimal jpy = eur2jpy.convert(new BigDecimal("1000.00"));
- System.out.println("Converted EUR 1000.00 to JPY " + jpy);
- BigDecimal gbp = usd2gbp.convert(new BigDecimal("1000.00"));
- System.out.println("Converted USD 1000.00 to GBP " + gbp);
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/HotelOffersClientImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/HotelOffersClientImpl.java
deleted file mode 100644
index e581273113..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/HotelOffersClientImpl.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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 scatours.client.impl;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-import com.tuscanyscahotels.HotelOffers;
-
-@Service(Runnable.class)
-public class HotelOffersClientImpl {
-
- @Reference
- protected HotelOffers offers;
-
- public void run() {
- String bookingCode = offers.bookTodaysSpecial();
- System.out.println("Hotel offers booking code is " + bookingCode);
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/Orders1ClientImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/Orders1ClientImpl.java
deleted file mode 100644
index af21ad3683..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/Orders1ClientImpl.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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 scatours.client.impl;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-import com.tuscanyscatours.CustomerInfo;
-
-@Service(Runnable.class)
-public class Orders1ClientImpl {
-
- @Reference
- protected CustomerInfo customer;
-
- public void run() {
- String address = customer.getBillingAddress();
- System.out.println("Customer billing address: " + address);
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/Orders2ClientImpl.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/Orders2ClientImpl.java
deleted file mode 100644
index 41727ac621..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/java/scatours/client/impl/Orders2ClientImpl.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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 scatours.client.impl;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-import com.tuscanyscatours.CustomerInfo;
-
-@Service(Runnable.class)
-public class Orders2ClientImpl {
-
- @Reference
- protected CustomerInfo customer;
-
- public void run() {
- String address = customer.getBillingAddress();
- System.out.println("Customer billing address: " + address);
- address = customer.getDeliveryAddress();
- System.out.println("Customer delivery address: " + address);
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/address.xsd b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/address.xsd
deleted file mode 100644
index 116110f1f3..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/address.xsd
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:t="http://tuscanyscatours.com/"
- targetNamespace="http://tuscanyscatours.com/">
- <xs:element name="billingAddress">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="street" type="xs:string" />
- <xs:element name="city" type="xs:string" />
- <xs:element name="state" type="xs:string" />
- <xs:element name="zip" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="Address">
- <xs:sequence>
- <xs:element name="street" type="xs:string" />
- <xs:element name="city" type="xs:string" />
- <xs:element name="state" type="xs:string" />
- <xs:element name="zip" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/airportcodes.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/airportcodes.composite
deleted file mode 100644
index e68fc732b1..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/airportcodes.composite
+++ /dev/null
@@ -1,26 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="airportcodes">
- <component name="AirportCodes">
- <implementation.java class="com.tuscanyscatours.AirportCodes" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings1.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings1.composite
deleted file mode 100644
index 783bc3c6c7..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings1.composite
+++ /dev/null
@@ -1,42 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="bookings1">
- <component name="TripBooking">
- <implementation.java
- class="com.tuscanyscatours.using.impl.TripBookingImpl" />
- <reference name="cars" target="CarPartner/Cars" />
- <reference name="flights" target="FlightPartner/Flights" />
- <reference name="hotels" target="HotelPartner" />
- </component>
- <component name="CarPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
- <component name="FlightPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.FlightPartnerImpl" />
- </component>
- <component name="HotelPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.HotelPartnerImpl" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings2.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings2.composite
deleted file mode 100644
index be26a0f7f1..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings2.composite
+++ /dev/null
@@ -1,42 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="bookings2">
- <component name="TripBooking">
- <implementation.java
- class="com.tuscanyscatours.using.impl.TripBookingImpl" />
- <reference name="cars" target="CarPartner/Cars" />
- <reference name="flights" target="FlightPartner/Flights" />
- </component>
- <wire source="TripBooking/hotels" target="HotelPartner" />
- <component name="CarPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
- <component name="FlightPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.FlightPartnerImpl" />
- </component>
- <component name="HotelPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.HotelPartnerImpl" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings3.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings3.composite
deleted file mode 100644
index e952a15381..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings3.composite
+++ /dev/null
@@ -1,39 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="bookings3">
- <component name="TripBooking" autowire="true">
- <implementation.java
- class="com.tuscanyscatours.using.impl.TripBookingImpl" />
- </component>
- <component name="CarPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
- <component name="FlightPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.FlightPartnerImpl" />
- </component>
- <component name="HotelPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.HotelPartnerImpl" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings4.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings4.composite
deleted file mode 100644
index acb6e269a4..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/bookings4.composite
+++ /dev/null
@@ -1,42 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="bookings4">
- <component name="TripBooking">
- <implementation.java
- class="com.tuscanyscatours.using.impl.TripBookingImpl" />
- <service name="Bookings">
- <binding.ws uri="http://tuscanyscatours.com:8085/Bookings" />
- <binding.jms uri="jms:Bookings" />
- </service>
- <reference name="cars">
- <binding.ws uri="http://tuscanycars.com:8081/Cars" />
- </reference>
- <reference name="flights">
- <binding.ejb uri="corbaname:rir:#flight/FlightPartnerHome" />
- </reference>
- <reference name="hotels" target="HotelPartner" />
- </component>
- <component name="HotelPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.HotelPartnerImpl" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings1.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings1.composite
deleted file mode 100644
index c6dc6def16..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings1.composite
+++ /dev/null
@@ -1,36 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="carbookings1">
- <component name="CarPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarPartnerImpl" />
- <reference name="cars" target="JoesCars KensCars" />
- </component>
- <component name="JoesCars">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
- <component name="KensCars">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings2.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings2.composite
deleted file mode 100644
index af01006b6f..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings2.composite
+++ /dev/null
@@ -1,37 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="carbookings2">
- <component name="CarPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarPartnerImpl" />
- </component>
- <wire source="CarPartner/cars" target="JoesCars" />
- <wire source="CarPartner/cars" target="KensCars" />
- <component name="JoesCars">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
- <component name="KensCars">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings3.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings3.composite
deleted file mode 100644
index f1d3a81d42..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/carbookings3.composite
+++ /dev/null
@@ -1,36 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="carbookings3">
- <component name="CarPartner" autowire="true">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarPartnerImpl" />
- <reference name="luxuryCars" autowire="false" />
- </component>
- <component name="JoesCars">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
- <component name="KensCars">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/converter.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/converter.composite
deleted file mode 100644
index c0a1d32e11..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/converter.composite
+++ /dev/null
@@ -1,35 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="converter">
- <component name="EURJPYConverter">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CurrencyConverterImpl" />
- <property name="fromCurrency">EUR</property>
- <property name="toCurrency">JPY</property>
- </component>
- <component name="USDGBPConverter">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CurrencyConverterImpl" />
- <property name="fromCurrency">USD</property>
- <property name="toCurrency">GBP</property>
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/hotelsdomain.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/hotelsdomain.composite
deleted file mode 100644
index 1db3586513..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/hotelsdomain.composite
+++ /dev/null
@@ -1,38 +0,0 @@
-<?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://tuscanyscahotels.com/"
- name="hotelsdomain">
- <component name="HotelPartner">
- <implementation.java class=
- "com.tuscanyscatours.using.impl.HotelPartnerImpl" />
- <service name="Hotels">
- <binding.ws uri=
- "http://tuscanyscahotels.com:8083/Hotels" />
- <binding.sca />
- </service>
- </component>
- <component name="HotelOffers">
- <implementation.java class=
- "com.tuscanyscahotels.impl.HotelOffersImpl" />
- <reference name="hotels"
- target="HotelPartner/Hotels" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders1.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders1.composite
deleted file mode 100644
index ac2647b387..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders1.composite
+++ /dev/null
@@ -1,37 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="orders1">
-
- <component name="Customer">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CustomerImpl" />
- <property name="billingAddress" element="t:billingAddress">
- <t:billingAddress xmlns="">
- <street>123 Main Street</street>
- <city>New York</city>
- <state>NY</state>
- <zip>01234</zip>
- </t:billingAddress>
- </property>
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders2.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders2.composite
deleted file mode 100644
index d0489bbd21..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders2.composite
+++ /dev/null
@@ -1,46 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- xmlns:o="http://tuscanyscatours.com/orders"
- name="orders2">
-
- <component name="Customer">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CustomerImpl" />
- <property name="billingAddress" type="t:Address">
- <o:address xmlns="">
- <street>123 Main Street</street>
- <city>New York</city>
- <state>NY</state>
- <zip>01234</zip>
- </o:address>
- </property>
- <property name="deliveryAddress" type="t:Address">
- <o:address xmlns="">
- <street>456 Market Street</street>
- <city>San Francisco</city>
- <state>CA</state>
- <zip>98765</zip>
- </o:address>
- </property>
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders2.xsd b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders2.xsd
deleted file mode 100644
index db6ee8766e..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/orders2.xsd
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://tuscanyscatours.com/orders"
- xmlns:t="http://tuscanyscatours.com/">
- <xs:element name="address" type="t:Address" />
-</xs:schema>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/airportcodes-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/airportcodes-client.composite
deleted file mode 100644
index faf2aced82..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/airportcodes-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="airportcodes-client">
-
- <!-- a test client for airportcodes.composite -->
- <component name="AirportCodesClient">
- <implementation.java class="scatours.client.impl.AirportCodesClientImpl" />
- <reference name="airportcodes" target="AirportCodes" />
- </component>
-
- <!-- run airportcodes.composite in the same SCA node -->
- <include name="t:airportcodes" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings1-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings1-client.composite
deleted file mode 100644
index c1c4ecfe12..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings1-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="bookings1-client">
-
- <!-- a test client for bookings1.composite -->
- <component name="Bookings1Client">
- <implementation.java class="scatours.client.impl.BookingsClientImpl" />
- <reference name="bookings" target="TripBooking" />
- </component>
-
- <!-- run bookings1.composite in the same SCA node -->
- <include name="t:bookings1" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings2-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings2-client.composite
deleted file mode 100644
index e84c7fec06..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings2-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="bookings2-client">
-
- <!-- a test client for bookings2.composite -->
- <component name="Bookings2Client">
- <implementation.java class="scatours.client.impl.BookingsClientImpl" />
- <reference name="bookings" target="TripBooking" />
- </component>
-
- <!-- run bookings2.composite in the same SCA node -->
- <include name="t:bookings2" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings3-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings3-client.composite
deleted file mode 100644
index 21248976a6..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings3-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="bookings3-client">
-
- <!-- a test client for bookings3.composite -->
- <component name="Bookings3Client">
- <implementation.java class="scatours.client.impl.BookingsClientImpl" />
- <reference name="bookings" target="TripBooking" />
- </component>
-
- <!-- run bookings3.composite in the same SCA node -->
- <include name="t:bookings3" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings4-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings4-client.composite
deleted file mode 100644
index bc3af6ae4a..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/bookings4-client.composite
+++ /dev/null
@@ -1,35 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="bookings4-client">
-
- <!-- a test client for bookings4.composite -->
- <component name="Bookings4Client">
- <implementation.java class="scatours.client.impl.BookingsZeroClientImpl" />
- <reference name="bookings">
- <binding.jms uri="jms:Bookings" />
- </reference>
- </component>
-
- <!-- run bookings4.composite in the same SCA node -->
- <include name="t:bookings4" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings1-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings1-client.composite
deleted file mode 100644
index 363f498997..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings1-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="carbookings1-client">
-
- <!-- a test client for carbookings1.composite -->
- <component name="CarBookings1Client">
- <implementation.java class="scatours.client.impl.CarBookingsClientImpl" />
- <reference name="cars" target="CarPartner" />
- </component>
-
- <!-- run carbookings1.composite in the same SCA node -->
- <include name="t:carbookings1" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings2-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings2-client.composite
deleted file mode 100644
index f80eaf4eca..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings2-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="carbookings2-client">
-
- <!-- a test client for carbookings2.composite -->
- <component name="CarBookings2Client">
- <implementation.java class="scatours.client.impl.CarBookingsClientImpl" />
- <reference name="cars" target="CarPartner" />
- </component>
-
- <!-- run carbookings2.composite in the same SCA node -->
- <include name="t:carbookings2" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings3-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings3-client.composite
deleted file mode 100644
index e3cf379de3..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/carbookings3-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="carbookings3-client">
-
- <!-- a test client for carbookings3.composite -->
- <component name="CarBookings3Client">
- <implementation.java class="scatours.client.impl.CarBookingsClientImpl" />
- <reference name="cars" target="CarPartner" />
- </component>
-
- <!-- run carbookings3.composite in the same SCA node -->
- <include name="t:carbookings3" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/converter-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/converter-client.composite
deleted file mode 100644
index c488a454b4..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/converter-client.composite
+++ /dev/null
@@ -1,34 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="converter-client">
-
- <!-- a test client for converter.composite -->
- <component name="ConverterClient">
- <implementation.java class="scatours.client.impl.ConverterClientImpl" />
- <reference name="eur2jpy" target="EURJPYConverter" />
- <reference name="usd2gbp" target="USDGBPConverter" />
- </component>
-
- <!-- run converter.composite in the same SCA node -->
- <include name="t:converter" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/hotelsdomain-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/hotelsdomain-client.composite
deleted file mode 100644
index 597a5f0a4f..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/hotelsdomain-client.composite
+++ /dev/null
@@ -1,34 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- xmlns:h="http://tuscanyscahotels.com/"
- name="hotelsdomain-client">
-
- <!-- a test client for hotelsdomain.composite -->
- <component name="HotelsDomainClient">
- <implementation.java class="scatours.client.impl.HotelOffersClientImpl" />
- <reference name="offers" target="HotelOffers" />
- </component>
-
- <!-- run hotelsdomain.composite in the same SCA node -->
- <include name="h:hotelsdomain" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/orders1-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/orders1-client.composite
deleted file mode 100644
index 9015e14cb8..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/orders1-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="orders1-client">
-
- <!-- a test client for orders1.composite -->
- <component name="Orders1Client">
- <implementation.java class="scatours.client.impl.Orders1ClientImpl" />
- <reference name="customer" target="Customer" />
- </component>
-
- <!-- run orders1.composite in the same SCA node -->
- <include name="t:orders1" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/orders2-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/orders2-client.composite
deleted file mode 100644
index f9ae67332b..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/orders2-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="orders2-client">
-
- <!-- a test client for orders2.composite -->
- <component name="Orders2Client">
- <implementation.java class="scatours.client.impl.Orders2ClientImpl" />
- <reference name="customer" target="Customer" />
- </component>
-
- <!-- run orders2.composite in the same SCA node -->
- <include name="t:orders2" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/toursdomain-client.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/toursdomain-client.composite
deleted file mode 100644
index b84dbe8f72..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/test-clients/toursdomain-client.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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://tuscanyscatours.com/"
- xmlns:t="http://tuscanyscatours.com/"
- name="toursdomain-client">
-
- <!-- a test client for toursdomain.composite -->
- <component name="ToursDomainClient">
- <implementation.java class="scatours.client.impl.BookingsZeroClientImpl" />
- <reference name="bookings" target="TripBooking" />
- </component>
-
- <!-- run toursdomain.composite in the same SCA node -->
- <include name="t:toursdomain" />
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/toursdomain.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/toursdomain.composite
deleted file mode 100644
index c04fb897d7..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/main/resources/toursdomain.composite
+++ /dev/null
@@ -1,39 +0,0 @@
-<?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://tuscanyscatours.com/"
- name="toursdomain">
- <component name="TripBooking">
- <implementation.java
- class="com.tuscanyscatours.using.impl.TripBookingImpl" />
- <reference name="flights">
- <binding.ws
- uri="http://flightbookingservice.com:8084/Flights" />
- </reference>
- <reference name="hotels">
- <binding.ws uri="http://tuscanyscahotels.com:8083/Hotels" />
- </reference>
- <reference name="cars" target="CarPartner/Cars" />
- </component>
- <component name="CarPartner">
- <implementation.java
- class="com.tuscanyscatours.using.impl.CarVendorImpl" />
- </component>
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/AirportCodesTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/AirportCodesTestCase.java
deleted file mode 100644
index 53d9029e7f..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/AirportCodesTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests the AirportCodes component implementation class
- */
-public class AirportCodesTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/airportcodes-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "AirportCodesClient");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/BindingsTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/BindingsTestCase.java
deleted file mode 100644
index 2daa59245e..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/BindingsTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests services and references with configured bindings
- */
-public class BindingsTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/bookings4-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "Bookings4Client");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarAutowireTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarAutowireTestCase.java
deleted file mode 100644
index bf20e7cae1..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarAutowireTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests autowiring of references with different multiplicities
- */
-public class CarAutowireTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/carbookings3-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "CarBookings3Client");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarPartnerTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarPartnerTestCase.java
deleted file mode 100644
index 18e43e7a8b..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarPartnerTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests wiring of references with different multiplicities
- */
-public class CarPartnerTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/carbookings1-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "CarBookings1Client");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarWireElementTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarWireElementTestCase.java
deleted file mode 100644
index 997460e0ea..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CarWireElementTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests wire elements for references with different multiplicities
- */
-public class CarWireElementTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/carbookings2-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "CarBookings2Client");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/ComplexPropertyElementTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/ComplexPropertyElementTestCase.java
deleted file mode 100644
index 177b4b2355..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/ComplexPropertyElementTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests complex properties defined as XML Schema global elements
- */
-public class ComplexPropertyElementTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/orders1-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "Orders1Client");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/ComplexPropertyTypeTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/ComplexPropertyTypeTestCase.java
deleted file mode 100644
index 168d8f3273..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/ComplexPropertyTypeTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests complex properties defined as XML Schema types
- */
-public class ComplexPropertyTypeTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/orders2-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "Orders2Client");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CurrencyConverterTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CurrencyConverterTestCase.java
deleted file mode 100644
index dec2ae9976..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/CurrencyConverterTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests the CurrencyConverterImpl component implementation class
- */
-public class CurrencyConverterTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/converter-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "ConverterClient");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/MultiDomainTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/MultiDomainTestCase.java
deleted file mode 100644
index a7028f6d8c..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/MultiDomainTestCase.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests the multiple domains with bindings scenario
- */
-public class MultiDomainTestCase {
-
- private SCANode hotelsNode;
- private SCANode toursNode;
-
- @Before
- public void startServer() throws Exception {
- hotelsNode = SCANodeFactory.newInstance().createSCANode("test-clients/hotelsdomain-client.composite",
- new SCAContribution("using", "./target/classes"));
- hotelsNode.start();
- toursNode = SCANodeFactory.newInstance().createSCANode("test-clients/toursdomain-client.composite",
- new SCAContribution("using", "./target/classes"));
- toursNode.start();
- }
-
- @Test
- public void testImpl() {
- Runnable hotelsClient = ((SCAClient)hotelsNode).getService(Runnable.class, "HotelsDomainClient");
- hotelsClient.run();
- Runnable toursClient = ((SCAClient)toursNode).getService(Runnable.class, "ToursDomainClient");
- toursClient.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (toursNode != null) {
- toursNode.stop();
- }
- if (hotelsNode != null) {
- hotelsNode.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripAutowireTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripAutowireTestCase.java
deleted file mode 100644
index a6f1df98ef..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripAutowireTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests the use of autowire in the Trip Booking implementation scenario
- */
-public class TripAutowireTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/bookings3-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "Bookings3Client");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripBookingTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripBookingTestCase.java
deleted file mode 100644
index d08d176464..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripBookingTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests the Trip Booking implementation scenario
- */
-public class TripBookingTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/bookings1-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "Bookings1Client");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripWireElementTestCase.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripWireElementTestCase.java
deleted file mode 100644
index 36811a98d8..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/java/scatours/TripWireElementTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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 scatours;
-
-import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCAContribution;
-import org.apache.tuscany.sca.node.SCANode;
-import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Tests the use of wire elements in the Trip Booking implementation scenario
- */
-public class TripWireElementTestCase {
-
- private SCANode node;
-
- @Before
- public void startServer() throws Exception {
- node = SCANodeFactory.newInstance().createSCANode("test-clients/bookings2-client.composite",
- new SCAContribution("using", "./target/classes"));
- node.start();
- }
-
- @Test
- public void testImpl() {
- Runnable client = ((SCAClient)node).getService(Runnable.class, "Bookings2Client");
- client.run();
- }
-
- @After
- public void stopServer() throws Exception {
- if (node != null) {
- node.stop();
- }
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/resources/jndi.properties b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/resources/jndi.properties
deleted file mode 100644
index 80236a8e6c..0000000000
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/using/src/test/resources/jndi.properties
+++ /dev/null
@@ -1,38 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.
-## ---------------------------------------------------------------------------
-
-# START SNIPPET: jndi
-
-java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
-
-# use the following property to configure the default connector
-java.naming.provider.url = vm://localhost?broker.persistent=false
-
-# use the following property to specify the JNDI name the connection factory
-# should appear as.
-#connectionFactoryNames = connectionFactory, queueConnectionFactory, topicConnectionFactry
-connectionFactoryNames = ConnectionFactory
-
-# register some queues in JNDI using the form
-# queue.[jndiName] = [physicalName]
-queue.Bookings = BookingsRequestQueue
-
-# register some topics in JNDI using the form
-# topic.[jndiName] = [physicalName]
-#topic.MyTopic = example.MyTopic
-
-# END SNIPPET: jndi