diff options
Diffstat (limited to 'branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources')
6 files changed, 0 insertions, 460 deletions
diff --git a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/Alerts.wsdl b/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/Alerts.wsdl deleted file mode 100644 index 8b376240c8..0000000000 --- a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/Alerts.wsdl +++ /dev/null @@ -1,88 +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. ---> -<wsdl:definitions targetNamespace="http://tuscany.apache.org/sca/demos/aggregator/service" - xmlns:tns="http://tuscany.apache.org/sca/demos/aggregator/service" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - name="Alerter"> - - <wsdl:types> - <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://tuscany.apache.org/sca/demos/aggregator/service" - xmlns:alerter="http://tuscany.apache.org/sca/demos/aggregator/types" - elementFormDefault="qualified"> - - <xsd:import namespace="http://tuscany.apache.org/sca/demos/aggregator/types" - schemaLocation="Alerts.xsd" /> - - <element name="getAllNewAlerts"> - <xsd:complexType> - <sequence> - <element name="parm" type="string" /> - </sequence> - </xsd:complexType> - </element> - - <element name="getAllNewAlertsResponse"> - <complexType> - <sequence> - <element name="parm" type="alerter:AlertsType" /> - </sequence> - </complexType> - </element> - - </xsd:schema> - </wsdl:types> - - <wsdl:message name="GetAllNewAlertsRequest"> - <wsdl:part element="tns:getAllNewAlerts" name="parameters" /> - </wsdl:message> - <wsdl:message name="GetAllNewAlertsResponse"> - <wsdl:part element="tns:getAllNewAlertsResponse" name="parameters" /> - </wsdl:message> - - <wsdl:portType name="AlertsPortType"> - <wsdl:operation name="getAllNewAlerts"> - <wsdl:input message="tns:GetAllNewAlertsRequest" name="GetAllNewAlertsRequestMsg" /> - <wsdl:output message="tns:GetAllNewAlertsResponse" name="GetAllNewAlertsResponseMsg" /> - </wsdl:operation> - </wsdl:portType> - - <wsdl:binding name="AlertsBinding" type="tns:AlertsPortType"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="getAllNewAlerts"> - <wsdlsoap:operation soapAction="" /> - <wsdl:input name="GetAllNewAlertsRequestMsg"> - <wsdlsoap:body use="literal" /> - </wsdl:input> - <wsdl:output name="GetAllNewAlertsResponseMsg"> - <wsdlsoap:body use="literal" /> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - - <wsdl:service name="AlertsService"> - <wsdl:port name="AlertsPort" binding="tns:AlertsBinding"> - <wsdlsoap:address location="http://localhost:8085/services/AlertsServiceWebServiceBinding" /> - </wsdl:port> - </wsdl:service> - -</wsdl:definitions> diff --git a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/Alerts.xsd b/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/Alerts.xsd deleted file mode 100644 index f0ec561ad8..0000000000 --- a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/Alerts.xsd +++ /dev/null @@ -1,80 +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. ---> -<schema targetNamespace="http://tuscany.apache.org/sca/demos/aggregator/types" - xmlns="http://www.w3.org/2001/XMLSchema" - xmlns:ns="http://tuscany.apache.org/sca/demos/aggregator/types"> - <element name="Alerts" type="ns:AlertsType"/> - - <complexType name="AlertType"> - <sequence> - <element name="Title" type="string"/> - <element name="Summary" type="string"/> - <element name="Address" type="anyURI" maxOccurs="1" minOccurs="1"/> - <element name="Date" type="string" maxOccurs="1" minOccurs="1"/> - </sequence> - <attribute name="SourceId" type="string" use="optional"/> - <attribute name="Unread" type="boolean" use="optional"/> - <attribute name="Id" type="string" use="optional"/> - </complexType> - - <complexType name="AlertsType"> - <sequence> - <element name="Alert" type="ns:AlertType" maxOccurs="unbounded" minOccurs="0" /> - </sequence> - </complexType> - - <complexType name="SourceType"> - <sequence> - <element name="Name" type="string" maxOccurs="1" minOccurs="1"/> - <element name="Address" type="anyURI" maxOccurs="1" minOccurs="1"/> - <element name="LastChecked" type="string" maxOccurs="1" minOccurs="0"/> - <element name="FeedAddress" type="string" maxOccurs="1" minOccurs="0"/> - <element name="PopServer" type="string" maxOccurs="1" minOccurs="0"/> - <element name="PopUsername" type="string" maxOccurs="1" minOccurs="0"/> - <element name="PopPassword" type="string" maxOccurs="1" minOccurs="0"/> - <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> - </sequence> - <attribute name="Id" type="string" use="optional"/> - <attribute name="FeedType" use="required"> - <simpleType> - <restriction base="string"> - <enumeration value="rss"/> - <enumeration value="pop"/> - <enumeration value="nntp"/> - </restriction> - </simpleType> - </attribute> - </complexType> - - <complexType name="ConfigType"> - <sequence> - <element name="Source" type="ns:SourceType" maxOccurs="unbounded" minOccurs="0"/> - </sequence> - </complexType> - - <complexType name="SingleSourceType"> - <sequence> - <element name="Source" type="ns:SourceType"/> - </sequence> - </complexType> - - <element name="Config" type="ns:ConfigType"/> - <element name="Source" type="ns:SourceType"/> -</schema>
\ No newline at end of file diff --git a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/AlertsSources.wsdl b/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/AlertsSources.wsdl deleted file mode 100644 index d5642a32d1..0000000000 --- a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/AlertsSources.wsdl +++ /dev/null @@ -1,124 +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. ---> -<wsdl:definitions targetNamespace="http://tuscany.apache.org/sca/demos/aggregator/sources" - xmlns:tns="http://tuscany.apache.org/sca/demos/aggregator/sources" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - name="Alerter"> - - <wsdl:types> - <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://tuscany.apache.org/sca/demos/aggregator/sources" - xmlns:alerter="http://tuscany.apache.org/sca/demos/aggregator/types" - elementFormDefault="qualified"> - - <xsd:import namespace="http://tuscany.apache.org/sca/demos/aggregator/types" - schemaLocation="Alerts.xsd" /> - - <element name="getAlertSources"> - <xsd:complexType> - <sequence> - <element name="parm" type="string" /> - </sequence> - </xsd:complexType> - </element> - - <element name="getAlertSourcesResponse"> - <complexType> - <sequence> - <element name="parm" type="alerter:ConfigType" /> - </sequence> - </complexType> - </element> - - <element name="addAlertSource"> - <xsd:complexType> - <sequence> - <element name="parm" type="alerter:SourceType"/> - </sequence> - </xsd:complexType> - </element> - - <element name="addAlertSourceResponse"> - <complexType> - <sequence> - <element name="parm" type="string" /> - </sequence> - </complexType> - </element> - - </xsd:schema> - </wsdl:types> - - <wsdl:message name="GetAlertSourcesRequest"> - <wsdl:part element="tns:getAlertSources" name="parameters" /> - </wsdl:message> - <wsdl:message name="GetAlertSourcesResponse"> - <wsdl:part element="tns:getAlertSourcesResponse" name="parameters" /> - </wsdl:message> - - <wsdl:message name="AddAlertSourceRequest"> - <wsdl:part element="tns:addAlertSource" name="parameters" /> - </wsdl:message> - <wsdl:message name="AddAlertSourceResponse"> - <wsdl:part element="tns:addAlertSourceResponse" name="parameters" /> - </wsdl:message> - - <wsdl:portType name="AlertsSourcesPortType"> - <wsdl:operation name="getAlertSources"> - <wsdl:input message="tns:GetAlertSourcesRequest" name="GetAlertSourcesRequestMsg" /> - <wsdl:output message="tns:GetAlertSourcesResponse" name="GetAlertSourcesResponseMsg" /> - </wsdl:operation> - <wsdl:operation name="addAlertSource"> - <wsdl:input message="tns:AddAlertSourceRequest" name="AddAlertSourceRequestMsg" /> - <wsdl:output message="tns:AddAlertSourceResponse" name="AddAlertSourceResponseMsg" /> - </wsdl:operation> - </wsdl:portType> - - <wsdl:binding name="AlertsSourcesBinding" type="tns:AlertsSourcesPortType"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="getAlertSources"> - <wsdlsoap:operation soapAction="" /> - <wsdl:input name="GetAlertSourcesRequestMsg"> - <wsdlsoap:body use="literal" /> - </wsdl:input> - <wsdl:output name="GetAlertSourcesResponseMsg"> - <wsdlsoap:body use="literal" /> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="addAlertSource"> - <wsdlsoap:operation soapAction="" /> - <wsdl:input name="AddAlertSourceRequestMsg"> - <wsdlsoap:body use="literal" /> - </wsdl:input> - <wsdl:output name="AddAlertSourceResponseMsg"> - <wsdlsoap:body use="literal" /> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - - <wsdl:service name="AlertsSourcesService"> - <wsdl:port name="AlertsSourcesPort" binding="tns:AlertsSourcesBinding"> - <wsdlsoap:address location="http://localhost:8085/services/AlertsSourcesServiceWebServiceBinding" /> - </wsdl:port> - </wsdl:service> - -</wsdl:definitions> diff --git a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/alerts-client.composite b/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/alerts-client.composite deleted file mode 100644 index 49f44f9da8..0000000000 --- a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/alerts-client.composite +++ /dev/null @@ -1,49 +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" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
- xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
- xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0" targetNamespace="http://sample"
- name="FeedAggregatorClient">
-
- <!-- SDO factory classes -->
- <!-- dbsdo:import.sdo factory="org.apache.tuscany.sca.demos.aggregator.service.ServiceFactory"/ -->
- <!-- dbsdo:import.sdo factory="org.apache.tuscany.sca.demos.aggregator.types.TypesFactory"/ -->
-
- <component name="AlertsFeedServiceComponent">
- <implementation.java class="org.apache.tuscany.sca.demos.aggregator.AlertsFeedServiceImpl" />
- <reference name="alerts" target="AlertsServiceComponent" />
- </component>
-
- <component name="AlertsServiceComponent">
- <implementation.java class="org.apache.tuscany.sca.demos.aggregator.AlertsServiceImpl" />
- <reference name="rssChecker" target="RSSCheckerComponent" />
- <reference name="alertsSources" target="AlertsSourcesServiceComponent" />
- </component>
-
- <component name="AlertsSourcesServiceComponent">
- <implementation.java class="org.apache.tuscany.sca.demos.aggregator.AlertsSourcesServiceImpl" />
- </component>
-
- <!-- The RSS reader -->
- <component name="RSSCheckerComponent">
- <implementation.java class="org.apache.tuscany.sca.demos.aggregator.RSSCheckerServiceImpl" />
- </component>
-
-</composite>
diff --git a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/alerts.composite b/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/alerts.composite deleted file mode 100644 index c359b275be..0000000000 --- a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/alerts.composite +++ /dev/null @@ -1,85 +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"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
- xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
- xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
- targetNamespace="http://sample"
- name="FeedAggregator">
-
- <!-- SDO factory classes -->
- <!-- dbsdo:import.sdo factory="org.apache.tuscany.sca.demos.aggregator.service.ServiceFactory"/ -->
- <!-- dbsdo:import.sdo factory="org.apache.tuscany.sca.demos.aggregator.types.TypesFactory"/ -->
-
- <!-- The alerts rss service -->
- <service name="AlertsFeedServiceRSS" promote="AlertsFeedServiceComponent/Collection">
- <tuscany:binding.rss />
- </service>
-
- <!-- The alerts atom service -->
- <service name="AlertsFeedServiceAtom" promote="AlertsFeedServiceComponent/Collection">
- <tuscany:binding.atom />
- </service>
-
- <component name="AlertsFeedServiceComponent">
- <implementation.java class="org.apache.tuscany.sca.demos.aggregator.AlertsFeedServiceImpl" />
- <reference name="alerts" target="AlertsServiceComponent"/>
- </component>
-
- <!-- The alerts web service -->
- <service name="AlertsService" promote="AlertsServiceComponent">
- <interface.wsdl interface="http://tuscany.apache.org/sca/demos/aggregator/service#wsdl.interface(AlertsPortType)"/>
- <binding.ws wsdlElement="http://tuscany.apache.org/sca/demos/aggregator/service#wsdl.port(AlertsService/AlertsPort)"/>
- </service>
-
- <!-- The alerts jsonrpc service -->
- <service name="AlertsServiceJSONRPC" promote="AlertsServiceComponent/AlertsService">
- <interface.java interface="org.apache.tuscany.sca.demos.aggregator.AlertsService" />
- <tuscany:binding.jsonrpc />
- </service>
-
- <component name="AlertsServiceComponent">
- <implementation.java class="org.apache.tuscany.sca.demos.aggregator.AlertsServiceImpl" />
- <reference name="rssChecker" target="RSSCheckerComponent"/>
- <reference name="alertsSources" target="AlertsSourcesServiceComponent"/>
- </component>
-
- <!-- The alerts sources web service -->
- <service name="AlertsSourcesService" promote="AlertsSourcesServiceComponent">
- <interface.wsdl interface="http://tuscany.apache.org/sca/demos/aggregator/sources#wsdl.interface(AlertsSourcesPortType)"/>
- <binding.ws wsdlElement="http://tuscany.apache.org/sca/demos/aggregator/sources#wsdl.port(AlertsSourcesService/AlertsSourcesPort)"/>
- </service>
-
- <!-- The alerts jsonrpc service -->
- <service name="AlertsSourcesServiceJSONRPC" promote="AlertsSourcesServiceComponent/AlertsSourcesService">
- <interface.java interface="org.apache.tuscany.sca.demos.aggregator.AlertsSourcesService" />
- <tuscany:binding.jsonrpc />
- </service>
-
- <component name="AlertsSourcesServiceComponent">
- <implementation.java class="org.apache.tuscany.sca.demos.aggregator.AlertsSourcesServiceImpl" />
- </component>
-
- <!-- The RSS reader -->
- <component name="RSSCheckerComponent">
- <implementation.java class="org.apache.tuscany.sca.demos.aggregator.RSSCheckerServiceImpl"/>
- </component>
-
-</composite>
diff --git a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/sources.xml b/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/sources.xml deleted file mode 100644 index e45250eddb..0000000000 --- a/branches/sca-java-1.5/demos/alert-aggregator-webapp/src/main/resources/sources.xml +++ /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. ---> -<!-- Note: the demo expects LastChecked date in ISO 8601 format (yyyy-MM-dd hh:mm:ss). --> -<ns0:Config xmlns:ns0="http://tuscany.apache.org/sca/demos/aggregator/types"> -<ns0:Source Id="0" FeedType="rss"> - <ns0:Name>BBC News</ns0:Name> - <ns0:Address>http://news.bbc.co.uk/</ns0:Address> - <ns0:LastChecked>2008-06-20 12:00:00</ns0:LastChecked> - <ns0:FeedAddress>http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml</ns0:FeedAddress> -</ns0:Source> -<ns0:Source Id="1" FeedType="rss"> - <ns0:Name>Engadget</ns0:Name> - <ns0:Address>http://www.engadget.com</ns0:Address> - <ns0:LastChecked>2008-06-20 12:00:00</ns0:LastChecked> - <ns0:FeedAddress>http://www.engadget.com/rss.xml</ns0:FeedAddress> -</ns0:Source> -</ns0:Config> |