summaryrefslogtreecommitdiffstats
path: root/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging')
-rw-r--r--sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/LoggerImpl.componentType28
-rw-r--r--sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/LoggingFacility.wsdl37
-rw-r--r--sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/supplychain.logging.composite34
3 files changed, 99 insertions, 0 deletions
diff --git a/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/LoggerImpl.componentType b/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/LoggerImpl.componentType
new file mode 100644
index 0000000000..e78e602635
--- /dev/null
+++ b/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/LoggerImpl.componentType
@@ -0,0 +1,28 @@
+<?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.
+-->
+
+<componentType xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <service name="LoggingService">
+ <interface.cpp header="Logging.h"/>
+ </service>
+
+</componentType> \ No newline at end of file
diff --git a/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/LoggingFacility.wsdl b/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/LoggingFacility.wsdl
new file mode 100644
index 0000000000..c78357b1a8
--- /dev/null
+++ b/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/LoggingFacility.wsdl
@@ -0,0 +1,37 @@
+<?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 name="LoggingFacility"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
+ xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+
+ <wsdl:import
+ namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
+ location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl" />
+
+ <wsdl:service name="LoggingFacilityService">
+ <wsdl:port name="LoggingFacilityPort"
+ binding="tns:LoggingFacilitySoapBinding">
+ <soap:address
+ location="http://localhost:9090/axis2/services/LoggingFacility" />
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
diff --git a/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/supplychain.logging.composite b/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/supplychain.logging.composite
new file mode 100644
index 0000000000..2b28c8f9e2
--- /dev/null
+++ b/sca-cpp/branches/cpp-contrib/contrib/samples/SupplyChain/supplychain.logging/supplychain.logging.composite
@@ -0,0 +1,34 @@
+<?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"
+ name="supplychain.logging">
+
+ <service name="LoggingService">
+ <interface.wsdl interface="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl#wsdl.interface(LoggingFacilityLogPortType)"/>
+ <binding.ws endpoint="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl#wsdl.endpoint(LoggingFacilityService/LoggingFacilityPort)"/>
+ <reference>Logger/Logging</reference>
+ </service>
+
+ <component name="Logger">
+ <implementation.cpp library="logging" header="LoggerImpl.h"/>
+ </component>
+
+</composite>