<!-- | |
~ Licensed to the Apache Software Foundation (ASF) under one | |
~ or more contributor license agreements. See the NOTICE file | |
~ distributed with this work for additional information | |
~ regarding copyright ownership. The ASF licenses this file | |
~ to you under the Apache License, Version 2.0 (the | |
~ "License"); you may not use this file except in compliance | |
~ with the License. You may obtain a copy of the License at | |
~ | |
~ http://www.apache.org/licenses/LICENSE-2.0 | |
~ | |
~ Unless required by applicable law or agreed to in writing, | |
~ software distributed under the License is distributed on an | |
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
~ KIND, either express or implied. See the License for the | |
~ specific language governing permissions and limitations | |
~ under the License. | |
--> | |
<schema | |
xmlns="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:tns="http://soapinterop.org/types" | |
targetNamespace="http://soapinterop.org/types"> | |
<element name="attrTest"> | |
<complexType> | |
<sequence> | |
<element name="foo" type="xsd:string"/> | |
</sequence> | |
<attribute name="forward" type="xsd:int"/> | |
</complexType> | |
</element> | |
<complexType name="Struct"> | |
<sequence> | |
<element name="varString" type="xsd:string"/> | |
<element name="varInt" type="xsd:int"/> | |
<element name="varFloat" type="xsd:float"/> | |
<element name="varStruct" type="tns:Struct"/> | |
<element name="varForward" type="tns:Forward"/> | |
</sequence> | |
</complexType> | |
<complexType name="Forward"> | |
<sequence> | |
<element name="soapStruct" type="tns:Struct"/> | |
</sequence> | |
</complexType> | |
<complexType name="BaseStruct"> | |
<sequence> | |
<element name="structMessage" type="tns:Struct"/> | |
<element name="shortMessage" type="xsd:short"/> | |
</sequence> | |
</complexType> | |
<complexType name="ExtendedStruct"> | |
<complexContent> | |
<extension base="tns:BaseStruct"> | |
<sequence> | |
<element name="stringMessage" type="xsd:string"/> | |
<element name="intMessage" type="xsd:int"/> | |
<element name="anotherIntMessage" type="xsd:int"/> | |
</sequence> | |
</extension> | |
</complexContent> | |
</complexType> | |
<complexType name="MoreExtendedStruct"> | |
<complexContent> | |
<extension base="tns:ExtendedStruct"> | |
<sequence> | |
<element name="booleanMessage" type="xsd:boolean"/> | |
</sequence> | |
</extension> | |
</complexContent> | |
</complexType> | |
<element name="foo" type="tns:ExtendedStruct"/> | |
</schema> |