You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by aj...@apache.org on 2006/09/26 17:28:05 UTC
svn commit: r450083 [3/4] - in
/incubator/tuscany/cpp/sca/test/ws.service.interop: ./ deploy/ resources/
ws.service.interop.client/ ws.service.interop/
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop30.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop30.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop30.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop30.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop">
+
+ <include schemaLocation="interop28.xsd"/>
+
+ <complexType name="ComplexTypeOpenContentType">
+ <sequence>
+ <any namespace="##any"/>
+ </sequence>
+ </complexType>
+
+ <element name="RootElement30">
+ <complexType>
+ <sequence>
+ <element name="ComplexTypeOpenContent" type="tns:ComplexTypeOpenContentType"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop31-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop31-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop31-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop31-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement31 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop31.xsd">
+ <ComplexTypeOpenAttributes SomeOpenAttribute="Some Open Attribute">
+ <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+ </ComplexTypeOpenAttributes>
+</tns:RootElement31>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop31.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop31.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop31.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop31.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop">
+
+ <include schemaLocation="interop10.xsd"/>
+
+ <attribute name="SomeOpenAttribute" type="string"/>
+
+ <complexType name="ComplexTypeOpenAttributesType">
+ <sequence>
+ <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+ </sequence>
+ <anyAttribute namespace="##any"/>
+ </complexType>
+
+ <element name="RootElement31">
+ <complexType>
+ <sequence>
+ <element name="ComplexTypeOpenAttributes" type="tns:ComplexTypeOpenAttributesType"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop32-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop32-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop32-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop32-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement32 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop32.xsd">
+
+ <ComplexTypeReferencedDataObject DataObjectId="idvalue0">
+ <SomeData>some data string</SomeData>
+ </ComplexTypeReferencedDataObject>
+
+ <ComplexTypeReferencingDataObject DataObjectId="idvalue1"
+ AttributeWithSDOPropertyType="idvalue0">
+ <OppositeProperty>idvalue2</OppositeProperty>
+ </ComplexTypeReferencingDataObject>
+
+ <ComplexTypeOppositeProperty DataObjectId="idvalue2"
+ AttributeWithSDOPropertyType="idvalue1" />
+</tns:RootElement32>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop32.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop32.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop32.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop32.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:sdo="commonj.sdo">
+
+ <complexType name="ComplexTypeReferencedDataObjectType">
+ <sequence>
+ <element name="SomeData" type="string"/>
+ </sequence>
+ <attribute name="DataObjectId" type="ID"/>
+ </complexType>
+
+ <complexType name="ComplexTypeReferencingDataObjectType">
+ <sequence>
+ <element name="OppositeProperty" type="ID"/>
+ </sequence>
+ <attribute name="AttributeWithSDOPropertyType" type="IDREF"
+ sdo:propertyType="tns:ComplexTypeReferencedDataObjectType"/>
+ <attribute name="DataObjectId" type="ID"/>
+ </complexType>
+
+ <complexType name="ComplexTypeOppositePropertyType">
+ <sequence>
+ </sequence>
+ <attribute name="AttributeWithSDOPropertyType" type="IDREF"
+ sdo:propertyType="tns:ComplexTypeReferencingDataObjectTestType"
+ sdo:oppositeProperty="OppositeProperty"/>
+ <attribute name="DataObjectId" type="ID"/>
+ </complexType>
+
+ <element name="RootElement32">
+ <complexType>
+ <sequence>
+ <element name="ComplexTypeReferencedDataObject" type="tns:ComplexTypeReferencedDataObjectType"/>
+ <element name="ComplexTypeReferencingDataObject" type="tns:ComplexTypeReferencingDataObjectType"/>
+ <element name="ComplexTypeOppositeProperty" type="tns:ComplexTypeOppositePropertyType"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop33-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop33-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop33-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop33-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<RootElement33 xmlns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop33.xsd">
+
+ <ComplexTypeAttributesTest Attribute="Attribute"
+ AttributeWithDefaultValue="AttributeWithDefaultValueDefaultValue"
+ AttributeWithFixedValue="AttributeWithFixedValueFixedValue"
+ AttributeWithSDOAliasName="AttributeWithSDOAliasName"
+ AttributeWithSDODataType="AttributeWithSDODataType"
+ AttributeWithSDOName="AttributeWithSDODataType"
+ AttributeWithSDOPropertySDOOppositePropertyType="idvalue0"
+ AttributeWithSDOPropertyType="idvalue0"
+ AttributeWithSDOString="AttributeWithSDOString"
+ AttributeReference="AttributeReference"/>
+</RootElement33>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop33.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop33.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop33.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop33.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:sdo="commonj.sdo">
+
+ <attribute name="AttributeReference" type="string"/>
+
+ <complexType name="ComplexTypeAttributesTestType">
+ <sequence>
+ </sequence>
+ <attribute name="Attribute" type="string"/>
+ <attribute name="AttributeWithSDOName" sdo:name="AttributeWithSDONameSDOName" type="string"/>
+ <attribute name="AttributeWithSDOAliasName" sdo:aliasName="AttributeWithSDOAliasNameSDOAliasName" type="string"/>
+ <attribute name="AttributeWithDefaultValue" type="string" default="AttributeWithDefaultValueDefaultValue"/>
+ <attribute name="AttributeWithFixedValue" type="string" fixed="AttributeWithFixedValueFixedValue"/>
+ <attribute ref="tns:AttributeReference"/>
+ <attribute name="AttributeWithSDOString" type="string" sdo:string="true"/>
+ <attribute name="AttributeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType"/>
+ <attribute name="AttributeWithSDOPropertySDOOppositePropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType" sdo:oppositeProperty="tns:AttributeWithSDOPropertyType"/>
+ <attribute name="AttributeWithSDODataType" sdo:dataType="string" type="string"/>
+ </complexType>
+
+ <element name="RootElement33">
+ <complexType>
+ <sequence>
+ <element name="ComplexTypeAttributesTest" type="tns:ComplexTypeAttributesTestType"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop34-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop34-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop34-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop34-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement34 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop34.xsd">
+ <ElementWithSDOName>ElementWithSDOName</ElementWithSDOName>
+</tns:RootElement34>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop34.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop34.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop34.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop34.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:sdo="commonj.sdo">
+
+ <element name="RootElement34">
+ <complexType>
+ <sequence>
+ <element name="ElementWithSDOName" sdo:name="ElementWithSDONameSDOName" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop35-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop35-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop35-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop35-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement35 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop35.xsd">
+ <ElementWithSDOAliasName>
+ ElementWithSDOAliasName
+ </ElementWithSDOAliasName>
+</tns:RootElement35>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop35.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop35.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop35.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop35.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:sdo="commonj.sdo">
+
+ <element name="RootElement35">
+ <complexType>
+ <sequence>
+ <element name="ElementWithSDOAliasName" sdo:aliasName="ElementWithSDOAliasNameSDOAliasName" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop36-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop36-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop36-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop36-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement36 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop36.xsd">
+ <ElementWithMaxOccurs>ElementWithMaxOccurs</ElementWithMaxOccurs>
+</tns:RootElement36>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop36.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop36.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop36.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop36.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop">
+
+ <element name="RootElement36">
+ <complexType>
+ <sequence>
+ <element name="ElementWithMaxOccurs" type="string" maxOccurs="2"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop37-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop37-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop37-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop37-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement37 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop37.xsd">
+ <Element1InChoice>Element1InChoice</Element1InChoice>
+ <Element2InChoice>Element2InChoice</Element2InChoice>
+</tns:RootElement37>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop37.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop37.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop37.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop37.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop">
+
+ <group name="Group1">
+ <sequence>
+ <element name="Element1InChoice" type="string" maxOccurs="2"/>
+ <element name="Element2InChoice" type="string" />
+ </sequence>
+ </group>
+
+ <group name="Group2">
+ <sequence>
+ <element name="Element2InChoice" type="string" />
+ <element name="Element1InChoice" type="string" maxOccurs="2"/>
+ </sequence>
+ </group>
+
+ <element name="RootElement37">
+ <complexType>
+ <sequence>
+ <choice maxOccurs="3">
+ <group ref="tns:Group1"/>
+ <group ref="tns:Group2"/>
+ </choice>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop38-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop38-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop38-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop38-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement38 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop38.xsd">
+ <ElementInAll>
+ <ElementInAllOne>ElementInAllOne</ElementInAllOne>
+ <ElementInAllTwo>ElementInAllTwo</ElementInAllTwo>
+ </ElementInAll>
+</tns:RootElement38>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop38.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop38.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop38.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop38.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop">
+
+ <complexType name="ComplexTypeElementInAllTestType">
+ <all>
+ <element name="ElementInAllOne" type="string"/>
+ <element name="ElementInAllTwo" type="string"/>
+ </all>
+ </complexType>
+
+ <element name="RootElement38">
+ <complexType>
+ <sequence>
+ <choice maxOccurs="3">
+ <element name="ElementInAll" type="tns:ComplexTypeElementInAllTestType"/>
+ </choice>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop39-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop39-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop39-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop39-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement39 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop39.xsd">
+ <ElementWithNillable/>
+ <ElementWithNillable xsi:nil="true"/>
+</tns:RootElement39>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop40-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop40-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop40-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop40-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<RootElement40 xmlns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop40.xsd">
+
+ <ElementSubstitutionGroupBase>
+ <ElementInSubstitutionGroupBase>
+ ElementInSubstitutionGroupBase
+ </ElementInSubstitutionGroupBase>
+ </ElementSubstitutionGroupBase>
+
+ <ElementSubstitutionUnrelated>Some Data</ElementSubstitutionUnrelated>
+
+ <ElementSubstitutionGroupExtends>
+ <ElementInSubstitutionGroupBase>
+ ElementInSubstitutionGroupBase
+ </ElementInSubstitutionGroupBase>
+ <ElementInSubstitutionGroupExtends>
+ ElementInSubstitutionGroupExtends
+ </ElementInSubstitutionGroupExtends>
+ </ElementSubstitutionGroupExtends>
+
+
+</RootElement40>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop40.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop40.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop40.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop40.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop">
+
+ <complexType name="ComplexTypeSubstitutionGroupBaseType">
+ <sequence>
+ <element name="ElementInSubstitutionGroupBase" type="string"/>
+ </sequence>
+ </complexType>
+ <element name="ElementSubstitutionGroupBase" type="tns:ComplexTypeSubstitutionGroupBaseType"/>
+
+ <element name="ElementSubstitutionGroupUnrelated" type="string" substitutionGroup="tns:ElementSubstitutionGroupBase"/>
+
+ <complexType name="ComplexTypeSubstitutionGroupExtendsType">
+ <complexContent>
+ <extension base="tns:ComplexTypeSubstitutionGroupBaseType">
+ <sequence>
+ <element name="ElementInSubstitutionGroupExtends" type="string"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <element name="ElementSubstitutionGroupExtends" type="tns:ComplexTypeSubstitutionGroupExtendsType" substitutionGroup="tns:ElementSubstitutionGroupBase"/>
+
+ <element name="RootElement40">
+ <complexType>
+ <sequence>
+ <element ref="tns:ElementSubstitutionGroupBase" maxOccurs="unbounded" />
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop41-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop41-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop41-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop41-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement41 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop41.xsd">
+ <ElementOfSimpleTypeWithDefault>
+ ElementOfSimpleTypeWithDefaultDefault
+ </ElementOfSimpleTypeWithDefault>
+</tns:RootElement41>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop41.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop41.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop41.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop41.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop">
+
+ <element name="RootElement41">
+ <complexType>
+ <sequence>
+ <element name="ElementOfSimpleTypeWithDefault" type="string" default="ElementOfSimpleTypeWithDefaultDefault" />
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop42-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop42-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop42-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop42-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement42 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop42.xsd">
+ <ElementOfSimpleTypeWithFixed>
+ ElementOfSimpleTypeWithFixedFixed
+ </ElementOfSimpleTypeWithFixed>
+</tns:RootElement42>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop42.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop42.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop42.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop42.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop">
+
+ <element name="RootElement42">
+ <complexType>
+ <sequence>
+ <element name="ElementOfSimpleTypeWithFixed" type="string" fixed="ElementOfSimpleTypeWithFixedFixed" />
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop43-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop43-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop43-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop43-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement43 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop43.xsd">
+ <ElementOfSimpleTypeWithSDOString>
+ ElementOfSimpleTypeWithSDOString
+ </ElementOfSimpleTypeWithSDOString>
+</tns:RootElement43>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop43.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop43.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop43.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop43.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:sdo="commonj.sdo">
+
+ <element name="RootElement43">
+ <complexType>
+ <sequence>
+ <element name="ElementOfSimpleTypeWithSDOString" type="string" sdo:string="true"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop44-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop44-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop44-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop44-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement44 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop44.xsd">
+ <ElementOfSimpleTypeWithSDOPropertyType>
+ idvalue0
+ </ElementOfSimpleTypeWithSDOPropertyType>
+</tns:RootElement44>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop44.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop44.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop44.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop44.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:sdo="commonj.sdo">
+
+ <element name="RootElement44">
+ <complexType>
+ <sequence>
+ <element name="ElementOfSimpleTypeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop45-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop45-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop45-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop45-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement45 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop45.xsd">
+ <ElementOfSimpleTypeWithSDOOppositePropertyType>
+ idvalue0
+ </ElementOfSimpleTypeWithSDOOppositePropertyType>
+</tns:RootElement45>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop45.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop45.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop45.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop45.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:sdo="commonj.sdo">
+
+
+ <element name="RootElement45">
+ <complexType>
+ <sequence>
+ <element name="ElementOfSimpleTypeWithSDOOppositePropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType" sdo:oppositeProperty="tns:ElementOfSimpleTypeWithSDOPropertyType"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop46-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop46-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop46-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop46-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement46 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop46.xsd">
+ <ElementOfSimpleTypeWithSDODataType>
+ ElementOfSimpleTypeWithSDODataType
+ </ElementOfSimpleTypeWithSDODataType>
+</tns:RootElement46>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop46.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop46.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop46.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop46.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:sdo="commonj.sdo">
+
+
+ <element name="RootElement46">
+ <complexType>
+ <sequence>
+ <element name="ElementOfSimpleTypeWithSDODataType" type="string" sdo:dataType="string"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop47-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop47-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop47-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop47-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<RootElement47 xmlns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop47.xsd">
+ <ElementOfSDOChangeSummaryType create="abc" delete="def" logging="true">
+ <ChangeSummaryElement>
+ ChangeSummaryText
+ </ChangeSummaryElement>
+ </ElementOfSDOChangeSummaryType>
+</RootElement47>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop47.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop47.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop47.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop47.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:sdo="commonj.sdo">
+
+ <import schemaLocation="datagraph.xsd" namespace="commonj.sdo"/>
+
+ <element name="RootElement47">
+ <complexType>
+ <sequence>
+ <element name="ElementOfSDOChangeSummaryType" type="sdo:ChangeSummaryType"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop50-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop50-in.xml?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop50-in.xml (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop50-in.xml Tue Sep 26 08:28:00 2006
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.
+ -->
+<tns:RootElement50 xmlns:tns="http://www.apache.org/tuscany/interop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.apache.org/tuscany/interop interop50.xsd">
+ <anySimpleType>anySimpleType</anySimpleType>
+ <anyType>AnyTypeString</anyType>
+ <anyURI>http://tempuri.org</anyURI>
+ <base64Binary>ABCD</base64Binary>
+ <boolean>true</boolean>
+ <boolean>false</boolean>
+ <boolean>1</boolean>
+ <boolean>0</boolean>
+ <byte>128</byte>
+ <byte>-127</byte>
+ <date>2001-01-01</date>
+ <dateTime>2001-12-31T12:00:00</dateTime>
+ <decimal>-1.23456789</decimal>
+ <decimal>1.23456789</decimal>
+ <double>0.0</double>
+ <double>12.3E-4</double>
+ <duration>P1D</duration>
+ <float>0.0</float>
+ <gDay>---01</gDay>
+ <gMonth>--01--</gMonth>
+ <gMonthDay>--01-01</gMonthDay>
+ <gYear>2001</gYear>
+ <gYearMonth>2001-01</gYearMonth>
+ <hexBinary>0F00</hexBinary>
+ <ID>idvalue0</ID>
+ <IDREF>idvalue0</IDREF>
+ <IDREFS>idvalue0</IDREFS>
+ <int>-2147483648</int>
+ <int>2147483647</int>
+ <integer>-2147483648</integer>
+ <integer>2147483647</integer>
+ <language>EN</language>
+ <long>-9223372036854775808</long>
+ <long>9223372036854775807</long>
+ <Name>Name</Name>
+ <NCName>NCName</NCName>
+ <negativeInteger>-1</negativeInteger>
+ <NMTOKEN>NMTOKEN</NMTOKEN>
+ <NMTOKENS>NMTOKENS</NMTOKENS>
+ <nonNegativeInteger>0</nonNegativeInteger>
+ <nonPositiveInteger>0</nonPositiveInteger>
+ <normalizedString>normalizedString</normalizedString>
+ <NOTATION>tns:interop50</NOTATION>
+ <positiveInteger>1</positiveInteger>
+ <QName>QName</QName>
+ <short>-32768</short>
+ <short>32767</short>
+ <string>string</string>
+ <time>12:00:00</time>
+ <token>token</token>
+ <unsignedByte>0</unsignedByte>
+ <unsignedByte>255</unsignedByte>
+ <unsignedInt>0</unsignedInt>
+ <unsignedInt>4294967295</unsignedInt>
+ <unsignedLong>0</unsignedLong>
+ <unsignedLong>18446744073709551615</unsignedLong>
+ <unsignedShort>0</unsignedShort>
+ <unsignedShort>65535</unsignedShort>
+</tns:RootElement50>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop50.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop50.xsd?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop50.xsd (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/resources/interop50.xsd Tue Sep 26 08:28:00 2006
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed 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.apache.org/tuscany/interop"
+ xmlns:tns="http://www.apache.org/tuscany/interop">
+
+<notation name="interop50" public="commonj.sdo"/>
+
+ <element name="RootElement50">
+ <complexType>
+ <sequence>
+ <element name="anySimpleType" type="anySimpleType" maxOccurs="unbounded"/>
+ <element name="anyType" type="anyType" maxOccurs="unbounded"/>
+ <element name="anyURI" type="anyURI" maxOccurs="unbounded"/>
+ <element name="base64Binary" type="base64Binary" maxOccurs="unbounded"/>
+ <element name="boolean" type="boolean" maxOccurs="unbounded"/>
+ <element name="byte" type="byte" maxOccurs="unbounded"/>
+ <element name="date" type="date" maxOccurs="unbounded"/>
+ <element name="dateTime" type="dateTime" maxOccurs="unbounded"/>
+ <element name="decimal" type="decimal" maxOccurs="unbounded"/>
+ <element name="double" type="double" maxOccurs="unbounded"/>
+ <element name="duration" type="duration" maxOccurs="unbounded"/>
+ <element name="float" type="float" maxOccurs="unbounded"/>
+ <element name="gDay" type="gDay" maxOccurs="unbounded"/>
+ <element name="gMonth" type="gMonth" maxOccurs="unbounded"/>
+ <element name="gMonthDay" type="gMonthDay" maxOccurs="unbounded"/>
+ <element name="gYear" type="gYear" maxOccurs="unbounded"/>
+ <element name="gYearMonth" type="gYearMonth" maxOccurs="unbounded"/>
+ <element name="hexBinary" type="hexBinary" maxOccurs="unbounded"/>
+ <element name="ID" type="ID" maxOccurs="unbounded"/>
+ <element name="IDREF" type="IDREF" maxOccurs="unbounded"/>
+ <element name="IDREFS" type="IDREFS" maxOccurs="unbounded"/>
+ <element name="int" type="int" maxOccurs="unbounded"/>
+ <element name="integer" type="integer" maxOccurs="unbounded"/>
+ <element name="language" type="language" maxOccurs="unbounded"/>
+ <element name="long" type="long" maxOccurs="unbounded"/>
+ <element name="Name" type="Name" maxOccurs="unbounded"/>
+ <element name="NCName" type="NCName" maxOccurs="unbounded"/>
+ <element name="negativeInteger" type="negativeInteger" maxOccurs="unbounded"/>
+ <element name="NMTOKEN" type="NMTOKEN" maxOccurs="unbounded"/>
+ <element name="NMTOKENS" type="NMTOKENS" maxOccurs="unbounded"/>
+ <element name="nonNegativeInteger" type="nonNegativeInteger" maxOccurs="unbounded"/>
+ <element name="nonPositiveInteger" type="nonPositiveInteger" maxOccurs="unbounded"/>
+ <element name="normalizedString" type="normalizedString" maxOccurs="unbounded"/>
+ <element name="NOTATION" maxOccurs="unbounded">
+ <simpleType >
+ <restriction base="NOTATION">
+ <enumeration value="tns:interop50"/>
+ </restriction>
+ </simpleType>
+ </element>
+ <element name="positiveInteger" type="positiveInteger" maxOccurs="unbounded"/>
+ <element name="QName" type="QName" maxOccurs="unbounded"/>
+ <element name="short" type="short" maxOccurs="unbounded"/>
+ <element name="string" type="string" maxOccurs="unbounded"/>
+ <element name="time" type="time" maxOccurs="unbounded"/>
+ <element name="token" type="token" maxOccurs="unbounded"/>
+ <element name="unsignedByte" type="unsignedByte" maxOccurs="unbounded"/>
+ <element name="unsignedInt" type="unsignedInt" maxOccurs="unbounded"/>
+ <element name="unsignedLong" type="unsignedLong" maxOccurs="unbounded"/>
+ <element name="unsignedShort" type="unsignedShort" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+</schema>
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/TestClient.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/TestClient.cpp?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/TestClient.cpp (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/TestClient.cpp Tue Sep 26 08:28:00 2006
@@ -0,0 +1,370 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+#include <axiom.h>
+#include <axis2_util.h>
+#include <axiom_soap.h>
+#include <axis2_client.h>
+
+#include <commonj/sdo/SDO.h>
+using namespace commonj::sdo;
+
+#include <sdo_axiom.h>
+using namespace commonj::sdo_axiom;
+
+#include <tuscany/sca/util/Utils.h>
+using namespace tuscany::sca;
+
+#include <string>
+#include <iostream>
+using namespace std;
+
+axiom_node_t* get_om_payload_from_xml_file(axis2_env_t *env, const char* currentTest);
+axiom_node_t* runCall(axis2_env_t *env, char* endpoint, char* opName, axiom_node_t* payload);
+void loadAllXSD();
+bool compareAxiomNodes(axiom_node_t* returned_payload, axiom_node_t* payload_data);
+
+XSDHelperPtr xsdHelper = NULL;
+XMLHelperPtr xmlHelper = NULL;
+
+
+int main(int argc, char** argv)
+{
+ axis2_env_t *env = NULL;
+ axis2_char_t *address = NULL;
+ axis2_char_t *testNumberString = "-1";
+
+ axis2_endpoint_ref_t* endpoint_ref = NULL;
+ axis2_options_t *options = NULL;
+ axis2_char_t *client_home = NULL;
+ axis2_svc_client_t* svc_client = NULL;
+ axiom_node_t *payload = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ /* Set up the envioronment */
+ env = axis2_env_create_all("ws.service.interop.client.log", AXIS2_LOG_LEVEL_TRACE);
+
+ /* Set end point reference of echo service */
+ address = "http://localhost:9090/axis2/services/ws.service";
+ if (argc > 1 )
+ testNumberString = argv[1];
+ if (argc > 2 )
+ address = argv[2];
+ if (AXIS2_STRCMP(testNumberString, "-h") == 0)
+ {
+ cout<<"Usage : "<< argv[0] <<"[test_number] [endpoint_url]"<<endl;
+ cout<<"use -h for help"<<endl;
+ return 0;
+ }
+
+ int testNumber = atoi(testNumberString);
+ if(testNumber > 0 && testNumber <= 50)
+ {
+ cout<<"Running test : "<< testNumber << endl;
+ }
+ else
+ {
+ testNumber = -1;
+ cout<<"Running all tests" << endl;
+ }
+
+ cout<<"Using endpoint : "<< address << endl;
+
+ const string interop = "Interop";
+
+ string currentTest;
+
+ int testsPassed = 0;
+ int testsRun = 0;
+ string failedTests = "";
+ string unsupportedTests = "";
+
+ loadAllXSD();
+
+ // Tests 1 to 50
+ for(int i=1; i<=50; i++)
+ {
+ if( testNumber != i &&
+ testNumber > 0 )
+ {
+ // Only running a single, chosen test
+ continue;
+ }
+ if( i==13 ||
+ i==48 ||
+ i==49 )
+ {
+ // Ignore non-existant schemas
+ continue;
+ }
+
+ currentTest = interop;
+ if(i<10)
+ {
+ currentTest.append("0");
+ }
+ char buf[3];
+ sprintf(buf, "%d", i);
+ currentTest.append(buf);
+
+ cout << "Running test " << currentTest << endl;
+
+ if( i==5 ||
+ i==25 ||
+ i==27 ||
+ i==39 )
+ {
+ cout << "We do not currently support schema " << currentTest << endl;
+ unsupportedTests += currentTest + " ";
+ continue;
+ }
+
+ testsRun++;
+
+ payload = get_om_payload_from_xml_file(env, currentTest.c_str());
+ axiom_node_t* returned_payload = NULL;
+ bool success = false;
+ if(payload)
+ {
+ returned_payload = runCall(env, address, (char*) currentTest.c_str(), payload);
+ }
+
+ if(returned_payload)
+ {
+ // Get the inner node to compare
+ axiom_node_t* payload_data = AXIOM_NODE_GET_FIRST_CHILD(payload, env);
+ success = compareAxiomNodes(returned_payload, payload_data);
+ }
+
+ if(success)
+ {
+ cout << currentTest << " PASSED!" << endl;
+ testsPassed++;
+ }
+ else
+ {
+ failedTests += currentTest + " ";
+ cout << currentTest << " FAILED!" << endl;
+ }
+
+ }
+ cout << "Passed " << testsPassed << " of " << testsRun << " tests" << endl;
+ if(failedTests.size() > 0)
+ {
+ cout << "Failed: " << failedTests << endl;
+ }
+ if(unsupportedTests.size() > 0)
+ {
+ cout << "Unsupported: " << unsupportedTests << endl;
+ }
+ return 0;
+}
+
+axiom_node_t* runCall(axis2_env_t *env, char* endpoint, char* opName, axiom_node_t* payload)
+{
+ axis2_char_t *address = endpoint;
+ axis2_endpoint_ref_t* endpoint_ref = NULL;
+ axis2_options_t *options = NULL;
+ axis2_char_t *client_home = NULL;
+ axis2_svc_client_t* svc_client = NULL;
+ axiom_node_t *ret_node = NULL;
+ axiom_node_t *ret = NULL;
+ char action [100];
+ int len = 0;
+
+ client_home = AXIS2_GETENV("AXIS2C_HOME");
+
+ /* Create EPR with given address */
+ endpoint_ref = axis2_endpoint_ref_create(env, address);
+
+ svc_client = axis2_svc_client_create(env, client_home);
+ if (!svc_client)
+ {
+ printf("Error creating service client\n");
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+
+ options = axis2_options_create(env);
+
+ AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref);
+
+ len = sprintf(action, "http://www.WSEntryPointTest.org/WSEntryPointTest/%s", opName);
+ AXIS2_OPTIONS_SET_ACTION(options, env, action);
+
+ /* Set service client options */
+ AXIS2_SVC_CLIENT_SET_OPTIONS(svc_client, env, options);
+
+ /* Engage addressing composite */
+ AXIS2_SVC_CLIENT_ENGAGE_MODULE(svc_client, env, AXIS2_MODULE_ADDRESSING);
+
+ /* Send request */
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);
+ if(ret_node)
+ {
+ ret = AXIOM_NODE_GET_FIRST_CHILD(ret_node, env);
+ if(!ret)
+ {
+ cout << "No data in response - failure on server" << endl;
+ }
+ }
+ else
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ }
+
+ if (svc_client)
+ {
+ AXIS2_SVC_CLIENT_FREE(svc_client, env);
+ svc_client = NULL;
+ }
+ if (endpoint_ref)
+ {
+ AXIS2_ENDPOINT_REF_FREE(endpoint_ref, env);
+ endpoint_ref = NULL;
+ }
+ return ret;
+}
+
+
+bool compareAxiomNodes(axiom_node_t* returned_payload, axiom_node_t* expected_payload)
+{
+ bool success = false;
+
+ AxiomHelper* axiomHelper = AxiomHelper::getHelper();
+ DataObjectPtr expectedDO = axiomHelper->toSdo(expected_payload, xsdHelper->getDataFactory());
+ DataObjectPtr returnedDO = axiomHelper->toSdo(returned_payload, xsdHelper->getDataFactory());
+
+ string diff;
+ success = Utils::compareDataObjects(expectedDO, returnedDO, diff);
+
+ if(!success)
+ {
+ cout << "Expected data does not match returned data:\n" << diff << "\nExpected data:"<<endl;
+ Utils::printDO(expectedDO);
+ cout << "Returned data:"<<endl;
+ Utils::printDO(returnedDO);
+ }
+ return success;
+}
+
+void loadAllXSD()
+{
+ const string resourcesDir = "./resources/";
+ const string dotxsd = ".xsd";
+
+ try
+ {
+ // Create an xsd helper
+ xsdHelper = HelperProvider::getXSDHelper();
+
+ // Tests 1 to 50
+ for(int i=1; i<=50; i++)
+ {
+ if( i==13 ||
+ i==48 ||
+ i==49 ||
+ i==5 ||
+ i==25 ||
+ i==27 ||
+ i==39 )
+ {
+ // Ignore non-existant/unsupported schemas
+ continue;
+ }
+
+ string currentTest = "Interop";
+ if(i<10)
+ {
+ currentTest.append("0");
+ }
+ char buf[3];
+ sprintf(buf, "%d", i);
+ currentTest.append(buf);
+
+ string xsdFileName = resourcesDir + currentTest + dotxsd;
+ xsdHelper->defineFile(xsdFileName.c_str());
+ }
+
+ }
+ catch(SDORuntimeException& ex)
+ {
+ cout << "SDORuntimeException whilst loading xsd" << endl;
+ cout << ex.getMessageText() << endl;
+ }
+}
+
+/* build SOAP request message content using OM */
+axiom_node_t* get_om_payload_from_xml_file(axis2_env_t *env, const char* currentTest)
+{
+ axiom_node_t* req_om_node = NULL;
+ axiom_node_t* payload_om_node = NULL;
+ const string resourcesDir = "./resources/";
+ const string dotxml = "-in.xml";
+
+ string xmlFileName = resourcesDir + currentTest + dotxml;
+
+ try
+ {
+
+ xmlHelper = HelperProvider::getXMLHelper(xsdHelper->getDataFactory());
+
+ XMLDocumentPtr payloadFile = xmlHelper->loadFile(xmlFileName.c_str());
+ string rootElemURI = payloadFile->getRootElementURI();
+ string rootElemName = payloadFile->getRootElementName();
+
+ DataObjectPtr payloadDO = payloadFile->getRootDataObject();
+
+ AxiomHelper* axiomHelper = AxiomHelper::getHelper();
+ payload_om_node = axiomHelper->toAxiomNode(payloadDO, rootElemURI.c_str(), rootElemName.c_str());
+
+ if(!payload_om_node)
+ {
+ payload_om_node = axiomHelper->toAxiomNode(payloadDO);
+ }
+
+ if(payload_om_node)
+ {
+ axiom_element_t* req_om_elem = NULL;
+ axiom_namespace_t *ns1 = NULL;
+ axis2_char_t *om_str = NULL;
+
+ ns1 = axiom_namespace_create (env, "http://www.apache.org/tuscany/interop", "ns1");
+ req_om_elem = axiom_element_create(env, NULL, currentTest, ns1, &req_om_node);
+ AXIOM_NODE_DETACH(payload_om_node, env);
+ AXIOM_NODE_ADD_CHILD(req_om_node, env, payload_om_node);
+ }
+ else
+ {
+ cout << "Could not convert xml document("<< xmlFileName <<") to Axiom" << endl;
+ return NULL;
+ }
+
+ }
+ catch(SDORuntimeException& ex)
+ {
+ cout << "SDORuntimeException whilst loading xml ("<< xmlFileName <<") & converting to Axiom" << endl;
+ cout << ex.getMessageText() << endl;
+ return NULL;
+ }
+
+ return req_om_node;
+}
+
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/runclient.bat
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/runclient.bat?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/runclient.bat (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/runclient.bat Tue Sep 26 08:28:00 2006
@@ -0,0 +1,27 @@
+@echo off
+
+@REM Licensed under the Apache License, Version 2.0 (the "License");
+@REM you may not use this file except in compliance with the License.
+@REM You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing, software
+@REM distributed under the License is distributed on an "AS IS" BASIS,
+@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@REM See the License for the specific language governing permissions and
+@REM limitations under the License.
+
+setlocal
+
+if "%AXIS2C_HOME%" == "" (
+echo "AXIS2C_HOME not set"
+goto end
+)
+echo Using Axis2C installed at %AXIS2C_HOME%
+
+rem Run the client
+.\ws.service.interop.client.exe
+
+:end
+endlocal
Added: incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj?view=auto&rev=450083
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj Tue Sep 26 08:28:00 2006
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="ws.service.interop.client"
+ ProjectGUID="{136C4966-3073-4EB0-9259-BC5E3B987D19}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="$(AXIS2C_HOME)/include, $(TUSCANY_SDOCPP)/include, $(TUSCANY_SCACPP)/include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="axiom.lib axis2_parser.lib axis2_util.lib axis2_engine.lib tuscany_sdo.lib tuscany_sdo_axiom.lib tuscany_sca.lib"
+ OutputFile="$(OutDir)/ws.service.interop.client.exe"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="$(AXIS2C_HOME)/lib, $(TUSCANY_SDOCPP)/lib, $(TUSCANY_SCACPP)/lib"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/ws.service.interop.client.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="..\deploy.cmd"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="4"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/service.ws.binding.client.exe"
+ LinkIncremental="1"
+ GenerateDebugInformation="TRUE"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath=".\TestClient.cpp">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ <File
+ RelativePath=".\runclient.bat">
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org