You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2007/07/27 21:11:13 UTC

svn commit: r560354 - in /incubator/tuscany/cpp/sca: ./ runtime/core/ runtime/core/xsd/ xsd/

Author: robbinspg
Date: Fri Jul 27 12:11:12 2007
New Revision: 560354

URL: http://svn.apache.org/viewvc?view=rev&rev=560354
Log:
Move location of core SCA schema to cpp/sca/runtime/core

Added:
    incubator/tuscany/cpp/sca/runtime/core/xsd/
    incubator/tuscany/cpp/sca/runtime/core/xsd/sca-core.xsd   (with props)
    incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-composite.xsd   (with props)
    incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-java.xsd   (with props)
    incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-java.xsd   (with props)
    incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-wsdl.xsd   (with props)
    incubator/tuscany/cpp/sca/runtime/core/xsd/sca.xsd   (with props)
    incubator/tuscany/cpp/sca/runtime/core/xsd/tuscany.xsd   (with props)
Removed:
    incubator/tuscany/cpp/sca/xsd/
Modified:
    incubator/tuscany/cpp/sca/Makefile.am
    incubator/tuscany/cpp/sca/runtime/core/Makefile.am
    incubator/tuscany/cpp/sca/runtime/core/build.xml
    incubator/tuscany/cpp/sca/runtime/core/deploy.bat

Modified: incubator/tuscany/cpp/sca/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/Makefile.am?view=diff&rev=560354&r1=560353&r2=560354
==============================================================================
--- incubator/tuscany/cpp/sca/Makefile.am (original)
+++ incubator/tuscany/cpp/sca/Makefile.am Fri Jul 27 12:11:12 2007
@@ -20,8 +20,7 @@
 datadir=$(prefix)
 
 data_DATA = INSTALL README LICENSE COPYING NOTICE GettingStarted.html
-nobase_data_DATA = xsd/*.*
-EXTRA_DIST = LICENSE COPYING INSTALL README NOTICE GettingStarted.html xsd build_scanative.sh
+EXTRA_DIST = LICENSE COPYING INSTALL README NOTICE GettingStarted.html build_scanative.sh
 dist-hook:
 	rm -rf `find $(distdir)/ -type d -name .svn`
 	rm -rf `find $(distdir)/ -type d -name .deps`

Modified: incubator/tuscany/cpp/sca/runtime/core/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/Makefile.am?view=diff&rev=560354&r1=560353&r2=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/Makefile.am (original)
+++ incubator/tuscany/cpp/sca/runtime/core/Makefile.am Fri Jul 27 12:11:12 2007
@@ -16,3 +16,5 @@
 #  under the License.
 
 SUBDIRS = src
+nobase_data_DATA = xsd/*.*
+EXTRA_DIST = xsd
\ No newline at end of file

Modified: incubator/tuscany/cpp/sca/runtime/core/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/build.xml?view=diff&rev=560354&r1=560353&r2=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/build.xml (original)
+++ incubator/tuscany/cpp/sca/runtime/core/build.xml Fri Jul 27 12:11:12 2007
@@ -27,19 +27,18 @@
     This makes path setting in system.xml much simpler, but we'll just have to
     set a property here to this directory.
   -->
-  <property name="this.dir"           location="${basedir}/runtime/core/src"/>
-  <property name="core.dir"           value="tuscany/sca/core"/>
-  <property name="extension.dir"      value="tuscany/sca/extension"/>
-  <property name="model.dir"          value="tuscany/sca/model"/>
-  <property name="util.dir"           value="tuscany/sca/util"/>
-  <property name="xsd.dir"            value="${basedir}/xsd"/>
+  <property name="this.dir"           location="${basedir}/runtime/core"/>
+  <property name="core.dir"           value="src/tuscany/sca/core"/>
+  <property name="extension.dir"      value="src/tuscany/sca/extension"/>
+  <property name="model.dir"          value="src/tuscany/sca/model"/>
+  <property name="util.dir"           value="src/tuscany/sca/util"/>
 
   <property name="core.abs.dir"       location="${this.dir}/${core.dir}"/>
   <property name="extension.abs.dir"  location="${this.dir}/${extension.dir}"/>
   <property name="model.abs.dir"      location="${this.dir}/${model.dir}"/>
   <property name="util.abs.dir"       location="${this.dir}/${util.dir}"/>
-  <property name="xsd.abs.dir"        location="${xsd.dir}"/>
-  <property name="lib.dir"            location="${this.dir}/.libs"/>
+  <property name="xsd.abs.dir"        location="${this.dir}/xsd"/>
+  <property name="lib.dir"            location="${this.dir}/src.libs"/>
   <property name="tuscany.core.lib"   value="tuscany_sca"/>
 
   <!--
@@ -203,7 +202,7 @@
     <antcall target="install.util"/>
     <antcall target="install.xsd"/>
     <cpp-install-files
-        srcdir="${this.dir}/tuscany/sca"
+        srcdir="${this.dir}/src/tuscany/sca"
         files="export.h"
         destdir="${tuscanySCA.install.dir}/include/tuscany/sca"/>
     <cpp-install-lib

Modified: incubator/tuscany/cpp/sca/runtime/core/deploy.bat
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/deploy.bat?view=diff&rev=560354&r1=560353&r2=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/deploy.bat (original)
+++ incubator/tuscany/cpp/sca/runtime/core/deploy.bat Fri Jul 27 12:11:12 2007
@@ -57,7 +57,7 @@
 copy %srcdir%\tuscany\sca\model\*.h %deploydir%\include\tuscany\sca\model
 copy %srcdir%\tuscany\sca\util\*.h %deploydir%\include\tuscany\sca\util
 
-copy %rootdir%\xsd\*.* %deploydir%\xsd
+copy %rootdir%\runtime\core\xsd\*.* %deploydir%\xsd
 
 copy %inpath%\tuscany_sca.lib %deploydir%\lib
 copy %inpath%\tuscany_sca.dll %deploydir%\bin

Added: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-core.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/xsd/sca-core.xsd?view=auto&rev=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/xsd/sca-core.xsd (added)
+++ incubator/tuscany/cpp/sca/runtime/core/xsd/sca-core.xsd Fri Jul 27 12:11:12 2007
@@ -0,0 +1,182 @@
+<?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 xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+    
+    <element name="componentType" type="sca:ComponentType" />
+    <complexType name="ComponentType">
+        <sequence>
+            <element minOccurs="0" maxOccurs="unbounded" name="service" type="sca:ServiceType" />
+            <element minOccurs="0" maxOccurs="unbounded" name="reference" type="sca:ReferenceType" />
+            <element minOccurs="0" maxOccurs="unbounded" name="property" type="sca:PropertyType" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+    
+    <element name="composite" type="sca:Composite" />
+    <complexType name="Composite">
+        <sequence>
+            <element minOccurs="0" maxOccurs="unbounded" name="include" type="anyURI" />
+            <element minOccurs="0" maxOccurs="unbounded" name="service" type="sca:CompositeServiceType" />
+            <element minOccurs="0" maxOccurs="unbounded" name="property" type="sca:PropertyType" />
+            <element minOccurs="0" maxOccurs="unbounded" name="component" type="sca:Component" />
+            <element minOccurs="0" maxOccurs="unbounded" name="reference" type="sca:CompositeReferenceType" />
+            <element minOccurs="0" maxOccurs="unbounded" name="wire" type="sca:Wire" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+    
+    <complexType name="CompositeServiceType">
+        <sequence>
+            <element ref="sca:interface" minOccurs="1" maxOccurs="1" />
+            <element ref="sca:binding" minOccurs="0" maxOccurs="unbounded" />
+            <element name="reference" minOccurs="0" maxOccurs="unbounded" type="anyURI" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <attribute name="multiplicity" type="sca:Multiplicity" use="optional" default="1..1" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+    <!-- a multiplicity 1..1 or 0..n sample
+        <reference>StockQuoteComponent</reference>        - type must be URI
+        a multiplicity 1..n or 0..n sample
+        <reference>StockQuoteComponent1</reference>        - type must be URI
+        <reference>StockQuoteComponent2</reference>
+    -->
+
+
+    <element name="interface" type="sca:Interface" abstract="true"/>
+    <complexType name="Interface" abstract="true"/>
+
+    <complexType name="CompositeReferenceType">
+        <sequence>
+            <element ref="sca:interface" minOccurs="1" maxOccurs="1" />
+            <element ref="sca:binding" minOccurs="0" maxOccurs="unbounded" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <attribute name="multiplicity" type="sca:Multiplicity" use="optional" default="1..1" />
+        <attribute name="override" type="sca:OverrideOptions" default="may" use="optional" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+
+    <complexType name="ServiceType">
+        <sequence>
+            <element ref="sca:interface" minOccurs="1" maxOccurs="1" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+
+    <complexType name="ReferenceType">
+        <sequence>
+            <element ref="sca:interface" minOccurs="1" maxOccurs="1" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <attribute name="multiplicity" type="sca:Multiplicity" use="optional" default="1..1" />
+        <attribute name="override" type="sca:OverrideOptions" default="may" use="optional" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+
+    <complexType name="PropertyType">
+        <complexContent>
+            <extension base="anyType">
+                <attribute name="name" type="NCName" use="required" />
+                <attribute name="type" type="QName" use="required" />
+                <attribute name="many" type="boolean" default="false" use="optional" />
+                <attribute name="override" type="sca:OverrideOptions" default="may" use="optional" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+
+    <element name="binding" type="sca:Binding" abstract="true" />
+    <complexType name="Binding" abstract="true">
+        <attribute name="uri" type="anyURI" use="optional" />
+    </complexType>
+
+    <complexType name="Component">
+        <sequence>
+            <element ref="sca:implementation" minOccurs="1" maxOccurs="1" />
+            <element name="reference" type="sca:Reference" minOccurs="0" maxOccurs="unbounded" />
+            <element name="property" type="sca:Property" minOccurs="0" maxOccurs="unbounded" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+    
+    <complexType name="Property">
+        <complexContent>
+            <extension base="anyType">
+                <attribute name="name" type="NCName" use="required" />
+                <attribute name="source" type="string" use="optional" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+
+    <complexType name="Reference">
+        <simpleContent>
+            <extension base="anyURI">
+                <attribute name="name" type="NCName" use="required" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </simpleContent>
+    </complexType>
+
+    <element name="implementation" type="sca:Implementation" abstract="true" />
+    <complexType name="Implementation" abstract="true"/>
+
+    <complexType name="Wire">
+        <sequence>
+            <element name="source" type="anyURI" minOccurs="1" maxOccurs="1" />
+            <element name="target" type="anyURI" minOccurs="1" maxOccurs="1" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+
+    <simpleType name="Multiplicity">
+        <restriction base="string">
+            <enumeration value="0..1" />
+            <enumeration value="1..1" />
+            <enumeration value="0..n" />
+            <enumeration value="1..n" />
+        </restriction>
+    </simpleType>
+
+    <simpleType name="OverrideOptions">
+        <restriction base="string">
+            <enumeration value="no" />
+            <enumeration value="may" />
+            <enumeration value="must" />
+        </restriction>
+    </simpleType>
+    
+</schema>

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-core.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-core.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-composite.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-composite.xsd?view=auto&rev=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-composite.xsd (added)
+++ incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-composite.xsd Fri Jul 27 12:11:12 2007
@@ -0,0 +1,38 @@
+<?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 xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+    
+    <element name="implementation.composite" type="sca:SCAImplementation" substitutionGroup="sca:implementation"/>
+    <complexType name="SCAImplementation">
+        <complexContent>
+            <extension base="sca:Implementation">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+                <attribute name="name" type="NCName" use="required" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+</schema>

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-composite.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-composite.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-java.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-java.xsd?view=auto&rev=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-java.xsd (added)
+++ incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-java.xsd Fri Jul 27 12:11:12 2007
@@ -0,0 +1,38 @@
+<?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 xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+    
+    <element name="implementation.java" type="sca:JavaImplementation" substitutionGroup="sca:implementation"/>
+    <complexType name="JavaImplementation">
+        <complexContent>
+            <extension base="sca:Implementation">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+                <attribute name="class" type="NCName" use="required" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+</schema>

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-java.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-implementation-java.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-java.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-java.xsd?view=auto&rev=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-java.xsd (added)
+++ incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-java.xsd Fri Jul 27 12:11:12 2007
@@ -0,0 +1,39 @@
+<?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 xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+    
+    <element name="interface.java" type="sca:JavaInterface" substitutionGroup="sca:interface"/>
+    <complexType name="JavaInterface">
+        <complexContent>
+            <extension base="sca:Interface">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+                <attribute name="interface" type="NCName" use="required" />
+                <attribute name="callbackInterface" type="NCName" use="optional" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+</schema>

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-java.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-java.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-wsdl.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-wsdl.xsd?view=auto&rev=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-wsdl.xsd (added)
+++ incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-wsdl.xsd Fri Jul 27 12:11:12 2007
@@ -0,0 +1,39 @@
+<?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 xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+
+    <element name="interface.wsdl" type="sca:WSDLPortType" substitutionGroup="sca:interface"/>
+    <complexType name="WSDLPortType">
+        <complexContent>
+            <extension base="sca:Interface">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+                <attribute name="interface" type="anyURI" use="required" />
+                <attribute name="callbackInterface" type="anyURI" use="optional" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+</schema>

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-wsdl.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca-interface-wsdl.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/runtime/core/xsd/sca.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/xsd/sca.xsd?view=auto&rev=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/xsd/sca.xsd (added)
+++ incubator/tuscany/cpp/sca/runtime/core/xsd/sca.xsd Fri Jul 27 12:11:12 2007
@@ -0,0 +1,31 @@
+<?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 xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0">
+
+    <include schemaLocation="sca-core.xsd" />
+    <include schemaLocation="sca-interface-java.xsd" />
+    <include schemaLocation="sca-interface-wsdl.xsd" />
+    <include schemaLocation="sca-implementation-java.xsd" />
+    <include schemaLocation="sca-implementation-composite.xsd" />
+
+</schema>

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/sca.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/runtime/core/xsd/tuscany.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/xsd/tuscany.xsd?view=auto&rev=560354
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/xsd/tuscany.xsd (added)
+++ incubator/tuscany/cpp/sca/runtime/core/xsd/tuscany.xsd Fri Jul 27 12:11:12 2007
@@ -0,0 +1,50 @@
+<?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	xmlns="http://www.w3.org/2001/XMLSchema" 
+		targetNamespace="http://org.apache.tuscany/xmlns/cpp/1.0" 
+		xmlns:tuscany="http://org.apache.tuscany/xmlns/cpp/1.0"
+		elementFormDefault="qualified">
+
+  <element name="tuscany-model" type="tuscany:ModelType"/>
+  <complexType name="ModelType">
+    <sequence>
+      <element minOccurs="0" maxOccurs="1" name="wsdl" type="tuscany:WSDLType"/>
+      <element minOccurs="0" maxOccurs="1" name="xsd" type="tuscany:XSDType"/>
+    </sequence>
+  </complexType>
+
+  <complexType name="WSDLType">
+    <sequence>
+      <element minOccurs="0" maxOccurs="unbounded" name="file" type="tuscany:FileType"/>
+    </sequence>
+  </complexType>
+
+  <complexType name="XSDType">
+    <sequence>
+      <element minOccurs="0" maxOccurs="unbounded" name="file" type="tuscany:FileType"/>
+    </sequence>
+  </complexType>
+
+  <complexType name="FileType">
+     <attribute name="name" type="NCName" use="required"/>
+  </complexType>
+
+</schema>

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/tuscany.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/xsd/tuscany.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org