diff options
Diffstat (limited to 'tags/native-sca-1.0.incubating-M3/test/ws.service.interop')
114 files changed, 6501 insertions, 0 deletions
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am new file mode 100644 index 0000000000..bc0e430ee7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am @@ -0,0 +1,25 @@ +# 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. + +deploydir=$(prefix)/test/ws.service.interop/deploy/configuration +SUBDIRS = ws.service.interop ws.service.interop.client resources +EXTRA_DIST = ws.service.interop.solution +deploy_DATA = ws.service.interop/ws.service.interop.solution.composite + +TESTS = runtest.sh +TESTS_ENVIRONMENT = $(SHELL) -x + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat new file mode 100644 index 0000000000..3aab273673 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat @@ -0,0 +1,58 @@ +@echo off
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. 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,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+
+rem Will copy the correct files from the source tree for packaging and deployment of the
+rem SCA sample.
+setlocal
+set currentPath=%~d0%~p0
+set sourcePath=%currentPath%
+
+
+set destinationPath=%sourcePath%\deploy
+
+if not exist %destinationPath% mkdir %destinationPath%
+if not exist %destinationPath%\packages mkdir %destinationPath%\packages
+if not exist %destinationPath%\packages\ws.service.interop mkdir %destinationPath%\packages\ws.service.interop
+
+copy %sourcePath%\ws.service.interop\TestImpl.componentType %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\ws.service.interop\ws.service.interop.composite %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\ws.service.interop\Test.h %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\ws.service.interop\TestImpl.h %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\resources\interop.wsdl %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\resources\*.xsd %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\resources\*.xml %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\ws.service.interop\Debug\ws_service_interop.dll %destinationPath%\packages\ws.service.interop
+
+
+if not exist %destinationPath%\bin mkdir %destinationPath%\bin
+if not exist %destinationPath%\bin\resources mkdir %destinationPath%\bin\resources
+
+copy %sourcePath%\ws.service.interop.client\Debug\ws.service.interop.client.exe %destinationPath%\bin
+copy %sourcePath%\ws.service.interop.client\Debug\ws.service.interop.client.pdb %destinationPath%\bin
+copy %sourcePath%\ws.service.interop.client\runclient.bat %destinationPath%\bin
+copy %sourcePath%\ws.service.interop\runwsserver.bat %destinationPath%\bin
+copy %sourcePath%\resources\*.xsd %destinationPath%\bin\resources
+copy %sourcePath%\resources\*.xml %destinationPath%\bin\resources
+
+
+if not exist %destinationPath%\configuration mkdir %destinationPath%\configuration
+if not exist %destinationPath%\configuration\ws.service.interop.solution mkdir %destinationPath%\configuration\ws.service.interop.solution
+
+copy %sourcePath%\ws.service.interop\ws.service.interop.solution.composite %destinationPath%\configuration\ws.service.interop.solution
+
+endlocal
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am new file mode 100644 index 0000000000..0a482e82f1 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am @@ -0,0 +1,25 @@ +# 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. + +deploydir=$(prefix)/test/ws.service.interop/deploy +compositedir=$(deploydir)/packages/ws.service.interop +binresourcedir=$(deploydir)/bin/resources + +composite_DATA = *.xsd *.xml *.wsdl +binresource_DATA = *.xsd *.xml *.wsdl +EXTRA_DIST = *.xsd *.xml *.wsdl + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd new file mode 100644 index 0000000000..30727473a0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +/** + * <copyright> + * + * Service Data Objects + * Version 2.0 + * Licensed Materials - Property of BEA and IBM + * + * (c) Copyright BEA Systems, Inc. and International Business Machines Corp 2005. All rights reserved. + * + * </copyright> + * + */ +--> + +<xsd:schema + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sdo="commonj.sdo" + targetNamespace="commonj.sdo"> + + <xsd:element name="datagraph" type="sdo:DataGraphType"/> + + <xsd:complexType name="DataGraphType"> + <xsd:complexContent> + <xsd:extension base="sdo:BaseDataGraphType"> + <xsd:sequence> + <xsd:any minOccurs="0" maxOccurs="1" namespace="##other" processContents="lax"/> + </xsd:sequence> + </xsd:extension> + </xsd:complexContent> + </xsd:complexType> + + <xsd:complexType name="BaseDataGraphType" abstract="true"> + <xsd:sequence> + <xsd:element name="models" type="sdo:ModelsType" minOccurs="0"/> + <xsd:element name="xsd" type="sdo:XSDType" minOccurs="0"/> + <xsd:element name="changeSummary" type="sdo:ChangeSummaryType" minOccurs="0"/> + </xsd:sequence> + <xsd:anyAttribute namespace="##other" processContents="lax"/> + </xsd:complexType> + + <xsd:complexType name="ModelsType"> + <xsd:annotation> + <xsd:documentation> + Expected type is emof:Package. + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/> + </xsd:sequence> + </xsd:complexType> + + <xsd:complexType name="XSDType"> + <xsd:annotation> + <xsd:documentation> + Expected type is xsd:schema. + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="http://www.w3.org/2001/XMLSchema" processContents="lax"/> + </xsd:sequence> + </xsd:complexType> + + <xsd:complexType name="ChangeSummaryType"> + <xsd:sequence> + <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/> + </xsd:sequence> + <xsd:attribute name="create" type="xsd:string"/> + <xsd:attribute name="delete" type="xsd:string"/> + <xsd:attribute name="logging" type="xsd:boolean"/> + </xsd:complexType> + + <xsd:attribute name="ref" type="xsd:string"/> + +</xsd:schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd new file mode 100644 index 0000000000..082c389211 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd @@ -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. + --> + +<xsd:schema + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:imp="http://www.apache.org/tuscany/interop/import" + targetNamespace="http://www.apache.org/tuscany/interop/import"> + + <xsd:complexType name="ImportedType"> + <xsd:sequence> + <xsd:element name="AnElement" type="xsd:string"/> + <xsd:element name="AnotherElement" type="xsd:string"/> + </xsd:sequence> + </xsd:complexType> + +</xsd:schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl new file mode 100644 index 0000000000..258b31b2bd --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl @@ -0,0 +1,1814 @@ +<wsdl:definitions name="interop" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:interop="http://www.apache.org/tuscany/interop" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop"> + <wsdl:types> + <xsd:schema targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <xsd:include schemaLocation="interop01.xsd" /> + <xsd:include schemaLocation="interop02.xsd" /> + <xsd:include schemaLocation="interop03.xsd" /> + <xsd:include schemaLocation="interop04.xsd" /> + <!--xsd:include schemaLocation="interop05.xsd" /--> + <xsd:include schemaLocation="interop06.xsd" /> + <xsd:include schemaLocation="interop07.xsd" /> + <xsd:include schemaLocation="interop08.xsd" /> + <xsd:include schemaLocation="interop09.xsd" /> + <xsd:include schemaLocation="interop10.xsd" /> + <xsd:include schemaLocation="interop11.xsd" /> + <xsd:include schemaLocation="interop12.xsd" /> + <xsd:include schemaLocation="interop14.xsd" /> + <xsd:include schemaLocation="interop15.xsd" /> + <xsd:include schemaLocation="interop16.xsd" /> + <xsd:include schemaLocation="interop17.xsd" /> + <xsd:include schemaLocation="interop18.xsd" /> + <xsd:include schemaLocation="interop19.xsd" /> + <xsd:include schemaLocation="interop20.xsd" /> + <xsd:include schemaLocation="interop21.xsd" /> + <xsd:include schemaLocation="interop22.xsd" /> + <xsd:include schemaLocation="interop23.xsd" /> + <xsd:include schemaLocation="interop24.xsd" /> + <!--xsd:include schemaLocation="interop25.xsd" /--> + <xsd:include schemaLocation="interop26.xsd" /> + <!--xsd:include schemaLocation="interop27.xsd" /--> + <xsd:include schemaLocation="interop28.xsd" /> + <xsd:include schemaLocation="interop29.xsd" /> + <xsd:include schemaLocation="interop30.xsd" /> + <xsd:include schemaLocation="interop31.xsd" /> + <xsd:include schemaLocation="interop32.xsd" /> + <xsd:include schemaLocation="interop33.xsd" /> + <xsd:include schemaLocation="interop34.xsd" /> + <xsd:include schemaLocation="interop35.xsd" /> + <xsd:include schemaLocation="interop36.xsd" /> + <xsd:include schemaLocation="interop37.xsd" /> + <xsd:include schemaLocation="interop38.xsd" /> + <!--xsd:include schemaLocation="interop39.xsd" /--> + <xsd:include schemaLocation="interop40.xsd" /> + <xsd:include schemaLocation="interop41.xsd" /> + <xsd:include schemaLocation="interop42.xsd" /> + <xsd:include schemaLocation="interop43.xsd" /> + <xsd:include schemaLocation="interop44.xsd" /> + <xsd:include schemaLocation="interop45.xsd" /> + <xsd:include schemaLocation="interop46.xsd" /> + <xsd:include schemaLocation="interop47.xsd" /> + <xsd:include schemaLocation="interop50.xsd" /> + + <xsd:element name="interop01"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement01"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop01Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement01"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop02"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement02"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop02Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement02"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop03"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement03"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop03Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement03"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop04"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement04"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop04Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement04"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop05"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement05"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop05Response"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement05"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop06"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement06"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop06Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement06"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop07"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement07"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop07Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement07"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop08"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement08"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop08Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement08"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop09"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement09"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop09Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement09"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop10"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement10"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop10Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement10"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop11"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement11"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop11Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement11"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop12"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement12"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop12Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement12"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop14"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement14"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop14Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement14"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop15"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement15"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop15Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement15"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop16"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement16"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop16Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement16"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop17"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement17"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop17Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement17"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop18"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement18"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop18Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement18"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop19"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement19"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop19Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement19"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop20"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement20"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop20Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement20"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop21"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement21"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop21Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement21"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop22"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement22"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop22Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement22"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop23"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement23"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop23Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement23"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop24"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement24"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop24Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement24"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop25"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement25"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop25Response"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement25"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop26"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement26"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop26Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement26"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop27"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement27"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop27Response"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement27"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop28"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement28"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop28Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement28"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop29"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement29"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop29Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement29"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop30"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement30"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop30Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement30"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop31"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement31"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop31Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement31"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop32"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement32"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop32Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement32"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop33"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement33"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop33Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement33"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop34"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement34"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop34Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement34"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop35"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement35"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop35Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement35"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop36"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement36"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop36Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement36"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop37"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement37"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop37Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement37"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop38"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement38"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop38Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement38"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop39"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement39"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop39Response"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement39"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop40"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement40"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop40Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement40"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop41"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement41"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop41Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement41"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop42"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement42"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop42Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement42"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop43"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement43"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop43Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement43"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop44"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement44"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop44Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement44"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop45"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement45"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop45Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement45"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop46"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement46"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop46Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement46"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop47"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement47"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop47Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement47"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop50"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement50"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop50Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement50"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + </xsd:schema> + </wsdl:types> + + <wsdl:message name="interop01Request"> + <wsdl:part element="interop:interop01" name="interop01"/> + </wsdl:message> + <wsdl:message name="interop01Response"> + <wsdl:part element="interop:interop01Response" name="interop011Response"/> + </wsdl:message> + + <wsdl:message name="interop02Request"> + <wsdl:part element="interop:interop02" name="interop02"/> + </wsdl:message> + <wsdl:message name="interop02Response"> + <wsdl:part element="interop:interop02Response" name="interop021Response"/> + </wsdl:message> + + <wsdl:message name="interop03Request"> + <wsdl:part element="interop:interop03" name="interop03"/> + </wsdl:message> + <wsdl:message name="interop03Response"> + <wsdl:part element="interop:interop03Response" name="interop031Response"/> + </wsdl:message> + + <wsdl:message name="interop04Request"> + <wsdl:part element="interop:interop04" name="interop04"/> + </wsdl:message> + <wsdl:message name="interop04Response"> + <wsdl:part element="interop:interop04Response" name="interop041Response"/> + </wsdl:message> + + <wsdl:message name="interop05Request"> + <wsdl:part element="interop:interop05" name="interop05"/> + </wsdl:message> + <wsdl:message name="interop05Response"> + <wsdl:part element="interop:interop05Response" name="interop051Response"/> + </wsdl:message> + + <wsdl:message name="interop06Request"> + <wsdl:part element="interop:interop06" name="interop06"/> + </wsdl:message> + <wsdl:message name="interop06Response"> + <wsdl:part element="interop:interop06Response" name="interop061Response"/> + </wsdl:message> + + <wsdl:message name="interop07Request"> + <wsdl:part element="interop:interop07" name="interop07"/> + </wsdl:message> + <wsdl:message name="interop07Response"> + <wsdl:part element="interop:interop07Response" name="interop071Response"/> + </wsdl:message> + + <wsdl:message name="interop08Request"> + <wsdl:part element="interop:interop08" name="interop08"/> + </wsdl:message> + <wsdl:message name="interop08Response"> + <wsdl:part element="interop:interop08Response" name="interop081Response"/> + </wsdl:message> + + <wsdl:message name="interop09Request"> + <wsdl:part element="interop:interop09" name="interop09"/> + </wsdl:message> + <wsdl:message name="interop09Response"> + <wsdl:part element="interop:interop09Response" name="interop091Response"/> + </wsdl:message> + + <wsdl:message name="interop10Request"> + <wsdl:part element="interop:interop10" name="interop10"/> + </wsdl:message> + <wsdl:message name="interop10Response"> + <wsdl:part element="interop:interop10Response" name="interop101Response"/> + </wsdl:message> + + <wsdl:message name="interop11Request"> + <wsdl:part element="interop:interop11" name="interop11"/> + </wsdl:message> + <wsdl:message name="interop11Response"> + <wsdl:part element="interop:interop11Response" name="interop111Response"/> + </wsdl:message> + + <wsdl:message name="interop12Request"> + <wsdl:part element="interop:interop12" name="interop12"/> + </wsdl:message> + <wsdl:message name="interop12Response"> + <wsdl:part element="interop:interop12Response" name="interop121Response"/> + </wsdl:message> + + <wsdl:message name="interop14Request"> + <wsdl:part element="interop:interop14" name="interop14"/> + </wsdl:message> + <wsdl:message name="interop14Response"> + <wsdl:part element="interop:interop14Response" name="interop141Response"/> + </wsdl:message> + + <wsdl:message name="interop15Request"> + <wsdl:part element="interop:interop15" name="interop15"/> + </wsdl:message> + <wsdl:message name="interop15Response"> + <wsdl:part element="interop:interop15Response" name="interop151Response"/> + </wsdl:message> + + <wsdl:message name="interop16Request"> + <wsdl:part element="interop:interop16" name="interop16"/> + </wsdl:message> + <wsdl:message name="interop16Response"> + <wsdl:part element="interop:interop16Response" name="interop161Response"/> + </wsdl:message> + + <wsdl:message name="interop17Request"> + <wsdl:part element="interop:interop17" name="interop17"/> + </wsdl:message> + <wsdl:message name="interop17Response"> + <wsdl:part element="interop:interop17Response" name="interop171Response"/> + </wsdl:message> + + <wsdl:message name="interop18Request"> + <wsdl:part element="interop:interop18" name="interop18"/> + </wsdl:message> + <wsdl:message name="interop18Response"> + <wsdl:part element="interop:interop18Response" name="interop181Response"/> + </wsdl:message> + + <wsdl:message name="interop19Request"> + <wsdl:part element="interop:interop19" name="interop19"/> + </wsdl:message> + <wsdl:message name="interop19Response"> + <wsdl:part element="interop:interop19Response" name="interop191Response"/> + </wsdl:message> + + <wsdl:message name="interop20Request"> + <wsdl:part element="interop:interop20" name="interop20"/> + </wsdl:message> + <wsdl:message name="interop20Response"> + <wsdl:part element="interop:interop20Response" name="interop201Response"/> + </wsdl:message> + + <wsdl:message name="interop21Request"> + <wsdl:part element="interop:interop21" name="interop21"/> + </wsdl:message> + <wsdl:message name="interop21Response"> + <wsdl:part element="interop:interop21Response" name="interop211Response"/> + </wsdl:message> + + <wsdl:message name="interop22Request"> + <wsdl:part element="interop:interop22" name="interop22"/> + </wsdl:message> + <wsdl:message name="interop22Response"> + <wsdl:part element="interop:interop22Response" name="interop221Response"/> + </wsdl:message> + + <wsdl:message name="interop23Request"> + <wsdl:part element="interop:interop23" name="interop23"/> + </wsdl:message> + <wsdl:message name="interop23Response"> + <wsdl:part element="interop:interop23Response" name="interop231Response"/> + </wsdl:message> + + <wsdl:message name="interop24Request"> + <wsdl:part element="interop:interop24" name="interop24"/> + </wsdl:message> + <wsdl:message name="interop24Response"> + <wsdl:part element="interop:interop24Response" name="interop241Response"/> + </wsdl:message> + + <wsdl:message name="interop25Request"> + <wsdl:part element="interop:interop25" name="interop25"/> + </wsdl:message> + <wsdl:message name="interop25Response"> + <wsdl:part element="interop:interop25Response" name="interop251Response"/> + </wsdl:message> + + <wsdl:message name="interop26Request"> + <wsdl:part element="interop:interop26" name="interop26"/> + </wsdl:message> + <wsdl:message name="interop26Response"> + <wsdl:part element="interop:interop26Response" name="interop261Response"/> + </wsdl:message> + + <wsdl:message name="interop27Request"> + <wsdl:part element="interop:interop27" name="interop27"/> + </wsdl:message> + <wsdl:message name="interop27Response"> + <wsdl:part element="interop:interop27Response" name="interop271Response"/> + </wsdl:message> + + <wsdl:message name="interop28Request"> + <wsdl:part element="interop:interop28" name="interop28"/> + </wsdl:message> + <wsdl:message name="interop28Response"> + <wsdl:part element="interop:interop28Response" name="interop281Response"/> + </wsdl:message> + + <wsdl:message name="interop29Request"> + <wsdl:part element="interop:interop29" name="interop29"/> + </wsdl:message> + <wsdl:message name="interop29Response"> + <wsdl:part element="interop:interop29Response" name="interop291Response"/> + </wsdl:message> + + <wsdl:message name="interop30Request"> + <wsdl:part element="interop:interop30" name="interop30"/> + </wsdl:message> + <wsdl:message name="interop30Response"> + <wsdl:part element="interop:interop30Response" name="interop301Response"/> + </wsdl:message> + + <wsdl:message name="interop31Request"> + <wsdl:part element="interop:interop31" name="interop31"/> + </wsdl:message> + <wsdl:message name="interop31Response"> + <wsdl:part element="interop:interop31Response" name="interop311Response"/> + </wsdl:message> + + <wsdl:message name="interop32Request"> + <wsdl:part element="interop:interop32" name="interop32"/> + </wsdl:message> + <wsdl:message name="interop32Response"> + <wsdl:part element="interop:interop32Response" name="interop321Response"/> + </wsdl:message> + + <wsdl:message name="interop33Request"> + <wsdl:part element="interop:interop33" name="interop33"/> + </wsdl:message> + <wsdl:message name="interop33Response"> + <wsdl:part element="interop:interop33Response" name="interop331Response"/> + </wsdl:message> + + <wsdl:message name="interop34Request"> + <wsdl:part element="interop:interop34" name="interop34"/> + </wsdl:message> + <wsdl:message name="interop34Response"> + <wsdl:part element="interop:interop34Response" name="interop341Response"/> + </wsdl:message> + + <wsdl:message name="interop35Request"> + <wsdl:part element="interop:interop35" name="interop35"/> + </wsdl:message> + <wsdl:message name="interop35Response"> + <wsdl:part element="interop:interop35Response" name="interop351Response"/> + </wsdl:message> + + <wsdl:message name="interop36Request"> + <wsdl:part element="interop:interop36" name="interop36"/> + </wsdl:message> + <wsdl:message name="interop36Response"> + <wsdl:part element="interop:interop36Response" name="interop361Response"/> + </wsdl:message> + + <wsdl:message name="interop37Request"> + <wsdl:part element="interop:interop37" name="interop37"/> + </wsdl:message> + <wsdl:message name="interop37Response"> + <wsdl:part element="interop:interop37Response" name="interop371Response"/> + </wsdl:message> + + <wsdl:message name="interop38Request"> + <wsdl:part element="interop:interop38" name="interop38"/> + </wsdl:message> + <wsdl:message name="interop38Response"> + <wsdl:part element="interop:interop38Response" name="interop381Response"/> + </wsdl:message> + + <wsdl:message name="interop39Request"> + <wsdl:part element="interop:interop39" name="interop39"/> + </wsdl:message> + <wsdl:message name="interop39Response"> + <wsdl:part element="interop:interop39Response" name="interop391Response"/> + </wsdl:message> + + <wsdl:message name="interop40Request"> + <wsdl:part element="interop:interop40" name="interop40"/> + </wsdl:message> + <wsdl:message name="interop40Response"> + <wsdl:part element="interop:interop40Response" name="interop401Response"/> + </wsdl:message> + + <wsdl:message name="interop41Request"> + <wsdl:part element="interop:interop41" name="interop41"/> + </wsdl:message> + <wsdl:message name="interop41Response"> + <wsdl:part element="interop:interop41Response" name="interop411Response"/> + </wsdl:message> + + <wsdl:message name="interop42Request"> + <wsdl:part element="interop:interop42" name="interop42"/> + </wsdl:message> + <wsdl:message name="interop42Response"> + <wsdl:part element="interop:interop42Response" name="interop421Response"/> + </wsdl:message> + + <wsdl:message name="interop43Request"> + <wsdl:part element="interop:interop43" name="interop43"/> + </wsdl:message> + <wsdl:message name="interop43Response"> + <wsdl:part element="interop:interop43Response" name="interop431Response"/> + </wsdl:message> + + <wsdl:message name="interop44Request"> + <wsdl:part element="interop:interop44" name="interop44"/> + </wsdl:message> + <wsdl:message name="interop44Response"> + <wsdl:part element="interop:interop44Response" name="interop441Response"/> + </wsdl:message> + + <wsdl:message name="interop45Request"> + <wsdl:part element="interop:interop45" name="interop45"/> + </wsdl:message> + <wsdl:message name="interop45Response"> + <wsdl:part element="interop:interop45Response" name="interop451Response"/> + </wsdl:message> + + <wsdl:message name="interop46Request"> + <wsdl:part element="interop:interop46" name="interop46"/> + </wsdl:message> + <wsdl:message name="interop46Response"> + <wsdl:part element="interop:interop46Response" name="interop461Response"/> + </wsdl:message> + + <wsdl:message name="interop47Request"> + <wsdl:part element="interop:interop47" name="interop47"/> + </wsdl:message> + <wsdl:message name="interop47Response"> + <wsdl:part element="interop:interop47Response" name="interop471Response"/> + </wsdl:message> + + <wsdl:message name="interop50Request"> + <wsdl:part element="interop:interop50" name="interop50"/> + </wsdl:message> + <wsdl:message name="interop50Response"> + <wsdl:part element="interop:interop50Response" name="interop501Response"/> + </wsdl:message> + + <wsdl:portType name="interop"> + + <wsdl:operation name="interop01"> + <wsdl:input message="interop:interop01Request"/> + <wsdl:output message="interop:interop01Response"/> + </wsdl:operation> + + <wsdl:operation name="interop02"> + <wsdl:input message="interop:interop02Request"/> + <wsdl:output message="interop:interop02Response"/> + </wsdl:operation> + + <wsdl:operation name="interop03"> + <wsdl:input message="interop:interop03Request"/> + <wsdl:output message="interop:interop03Response"/> + </wsdl:operation> + + <wsdl:operation name="interop04"> + <wsdl:input message="interop:interop04Request"/> + <wsdl:output message="interop:interop04Response"/> + </wsdl:operation> + + <wsdl:operation name="interop05"> + <wsdl:input message="interop:interop05Request"/> + <wsdl:output message="interop:interop05Response"/> + </wsdl:operation> + + <wsdl:operation name="interop06"> + <wsdl:input message="interop:interop06Request"/> + <wsdl:output message="interop:interop06Response"/> + </wsdl:operation> + + <wsdl:operation name="interop07"> + <wsdl:input message="interop:interop07Request"/> + <wsdl:output message="interop:interop07Response"/> + </wsdl:operation> + + <wsdl:operation name="interop08"> + <wsdl:input message="interop:interop08Request"/> + <wsdl:output message="interop:interop08Response"/> + </wsdl:operation> + + <wsdl:operation name="interop09"> + <wsdl:input message="interop:interop09Request"/> + <wsdl:output message="interop:interop09Response"/> + </wsdl:operation> + + <wsdl:operation name="interop10"> + <wsdl:input message="interop:interop10Request"/> + <wsdl:output message="interop:interop10Response"/> + </wsdl:operation> + + <wsdl:operation name="interop11"> + <wsdl:input message="interop:interop11Request"/> + <wsdl:output message="interop:interop11Response"/> + </wsdl:operation> + + <wsdl:operation name="interop12"> + <wsdl:input message="interop:interop12Request"/> + <wsdl:output message="interop:interop12Response"/> + </wsdl:operation> + + <wsdl:operation name="interop14"> + <wsdl:input message="interop:interop14Request"/> + <wsdl:output message="interop:interop14Response"/> + </wsdl:operation> + + <wsdl:operation name="interop15"> + <wsdl:input message="interop:interop15Request"/> + <wsdl:output message="interop:interop15Response"/> + </wsdl:operation> + + <wsdl:operation name="interop16"> + <wsdl:input message="interop:interop16Request"/> + <wsdl:output message="interop:interop16Response"/> + </wsdl:operation> + + <wsdl:operation name="interop17"> + <wsdl:input message="interop:interop17Request"/> + <wsdl:output message="interop:interop17Response"/> + </wsdl:operation> + + <wsdl:operation name="interop18"> + <wsdl:input message="interop:interop18Request"/> + <wsdl:output message="interop:interop18Response"/> + </wsdl:operation> + + <wsdl:operation name="interop19"> + <wsdl:input message="interop:interop19Request"/> + <wsdl:output message="interop:interop19Response"/> + </wsdl:operation> + + <wsdl:operation name="interop20"> + <wsdl:input message="interop:interop20Request"/> + <wsdl:output message="interop:interop20Response"/> + </wsdl:operation> + + <wsdl:operation name="interop21"> + <wsdl:input message="interop:interop21Request"/> + <wsdl:output message="interop:interop21Response"/> + </wsdl:operation> + + <wsdl:operation name="interop22"> + <wsdl:input message="interop:interop22Request"/> + <wsdl:output message="interop:interop22Response"/> + </wsdl:operation> + + <wsdl:operation name="interop23"> + <wsdl:input message="interop:interop23Request"/> + <wsdl:output message="interop:interop23Response"/> + </wsdl:operation> + + <wsdl:operation name="interop24"> + <wsdl:input message="interop:interop24Request"/> + <wsdl:output message="interop:interop24Response"/> + </wsdl:operation> + + <wsdl:operation name="interop25"> + <wsdl:input message="interop:interop25Request"/> + <wsdl:output message="interop:interop25Response"/> + </wsdl:operation> + + <wsdl:operation name="interop26"> + <wsdl:input message="interop:interop26Request"/> + <wsdl:output message="interop:interop26Response"/> + </wsdl:operation> + + <wsdl:operation name="interop27"> + <wsdl:input message="interop:interop27Request"/> + <wsdl:output message="interop:interop27Response"/> + </wsdl:operation> + + <wsdl:operation name="interop28"> + <wsdl:input message="interop:interop28Request"/> + <wsdl:output message="interop:interop28Response"/> + </wsdl:operation> + + <wsdl:operation name="interop29"> + <wsdl:input message="interop:interop29Request"/> + <wsdl:output message="interop:interop29Response"/> + </wsdl:operation> + + <wsdl:operation name="interop30"> + <wsdl:input message="interop:interop30Request"/> + <wsdl:output message="interop:interop30Response"/> + </wsdl:operation> + + <wsdl:operation name="interop31"> + <wsdl:input message="interop:interop31Request"/> + <wsdl:output message="interop:interop31Response"/> + </wsdl:operation> + + <wsdl:operation name="interop32"> + <wsdl:input message="interop:interop32Request"/> + <wsdl:output message="interop:interop32Response"/> + </wsdl:operation> + + <wsdl:operation name="interop33"> + <wsdl:input message="interop:interop33Request"/> + <wsdl:output message="interop:interop33Response"/> + </wsdl:operation> + + <wsdl:operation name="interop34"> + <wsdl:input message="interop:interop34Request"/> + <wsdl:output message="interop:interop34Response"/> + </wsdl:operation> + + <wsdl:operation name="interop35"> + <wsdl:input message="interop:interop35Request"/> + <wsdl:output message="interop:interop35Response"/> + </wsdl:operation> + + <wsdl:operation name="interop36"> + <wsdl:input message="interop:interop36Request"/> + <wsdl:output message="interop:interop36Response"/> + </wsdl:operation> + + <wsdl:operation name="interop37"> + <wsdl:input message="interop:interop37Request"/> + <wsdl:output message="interop:interop37Response"/> + </wsdl:operation> + + <wsdl:operation name="interop38"> + <wsdl:input message="interop:interop38Request"/> + <wsdl:output message="interop:interop38Response"/> + </wsdl:operation> + + <wsdl:operation name="interop39"> + <wsdl:input message="interop:interop39Request"/> + <wsdl:output message="interop:interop39Response"/> + </wsdl:operation> + + <wsdl:operation name="interop40"> + <wsdl:input message="interop:interop40Request"/> + <wsdl:output message="interop:interop40Response"/> + </wsdl:operation> + + <wsdl:operation name="interop41"> + <wsdl:input message="interop:interop41Request"/> + <wsdl:output message="interop:interop41Response"/> + </wsdl:operation> + + <wsdl:operation name="interop42"> + <wsdl:input message="interop:interop42Request"/> + <wsdl:output message="interop:interop42Response"/> + </wsdl:operation> + + <wsdl:operation name="interop43"> + <wsdl:input message="interop:interop43Request"/> + <wsdl:output message="interop:interop43Response"/> + </wsdl:operation> + + <wsdl:operation name="interop44"> + <wsdl:input message="interop:interop44Request"/> + <wsdl:output message="interop:interop44Response"/> + </wsdl:operation> + + <wsdl:operation name="interop45"> + <wsdl:input message="interop:interop45Request"/> + <wsdl:output message="interop:interop45Response"/> + </wsdl:operation> + + <wsdl:operation name="interop46"> + <wsdl:input message="interop:interop46Request"/> + <wsdl:output message="interop:interop46Response"/> + </wsdl:operation> + + <wsdl:operation name="interop47"> + <wsdl:input message="interop:interop47Request"/> + <wsdl:output message="interop:interop47Response"/> + </wsdl:operation> + + <wsdl:operation name="interop50"> + <wsdl:input message="interop:interop50Request"/> + <wsdl:output message="interop:interop50Response"/> + </wsdl:operation> + + </wsdl:portType> + + <wsdl:binding name="interopSOAP" type="interop:interop"> + <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> + + <wsdl:operation name="interop01"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop01"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop02"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop02"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop03"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop03"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop04"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop04"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop05"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop05"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop06"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop06"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop07"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop07"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop08"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop08"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop09"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop09"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop10"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop10"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop11"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop11"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop12"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop12"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop14"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop14"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop15"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop15"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop16"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop16"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop17"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop17"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop18"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop18"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop19"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop19"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop20"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop20"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop21"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop21"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop22"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop22"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop23"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop23"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop24"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop24"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop25"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop25"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop26"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop26"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop27"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop27"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop28"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop28"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop29"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop29"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop30"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop30"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop31"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop31"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop32"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop32"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop33"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop33"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop34"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop34"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop35"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop35"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop36"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop36"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop37"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop37"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop38"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop38"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop39"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop39"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop40"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop40"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop41"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop41"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop42"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop42"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop43"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop43"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop44"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop44"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop45"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop45"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop46"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop46"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop47"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop47"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop50"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop50"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + </wsdl:binding> + <wsdl:service name="interop"> + <wsdl:port binding="interop:interopSOAP" name="interopSOAP"> + <soap:address location="http://localhost:8080/services/interop"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml new file mode 100644 index 0000000000..be5da658c2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml @@ -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:RootElement01 xmlns:p="commonj.sdo" + 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 interop01.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement01> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd new file mode 100644 index 0000000000..083966d9f9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd @@ -0,0 +1,33 @@ +<?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"/> + + <!-- top level test type --> + <complexType name="ComplexTypeRootType"> + <sequence> + <!-- simple types --> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + + </sequence> + </complexType> + + <element name="RootElement01" type="tns:ComplexTypeRootType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml new file mode 100644 index 0000000000..d57593625b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml @@ -0,0 +1,27 @@ +<?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. + --> +<RootElement02 xmlns="http://www.apache.org/tuscany/interop" + xmlns:imp="http://www.apache.org/tuscany/interop/import" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop02.xsd"> + + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + <imp:ElementOfImportedType> + <AnElement>SomeString</AnElement> + <AnotherElement>SomeString</AnotherElement> + </imp:ElementOfImportedType> +</RootElement02> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd new file mode 100644 index 0000000000..a46c21c4f9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd @@ -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" + xmlns:imp="http://www.apache.org/tuscany/interop/import" + xmlns:sdo="commonj.sdo" + xmlns:sdoJava="commonj.sdo"> + + <include schemaLocation="interop10.xsd"/> + <import schemaLocation="importschema.xsd" namespace="http://www.apache.org/tuscany/interop/import"/> + + <!-- top level test type --> + <complexType name="ComplexTypeRootType"> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + <element name="ElementOfImportedType" type="imp:ImportedType"/> + </sequence> + </complexType> + + <element name="RootElement02" type="tns:ComplexTypeRootType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml new file mode 100644 index 0000000000..f4f50bf28c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml @@ -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:RootElement03 xmlns:p="commonj.sdo" + 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 interop03.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement03> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd new file mode 100644 index 0000000000..631dc0bfff --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd @@ -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"> + + <!-- top level test type --> + <complexType name="ComplexTypeRootType"> + <sequence> + <!-- simple types --> + <element name="SimpleTypeWithName" type="string"/> + + </sequence> + </complexType> + + <element name="RootElement03" type="tns:ComplexTypeRootType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml new file mode 100644 index 0000000000..ae06607013 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml @@ -0,0 +1,20 @@ +<?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. + --> +<RootElement04 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="interop04.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</RootElement04> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd new file mode 100644 index 0000000000..4d968e7b3c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd @@ -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. + --> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" > + + <!-- top level test type --> + <xsd:complexType name="ComplexTypeRootType"> + <xsd:sequence> + <!-- simple types --> + <xsd:element name="SimpleTypeWithName" type="xsd:string"/> + + </xsd:sequence> + </xsd:complexType> + + <xsd:element name="RootElement04" type="ComplexTypeRootType"/> +</xsd:schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml new file mode 100644 index 0000000000..168c41d380 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml @@ -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. + --> +<RootElement06 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop06.xsd"> + RootElement6 +</RootElement06> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd new file mode 100644 index 0000000000..acedc99232 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd @@ -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. + --> +<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="RootElement06" type="string"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml new file mode 100644 index 0000000000..029387c5d4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml @@ -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:RootElement07 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 interop07.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement07> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd new file mode 100644 index 0000000000..e1cfc492d2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd @@ -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"> + + <complexType name="Interop7ComplexType"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement07" type="tns:Interop7ComplexType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml new file mode 100644 index 0000000000..5a8c0de3b9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml @@ -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:RootElement08 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 interop08.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement08> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd new file mode 100644 index 0000000000..b7ca9dc916 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd @@ -0,0 +1,35 @@ +<?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"> + + <annotation> + <appinfo>SDO 2.0.1</appinfo> + <documentation> + A schema that tests the presence of annotations in schema read by SDO + </documentation> + </annotation> + + <complexType name="Interop8ComplexType"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement08" type="tns:Interop8ComplexType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml new file mode 100644 index 0000000000..37d72454c0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml @@ -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:RootElement09 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 interop09.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement09> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd new file mode 100644 index 0000000000..3a793fd8c5 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd @@ -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"> + + <notation name="InteropTestingSchema9" public="commonj.sdo"/> + + <complexType name="Interop9ComplexType"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement09" type="tns:Interop9ComplexType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml new file mode 100644 index 0000000000..164b7242b4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml @@ -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:RootElement10 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 interop10.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement10> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd new file mode 100644 index 0000000000..593860b84b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd @@ -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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <simpleType name="SimpleTypeWithNameType"> + <restriction base="string"/> + </simpleType> + + <element name="RootElement10"> + <complexType> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml new file mode 100644 index 0000000000..5e5d9af4a7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml @@ -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. + --> + <RootElement11 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop11.xsd"> + <SimpleTypeAnonymous> + SimpleTypeAnonymous + </SimpleTypeAnonymous> +</RootElement11> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd new file mode 100644 index 0000000000..a72cda91e5 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd @@ -0,0 +1,34 @@ +<?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="SimpleTypeAnonymous"> + <simpleType> + <restriction base="string"/> + </simpleType> + </element> + + <element name="RootElement11"> + <complexType> + <sequence> + <element ref="tns:SimpleTypeAnonymous"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml new file mode 100644 index 0000000000..09fc39d2e1 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml @@ -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:RootElement12 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 interop12.xsd"> + <SimpleTypeWithSDOName>SimpleTypeWithSDOName</SimpleTypeWithSDOName> +</tns:RootElement12> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd new file mode 100644 index 0000000000..f428e65bf8 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd @@ -0,0 +1,33 @@ +<?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"> + + <simpleType name="SimpleTypeWithSDONameType" sdo:name="SimpleTypeWithSDONameTypeSDOName"> + <restriction base="string"/> + </simpleType> + + <element name="RootElement12"> + <complexType> + <sequence> + <element name="SimpleTypeWithSDOName" type="tns:SimpleTypeWithSDONameType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml new file mode 100644 index 0000000000..256f42646d --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml @@ -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. + --> +<RootElement13 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop13.xsd"> + <SimpleTypeWithAbstractBase>SimpleTypeWithAbstractBase</SimpleTypeWithAbstractBase> +</RootElement13> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd new file mode 100644 index 0000000000..3d553a7171 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd @@ -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"> + + <simpleType name="SimpleTypeWithAbstractType" abstract="true"> + <restriction base="string"/> + </simpleType> + + <simpleType name="SimpleTypeWithAbstractBase"> + <restriction base="tns:SimpleTypeWithAbstractType"/> + </simpleType> + + <element name="RootElement13"> + <complexType> + <sequence> + <element name="SimpleTypeWithAbstractBase" type="tns:SimpleTypeWithAbstractBase"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml new file mode 100644 index 0000000000..eb73036a8b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml @@ -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:RootElement14 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 interop14.xsd"> + <SimpleTypeWithInstanceClass> + SimpleTypeWithInstanceClass + </SimpleTypeWithInstanceClass> +</tns:RootElement14> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd new file mode 100644 index 0000000000..0155718348 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd @@ -0,0 +1,33 @@ +<?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:sdoJava="commonj.sdo"> + + <simpleType name="SimpleTypeWithInstanceClassType" sdoJava:instanceClass="String"> + <restriction base="string"/> + </simpleType> + + <element name="RootElement14"> + <complexType> + <sequence> + <element name="SimpleTypeWithInstanceClass" type="tns:SimpleTypeWithInstanceClassType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml new file mode 100644 index 0000000000..2376cbae06 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml @@ -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:RootElement15 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 interop15.xsd"> + <SimpleTypeWithExtendedInstanceClass> + SimpleTypeWithExtendedInstanceClass + </SimpleTypeWithExtendedInstanceClass> +</tns:RootElement15> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd new file mode 100644 index 0000000000..ad59a9710b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd @@ -0,0 +1,33 @@ +<?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:sdoJava="commonj.sdo"> + + <simpleType name="SimpleTypeWithExtendedInstanceClassType" sdoJava:extendedInstanceClass="String"> + <restriction base="string"/> + </simpleType> + + <element name="RootElement15"> + <complexType> + <sequence> + <element name="SimpleTypeWithExtendedInstanceClass" type="tns:SimpleTypeWithExtendedInstanceClassType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml new file mode 100644 index 0000000000..94b51e764f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml @@ -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:RootElement16 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 interop16.xsd"> + <SimpleTypeWithList> + listmember1 listmember2 + </SimpleTypeWithList> +</tns:RootElement16> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd new file mode 100644 index 0000000000..f6518cfb3f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd @@ -0,0 +1,33 @@ +<?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:sdoJava="commonj.sdo"> + + <simpleType name="SimpleTypeWithListType"> + <list itemType="string"/> + </simpleType> + + <element name="RootElement16"> + <complexType> + <sequence> + <element name="SimpleTypeWithList" type="tns:SimpleTypeWithListType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml new file mode 100644 index 0000000000..4e6895d46f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml @@ -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:RootElement17 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 interop17.xsd"> + <SimpleTypeWithUnion>EN</SimpleTypeWithUnion> + <SimpleTypeWithUnion>01:02:03</SimpleTypeWithUnion> +</tns:RootElement17> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd new file mode 100644 index 0000000000..bbfc755fb7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd @@ -0,0 +1,42 @@ +<?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:sdoJava="commonj.sdo"> + + <simpleType name="SimpleTypeWithUnionType"> + <union> + <simpleType> + <restriction base="language"> + </restriction> + </simpleType> + <simpleType> + <restriction base="time"> + </restriction> + </simpleType> + </union> + </simpleType> + + <element name="RootElement17"> + <complexType> + <sequence> + <element name="SimpleTypeWithUnion" type="tns:SimpleTypeWithUnionType" minOccurs="2" maxOccurs="2"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml new file mode 100644 index 0000000000..ea28b230ea --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml @@ -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:RootElement18 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 interop18.xsd"> + <ComplexTypeNoContent /> +</tns:RootElement18> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd new file mode 100644 index 0000000000..de8dc5b79e --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd @@ -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"> + + <complexType name="ComplexTypeNoContentType"/> + + <element name="RootElement18"> + <complexType> + <sequence> + <element name="ComplexTypeNoContent" type="tns:ComplexTypeNoContentType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml new file mode 100644 index 0000000000..77d828227c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml @@ -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:RootElement19 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 interop19.xsd"> + <ComplexTypeContent> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeContent> +</tns:RootElement19> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd new file mode 100644 index 0000000000..7d28e0d9b3 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd @@ -0,0 +1,34 @@ +<?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="ComplexTypeContentType"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement19"> + <complexType> + <sequence> + <element name="ComplexTypeContent" type="tns:ComplexTypeContentType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml new file mode 100644 index 0000000000..8b0e8df4ba --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml @@ -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. + --> +<RootElement20 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop20.xsd"> + <ComplexTypeAnonymousType> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeAnonymousType> +</RootElement20> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd new file mode 100644 index 0000000000..1c4ffa6a5c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd @@ -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"> + + <element name="ComplexTypeAnonymousType"> + <complexType> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + </element> + + <element name="RootElement20"> + <complexType> + <sequence> + <element ref="tns:ComplexTypeAnonymousType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml new file mode 100644 index 0000000000..3bb03bb36f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml @@ -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:RootElement21 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 interop21.xsd"> + <ComplexTypeWithSDOName> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeWithSDOName> +</tns:RootElement21> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd new file mode 100644 index 0000000000..4888a7d385 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd @@ -0,0 +1,35 @@ +<?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="ComplexTypeWithSDONameType" sdo:name="ComplexTypeWithSDONameTypeSDOName"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement21"> + <complexType> + <sequence> + <element name="ComplexTypeWithSDOName" type="tns:ComplexTypeWithSDONameType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml new file mode 100644 index 0000000000..4ee0a343a4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml @@ -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:RootElement22 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 interop22.xsd"> + <ComplexTypeExtendsAbstractType> + <BaseElement>BaseElement</BaseElement> + <ExtensionElement>ExtensionElement</ExtensionElement> + </ComplexTypeExtendsAbstractType> +</tns:RootElement22> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd new file mode 100644 index 0000000000..11c8d5c980 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd @@ -0,0 +1,44 @@ +<?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="ComplexTypeWithAbstractType" abstract="true"> + <sequence> + <element name="BaseElement" type="string"/> + </sequence> + </complexType> + + <complexType name="ComplexTypeExtendsAbstractTypeType"> + <complexContent> + <extension base="tns:ComplexTypeWithAbstractType"> + <sequence> + <element name="ExtensionElement" type="string"/> + </sequence> + </extension> + </complexContent> + </complexType> + + <element name="RootElement22"> + <complexType> + <sequence> + <element name="ComplexTypeExtendsAbstractType" type="tns:ComplexTypeExtendsAbstractTypeType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml new file mode 100644 index 0000000000..7f0d845be2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml @@ -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:RootElement23 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 interop23.xsd"> + <ComplexTypeWithSDOAliasName> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeWithSDOAliasName> +</tns:RootElement23> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd new file mode 100644 index 0000000000..b2f358c69e --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd @@ -0,0 +1,35 @@ +<?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="ComplexTypeWithSDOAliasNameType" sdo:aliasName="ComplexTypeWithSDOAliasNameTypeSDOAliasName"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement23"> + <complexType> + <sequence> + <element name="ComplexTypeWithSDOAliasName" type="tns:ComplexTypeWithSDOAliasNameType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml new file mode 100644 index 0000000000..913004272e --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml @@ -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:RootElement24 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 interop24.xsd"> + <ComplexTypeExtendingComplexType> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + <SimpleTypeWithNameExtended>SimpleTypeWithNameExtended</SimpleTypeWithNameExtended> + </ComplexTypeExtendingComplexType> +</tns:RootElement24> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd new file mode 100644 index 0000000000..c7c5a7f1af --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd @@ -0,0 +1,40 @@ +<?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="interop19.xsd"/> + + <complexType name="ComplexTypeExtendingComplexTypeType"> + <complexContent> + <extension base="tns:ComplexTypeContentType"> + <sequence> + <element name="SimpleTypeWithNameExtended" type="string"/> + </sequence> + </extension> + </complexContent> + </complexType> + + <element name="RootElement24"> + <complexType> + <sequence> + <element name="ComplexTypeExtendingComplexType" type="tns:ComplexTypeExtendingComplexTypeType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml new file mode 100644 index 0000000000..4a87e3e401 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml @@ -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:RootElement25 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 interop25.xsd"> + <ComplexTypeExtendingSimpeType AddedByExtension="AddedByExtensionAttribute"> + ComplexTypeExtendingSimpeType + </ComplexTypeExtendingSimpeType> +</tns:RootElement25> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml new file mode 100644 index 0000000000..28ef8e7eaf --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml @@ -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:RootElement26 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 interop26.xsd"> + <ComplexTypeComplexContentRestrictingComplexType> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeComplexContentRestrictingComplexType> +</tns:RootElement26> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd new file mode 100644 index 0000000000..dc72404fae --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd @@ -0,0 +1,41 @@ +<?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"/> + <include schemaLocation="interop24.xsd"/> + + <complexType name="ComplexTypeComplexContentRestrictingComplexTypeType"> + <complexContent> + <restriction base="tns:ComplexTypeExtendingComplexTypeType"> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + </sequence> + </restriction> + </complexContent> + </complexType> + + <element name="RootElement26"> + <complexType> + <sequence> + <element name="ComplexTypeComplexContentRestrictingComplexType" type="tns:ComplexTypeComplexContentRestrictingComplexTypeType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml new file mode 100644 index 0000000000..c596e781ff --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml @@ -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:RootElement27 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 interop27.xsd"> + <ComplexTypeSimpleContentRestrictingComplexType AddedByExtension="AddedByExtensionAttribute"> + ComplexTypeSimpleContentRestrictingComplexType + </ComplexTypeSimpleContentRestrictingComplexType> +</tns:RootElement27> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml new file mode 100644 index 0000000000..ea47654916 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml @@ -0,0 +1,26 @@ +<?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:RootElement28 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 interop28.xsd"> + <ComplexTypeWithMixed> + Some + Mixed + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + Content + </ComplexTypeWithMixed> +</tns:RootElement28> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd new file mode 100644 index 0000000000..36ca723a0c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd @@ -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="interop10.xsd"/> + + <complexType name="ComplexTypeWithMixedType" mixed="true"> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + </sequence> + </complexType> + + <element name="RootElement28"> + <complexType> + <sequence> + <element name="ComplexTypeWithMixed" type="tns:ComplexTypeWithMixedType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml new file mode 100644 index 0000000000..37dc992ac0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml @@ -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:RootElement29 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 interop29.xsd"> + <ComplexTypeWithSDOSequence> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeWithSDOSequence> +</tns:RootElement29> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd new file mode 100644 index 0000000000..febb95142e --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd @@ -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" + xmlns:sdo="commonj.sdo"> + + <include schemaLocation="interop10.xsd"/> + + <complexType name="ComplexTypeWithSDOSequenceType" sdo:name="true"> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + </sequence> + </complexType> + + <element name="RootElement29"> + <complexType> + <sequence> + <element name="ComplexTypeWithSDOSequence" type="tns:ComplexTypeWithSDOSequenceType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml new file mode 100644 index 0000000000..1f802101c4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml @@ -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. + --> +<RootElement30 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop30.xsd"> + <ComplexTypeOpenContent> + <ComplexTypeWithMixed> + Some + Mixed + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + Content + </ComplexTypeWithMixed> + </ComplexTypeOpenContent> +</RootElement30> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd new file mode 100644 index 0000000000..d42361b509 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml new file mode 100644 index 0000000000..3cd54829a9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd new file mode 100644 index 0000000000..9ba51daca8 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml new file mode 100644 index 0000000000..72dc7ceb44 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd new file mode 100644 index 0000000000..bf33516371 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml new file mode 100644 index 0000000000..61a0fdf2aa --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd new file mode 100644 index 0000000000..27f6c22d12 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml new file mode 100644 index 0000000000..3c488be77c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd new file mode 100644 index 0000000000..8fe33e9776 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml new file mode 100644 index 0000000000..63f84a91da --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd new file mode 100644 index 0000000000..706326b22f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml new file mode 100644 index 0000000000..2a4b63f958 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd new file mode 100644 index 0000000000..2e1c95b1c3 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml new file mode 100644 index 0000000000..f25366e905 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd new file mode 100644 index 0000000000..b2afa51290 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml new file mode 100644 index 0000000000..5a97314a46 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd new file mode 100644 index 0000000000..a4b406550a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml new file mode 100644 index 0000000000..d6ec278d2a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml new file mode 100644 index 0000000000..ac7a3835b7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd new file mode 100644 index 0000000000..3e2ca8765a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml new file mode 100644 index 0000000000..6fe9f99157 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd new file mode 100644 index 0000000000..a473626f03 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml new file mode 100644 index 0000000000..427f07b22b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd new file mode 100644 index 0000000000..99a9afecd1 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml new file mode 100644 index 0000000000..005879cf42 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd new file mode 100644 index 0000000000..60d31e94cc --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml new file mode 100644 index 0000000000..1170e4a991 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd new file mode 100644 index 0000000000..45c74b90fa --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml new file mode 100644 index 0000000000..f0160f713a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd new file mode 100644 index 0000000000..7a6236c9eb --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml new file mode 100644 index 0000000000..f5ddf4a859 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd new file mode 100644 index 0000000000..54573c0bdb --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml new file mode 100644 index 0000000000..4cff425ea2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd new file mode 100644 index 0000000000..be67383db3 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml new file mode 100644 index 0000000000..5aa3d442a9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd new file mode 100644 index 0000000000..f2d4ed7679 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd @@ -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> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh new file mode 100755 index 0000000000..831246bbc6 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh @@ -0,0 +1,31 @@ + +# 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. + +cd $TUSCANY_SCACPP/test/ws.service.interop/deploy/bin + +# Start the axis http server. Output goes to a log file +./runwsserver.sh > runwsserver.log & + +# The wget command makes sure the server has fully started up +wget -O - http://localhost:9090/axis2/services + +# Run the tests against the server +./runclient.sh + +# Finally, kill the axis http server by finding the PID +kill -9 `ps | grep axis2_http_serv | cut -c1-6` diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am new file mode 100644 index 0000000000..9fef007b19 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am @@ -0,0 +1,51 @@ +# 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. + +deploydir=$(prefix)/test/ws.service.interop/deploy +prgbindir=$(deploydir)/bin + +prgbin_PROGRAMS = ws.service.interop.client +prgbin_SCRIPTS = runclient.sh +EXTRA_DIST = runclient.sh + +AM_CPPFLAGS = $(CPPFLAGS) + +ws_service_interop_client_SOURCES = \ +TestClient.cpp + +ws_service_interop_client_LDADD = \ +-L$(TUSCANY_SCACPP)/lib \ + -ltuscany_sca \ +-L$(TUSCANY_SDOCPP)/lib \ + -ltuscany_sdo \ + -ltuscany_sdo_axiom \ +-L$(AXIS2C_HOME)/lib \ + -laxis2_util \ + -laxis2_axiom \ + -laxis2_wsdl \ + -laxis2_engine \ + -laxis2_parser \ + -laxis2_minizip \ + -lpthread \ + -laxis2_http_sender \ + -laxis2_http_receiver + +INCLUDES = \ +-I${AXIS2C_HOME}/include \ +-I${TUSCANY_SCACPP}/include \ +-I${TUSCANY_SDOCPP}/include + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp new file mode 100644 index 0000000000..da3a90cff4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp @@ -0,0 +1,375 @@ +/* + * 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) + { + string expectedFailedTests = "interop04 interop28 interop30 interop32 interop33 interop40 interop50"; + cout << " Failed Tests: " << failedTests << endl; + cout << "Expected failures: " << expectedFailedTests << 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 + { + cout << "request failed" << endl; + 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) + { + // The following line is commented out due to it causing a segmentation fault on Linux with Axis2C 0.93 + // 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; +} diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat new file mode 100644 index 0000000000..4ab0ea4cf3 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat @@ -0,0 +1,32 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. 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, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM 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 diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh new file mode 100755 index 0000000000..57e4b6b90f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +# 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. + + +if [ x$TUSCANY_SCACPP = x ]; then +echo "TUSCANY_SCACPP not set" +exit; +fi +echo "Using SCA installed at $TUSCANY_SCACPP" + +if [ x$TUSCANY_SDOCPP = x ]; then +echo "TUSCANY_SDOCPP not set" +exit; +fi +echo "Using SDO installed at $TUSCANY_SDOCPP" + +if [ x$AXIS2C_HOME = x ]; then +echo "AXIS2C_HOME not set" +exit; +fi +echo "Using Axis2C installed at $AXIS2C_HOME" + +export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH + +./ws.service.interop.client + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj new file mode 100644 index 0000000000..2646bb025c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj @@ -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>
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln new file mode 100644 index 0000000000..b0bda8950b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln @@ -0,0 +1,30 @@ +Microsoft Visual Studio Solution File, Format Version 8.00
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ws.service.interop", "ws.service.interop\ws.service.interop.vcproj", "{25B65303-B2E2-47AF-968C-89D9E58611F8}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ws.service.interop.client", "ws.service.interop.client\ws.service.interop.client.vcproj", "{136C4966-3073-4EB0-9259-BC5E3B987D19}"
+ ProjectSection(ProjectDependencies) = postProject
+ {25B65303-B2E2-47AF-968C-89D9E58611F8} = {25B65303-B2E2-47AF-968C-89D9E58611F8}
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfiguration) = preSolution
+ Debug = Debug
+ Release = Release
+ EndGlobalSection
+ GlobalSection(ProjectConfiguration) = postSolution
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Debug.ActiveCfg = Debug|Win32
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Debug.Build.0 = Debug|Win32
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Release.ActiveCfg = Release|Win32
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Release.Build.0 = Release|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Debug.ActiveCfg = Debug|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Debug.Build.0 = Debug|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Release.ActiveCfg = Release|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Release.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ EndGlobalSection
+ GlobalSection(ExtensibilityAddIns) = postSolution
+ EndGlobalSection
+EndGlobal
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am new file mode 100644 index 0000000000..d8a82e241a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am @@ -0,0 +1,53 @@ +# 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. + +deploydir=$(prefix)/test/ws.service.interop/deploy +compositedir=$(deploydir)/packages/ws.service.interop +prgbindir=$(deploydir)/bin + +BUILT_SOURCES = TestImpl_TestService_Proxy.cpp \ +TestImpl_TestService_Wrapper.cpp + +noinst_HEADERS = *.h + +${BUILT_SOURCES}: ws.service.interop.composite + java -jar $(TUSCANY_SCACPP)/bin/scagen.jar -dir . -output . -verbose + +prgbin_SCRIPTS = runwsserver.sh + +composite_LTLIBRARIES = libws_service_interop.la +composite_DATA = ws.service.interop.composite *.componentType +EXTRA_DIST = ws.service.interop.composite *.componentType runwsserver.sh + +libws_service_interop_la_SOURCES = \ +TestImpl.cpp \ +TestImpl_TestService_Proxy.cpp \ +TestImpl_TestService_Wrapper.cpp + +libws_service_interop_la_LIBADD = \ +-L${TUSCANY_SCACPP}/lib \ + -ltuscany_sca \ +-L${TUSCANY_SCACPP}/extensions/cpp/lib \ + -ltuscany_sca_cpp \ +-L${TUSCANY_SDOCPP}/lib \ + -ltuscany_sdo + +INCLUDES = \ +-I$(TUSCANY_SCACPP)/extensions/cpp/include \ +-I$(TUSCANY_SCACPP)/include \ +-I${TUSCANY_SDOCPP}/include + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h new file mode 100644 index 0000000000..59f55984e7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h @@ -0,0 +1,82 @@ +/* ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef TEST_H +#define TEST_H + +#include <commonj/sdo/SDO.h> +#include <stdio.h> +#include <string> +using std::string; + +class Test +{ +public: + virtual DataObjectPtr interop01(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop02(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop03(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop04(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop05(DataObjectPtr arg1) = 0; + virtual string interop06(string arg1) = 0; + virtual DataObjectPtr interop07(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop08(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop09(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop10(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop11(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop12(DataObjectPtr arg1) = 0; + //virtual DataObjectPtr interop13(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop14(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop15(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop16(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop17(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop18(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop19(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop20(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop21(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop22(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop23(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop24(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop25(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop26(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop27(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop28(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop29(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop30(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop31(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop32(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop33(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop34(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop35(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop36(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop37(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop38(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop39(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop40(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop41(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop42(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop43(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop44(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop45(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop46(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop47(DataObjectPtr arg1) = 0; + //virtual DataObjectPtr interop48(DataObjectPtr arg1) = 0; + //virtual DataObjectPtr interop49(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop50(DataObjectPtr arg1) = 0; +}; + +#endif + + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType new file mode 100644 index 0000000000..d0cca1882d --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="ASCII"?> +<componentType xmlns="http://www.osoa.org/xmlns/sca/1.0"> + + <service name="TestService"> + <interface.cpp header="Test.h"/> + </service> + +</componentType> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp new file mode 100644 index 0000000000..c99667e362 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp @@ -0,0 +1,509 @@ +/* ++----------------------------------------------------------------------+ +| (c) Copyright IBM Corporation 2005. | +| All Rights Reserved. | ++----------------------------------------------------------------------+ +| | +| 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 "TestImpl.h" + +#include <tuscany/sca/util/Utils.h> +#include <tuscany/sca/core/SCARuntime.h> +#include <tuscany/sca/model/Component.h> +#include <tuscany/sca/model/Composite.h> +using namespace tuscany::sca; +#include <commonj/sdo/SDO.h> +using namespace commonj::sdo; + +#include <stdio.h> + +#include <string> +using std::string; + +TestImpl::TestImpl() +{ +} + +TestImpl::~TestImpl() +{ +} + +bool TestImpl::compareWithFile(DataObjectPtr suppliedDO, string test) +{ + Composite* composite = SCARuntime::getInstance()->getCurrentComponent()->getComposite(); + string rootPath = composite->getRoot(); + string xmlFileName = rootPath+"/"+test+"-in.xml"; + + XMLHelperPtr helper = composite->getXMLHelper(); + XMLDocumentPtr expectedDoc = helper->loadFile(xmlFileName.c_str()); + DataObjectPtr expectedDO = expectedDoc->getRootDataObject(); + + printf( "Comparing supplied DataObject against expected DataObject\n"); + + string diff = ""; + bool result = Utils::compareDataObjects(suppliedDO, expectedDO, diff); + if(!result) + { + printf("Supplied DO differs from expected DO:\n%s\nSupplied DO:\n", diff.c_str() ); + Utils::printDO(suppliedDO); + printf("Expected DO:\n"); + Utils::printDO(expectedDO); + } + else + { + printf("DataObjects match!\n"); + } + + return result; +} + +DataObjectPtr TestImpl::interop01(DataObjectPtr arg1) +{ + printf("TestImpl::interop01 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop01")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop02(DataObjectPtr arg1) +{ + printf("TestImpl::interop02 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop02")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop03(DataObjectPtr arg1) +{ + printf("TestImpl::interop03 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop03")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop04(DataObjectPtr arg1) +{ + printf("TestImpl::interop04 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop04")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop05(DataObjectPtr arg1) +{ + printf("TestImpl::interop05 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop05")) + { + return arg1; + } + return NULL; +} +string TestImpl::interop06(string arg1) +{ + printf("TestImpl::interop06 %s\n", arg1.c_str()); + return arg1; +} +DataObjectPtr TestImpl::interop07(DataObjectPtr arg1) +{ + printf("TestImpl::interop07 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop07")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop08(DataObjectPtr arg1) +{ + printf("TestImpl::interop08 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop08")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop09(DataObjectPtr arg1) +{ + printf("TestImpl::interop09 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop09")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop10(DataObjectPtr arg1) +{ + printf("TestImpl::interop10 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop10")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop11(DataObjectPtr arg1) +{ + printf("TestImpl::interop11 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop11")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop12(DataObjectPtr arg1) +{ + printf("TestImpl::interop12 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop12")) + { + return arg1; + } + return NULL; +} +// DataObjectPtr TestImpl::interop13(DataObjectPtr arg1) +// { +// printf("TestImpl::interop13 %s\n", arg1->getType().getURI()); +// Utils::printDO(arg1); +// return arg1; +// } +DataObjectPtr TestImpl::interop14(DataObjectPtr arg1) +{ + printf("TestImpl::interop14 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop14")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop15(DataObjectPtr arg1) +{ + printf("TestImpl::interop15 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop15")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop16(DataObjectPtr arg1) +{ + printf("TestImpl::interop16 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop16")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop17(DataObjectPtr arg1) +{ + printf("TestImpl::interop17 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop17")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop18(DataObjectPtr arg1) +{ + printf("TestImpl::interop18 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop18")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop19(DataObjectPtr arg1) +{ + printf("TestImpl::interop19 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop19")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop20(DataObjectPtr arg1) +{ + printf("TestImpl::interop20 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop20")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop21(DataObjectPtr arg1) +{ + printf("TestImpl::interop21 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop21")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop22(DataObjectPtr arg1) +{ + printf("TestImpl::interop22 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop22")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop23(DataObjectPtr arg1) +{ + printf("TestImpl::interop23 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop23")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop24(DataObjectPtr arg1) +{ + printf("TestImpl::interop24 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop24")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop25(DataObjectPtr arg1) +{ + printf("TestImpl::interop25 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop25")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop26(DataObjectPtr arg1) +{ + printf("TestImpl::interop26 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop26")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop27(DataObjectPtr arg1) +{ + printf("TestImpl::interop27 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop27")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop28(DataObjectPtr arg1) +{ + printf("TestImpl::interop28 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop28")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop29(DataObjectPtr arg1) +{ + printf("TestImpl::interop29 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop29")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop30(DataObjectPtr arg1) +{ + printf("TestImpl::interop30 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop30")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop31(DataObjectPtr arg1) +{ + printf("TestImpl::interop31 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop31")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop32(DataObjectPtr arg1) +{ + printf("TestImpl::interop32 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop32")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop33(DataObjectPtr arg1) +{ + printf("TestImpl::interop33 %s\n", arg1->getType().getURI()); + bool result = compareWithFile(arg1, "interop33"); + if(result) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop34(DataObjectPtr arg1) +{ + printf("TestImpl::interop34 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop34")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop35(DataObjectPtr arg1) +{ + printf("TestImpl::interop35 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop35")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop36(DataObjectPtr arg1) +{ + printf("TestImpl::interop36 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop36")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop37(DataObjectPtr arg1) +{ + printf("TestImpl::interop37 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop37")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop38(DataObjectPtr arg1) +{ + printf("TestImpl::interop38 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop38")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop39(DataObjectPtr arg1) +{ + printf("TestImpl::interop39 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop39")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop40(DataObjectPtr arg1) +{ + printf("TestImpl::interop40 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop40")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop41(DataObjectPtr arg1) +{ + printf("TestImpl::interop41 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop41")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop42(DataObjectPtr arg1) +{ + printf("TestImpl::interop42 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop42")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop43(DataObjectPtr arg1) +{ + printf("TestImpl::interop43 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop43")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop44(DataObjectPtr arg1) +{ + printf("TestImpl::interop44 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop44")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop45(DataObjectPtr arg1) +{ + printf("TestImpl::interop45 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop45")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop46(DataObjectPtr arg1) +{ + printf("TestImpl::interop46 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop46")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop47(DataObjectPtr arg1) +{ + printf("TestImpl::interop47 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop47")) + { + return arg1; + } + return NULL; +} +// DataObjectPtr TestImpl::interop48(DataObjectPtr arg1) +// { +// printf("TestImpl::interop48 %s\n", arg1->getType().getURI()); +// Utils::printDO(arg1); +// return arg1; +// } +// DataObjectPtr TestImpl::interop49(DataObjectPtr arg1) +// { +// printf("TestImpl::interop49 %s\n", arg1->getType().getURI()); +// Utils::printDO(arg1); +// return arg1; +// } +DataObjectPtr TestImpl::interop50(DataObjectPtr arg1) +{ + printf("TestImpl::interop50 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop50")) + { + return arg1; + } + return NULL; +} diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h new file mode 100644 index 0000000000..2f4f57e475 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h @@ -0,0 +1,84 @@ +/* ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef TESTIMPL_H +#define TESTIMPL_H + +#include "Test.h" + +class TestImpl : public Test +{ +public: + TestImpl(); + virtual ~TestImpl(); + + // Test interface + virtual DataObjectPtr interop01(DataObjectPtr arg1); + virtual DataObjectPtr interop02(DataObjectPtr arg1); + virtual DataObjectPtr interop03(DataObjectPtr arg1); + virtual DataObjectPtr interop04(DataObjectPtr arg1); + virtual DataObjectPtr interop05(DataObjectPtr arg1); + virtual string interop06(string arg1); + virtual DataObjectPtr interop07(DataObjectPtr arg1); + virtual DataObjectPtr interop08(DataObjectPtr arg1); + virtual DataObjectPtr interop09(DataObjectPtr arg1); + virtual DataObjectPtr interop10(DataObjectPtr arg1); + virtual DataObjectPtr interop11(DataObjectPtr arg1); + virtual DataObjectPtr interop12(DataObjectPtr arg1); + //virtual DataObjectPtr interop13(DataObjectPtr arg1); + virtual DataObjectPtr interop14(DataObjectPtr arg1); + virtual DataObjectPtr interop15(DataObjectPtr arg1); + virtual DataObjectPtr interop16(DataObjectPtr arg1); + virtual DataObjectPtr interop17(DataObjectPtr arg1); + virtual DataObjectPtr interop18(DataObjectPtr arg1); + virtual DataObjectPtr interop19(DataObjectPtr arg1); + virtual DataObjectPtr interop20(DataObjectPtr arg1); + virtual DataObjectPtr interop21(DataObjectPtr arg1); + virtual DataObjectPtr interop22(DataObjectPtr arg1); + virtual DataObjectPtr interop23(DataObjectPtr arg1); + virtual DataObjectPtr interop24(DataObjectPtr arg1); + virtual DataObjectPtr interop25(DataObjectPtr arg1); + virtual DataObjectPtr interop26(DataObjectPtr arg1); + virtual DataObjectPtr interop27(DataObjectPtr arg1); + virtual DataObjectPtr interop28(DataObjectPtr arg1); + virtual DataObjectPtr interop29(DataObjectPtr arg1); + virtual DataObjectPtr interop30(DataObjectPtr arg1); + virtual DataObjectPtr interop31(DataObjectPtr arg1); + virtual DataObjectPtr interop32(DataObjectPtr arg1); + virtual DataObjectPtr interop33(DataObjectPtr arg1); + virtual DataObjectPtr interop34(DataObjectPtr arg1); + virtual DataObjectPtr interop35(DataObjectPtr arg1); + virtual DataObjectPtr interop36(DataObjectPtr arg1); + virtual DataObjectPtr interop37(DataObjectPtr arg1); + virtual DataObjectPtr interop38(DataObjectPtr arg1); + virtual DataObjectPtr interop39(DataObjectPtr arg1); + virtual DataObjectPtr interop40(DataObjectPtr arg1); + virtual DataObjectPtr interop41(DataObjectPtr arg1); + virtual DataObjectPtr interop42(DataObjectPtr arg1); + virtual DataObjectPtr interop43(DataObjectPtr arg1); + virtual DataObjectPtr interop44(DataObjectPtr arg1); + virtual DataObjectPtr interop45(DataObjectPtr arg1); + virtual DataObjectPtr interop46(DataObjectPtr arg1); + virtual DataObjectPtr interop47(DataObjectPtr arg1); + //virtual DataObjectPtr interop48(DataObjectPtr arg1); + //virtual DataObjectPtr interop49(DataObjectPtr arg1); + virtual DataObjectPtr interop50(DataObjectPtr arg1); +private: + virtual bool compareWithFile(DataObjectPtr arg1, string test); +}; + +#endif + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat new file mode 100644 index 0000000000..804688fc56 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat @@ -0,0 +1,49 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. 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, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +setlocal + +if "%TUSCANY_SCACPP%" == "" ( +echo "TUSCANY_SCACPP not set" +goto end +) +echo using SCA installed at %TUSCANY_SCACPP% + +if "%TUSCANY_SDOCPP%" == "" ( +echo "TUSCANY_SDOCPP not set" +goto end +) +echo using SDO installed at %TUSCANY_SDOCPP% + +if "%AXIS2C_HOME%" == "" ( +echo "AXIS2C_HOME not set" +goto end +) +echo using Axis2C installed at %AXIS2C_HOME% + +set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\ +set TUSCANY_SCACPP_DEFAULT_COMPONENT=ws.service.interop.solution.component + +set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SCACPP%\extensions\cpp\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% + +cd %AXIS2C_HOME%\bin +.\axis2_http_server.exe + +:end +endlocal diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh new file mode 100755 index 0000000000..ec0a75188b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh @@ -0,0 +1,49 @@ +#!/bin/sh + +# 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. + + +APFULLDIR=`pwd` + +if [ x$TUSCANY_SCACPP = x ]; then +echo "TUSCANY_SCACPP not set" +exit; +fi +echo "Using SCA installed at $TUSCANY_SCACPP" + +if [ x$TUSCANY_SDOCPP = x ]; then +echo "TUSCANY_SDOCPP not set" +exit; +fi +echo "Using SDO installed at $TUSCANY_SDOCPP" + +if [ x$AXIS2C_HOME = x ]; then +echo "AXIS2C_HOME not set" +exit; +fi +echo "Using Axis2C installed at $AXIS2C_HOME" + +TEST_SYSTEM=$APFULLDIR/../ + +export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SCACPP/extensions/cpp/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH + +export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM +export TUSCANY_SCACPP_DEFAULT_COMPONENT=ws.service.interop.solution.component + +cd $AXIS2C_HOME/bin +./axis2_http_server diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite new file mode 100644 index 0000000000..997aebfdc0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + name="ws.service.interop"> + + <!-- Expose as a web service --> + <service name="ws.service"> + <interface.wsdl interface="http://www.apache.org/tuscany/interop#wsdl.interface(interop)"/> + <binding.ws/> + <reference>ws.service.interop.component/TestService</reference> + </service> + + + <component name="ws.service.interop.component"> + <implementation.cpp library="ws_service_interop" header="TestImpl.h"/> + </component> +</composite> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite new file mode 100644 index 0000000000..4a47d431a8 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright 2005 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. + --> + +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + name="ws.service.interop.solution"> + + + <component name="ws.service.interop.solution.component"> + <implementation.composite name="ws.service.interop" /> + </component> + +</composite> + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj new file mode 100644 index 0000000000..57749e2b40 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="ws.service.interop"
+ ProjectGUID="{25B65303-B2E2-47AF-968C-89D9E58611F8}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="$(TUSCANY_SCACPP)/include,$(TUSCANY_SCACPP)/extensions/cpp/include,$(TUSCANY_SDOCPP)/include,$(AXIS2C_HOME)/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="tuscany_sca.lib tuscany_sdo.lib tuscany_sca_cpp.lib axiom.lib tuscany_sdo_axiom.lib axis2_util.lib"
+ OutputFile="$(OutDir)/ws_service_interop.dll"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="$(TUSCANY_SCACPP)/lib,$(TUSCANY_SCACPP)/extensions/cpp/lib,$(TUSCANY_SDOCPP)/lib,$(AXIS2C_HOME)/lib"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/service.ws.binding.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"
+ CommandLine="$(TUSCANY_SCACPP)/bin/scagen.bat -dir . -output . -verbose"
+ ExcludedFromBuild="FALSE"/>
+ <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.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=".\TestImpl.cpp">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Proxy.cpp">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Wrapper.cpp">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ <File
+ RelativePath=".\Test.h">
+ </File>
+ <File
+ RelativePath=".\TestImpl.h">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Proxy.h">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Wrapper.h">
+ </File>
+ </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=".\runwsserver.bat">
+ </File>
+ <File
+ RelativePath=".\runwsserver.sh">
+ </File>
+ <File
+ RelativePath=".\TestImpl.componentType">
+ </File>
+ <File
+ RelativePath=".\ws.service.interop.composite">
+ </File>
+ <File
+ RelativePath=".\ws.service.interop.solution.composite">
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
|