| <!-- |
| ~ 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"> |
| |
| <simpleType name="zipCode"> |
| <restriction base="string"> |
| <length value="5"/> |
| <pattern value="\d{5}"/> |
| </restriction> |
| </simpleType> |
| <element name="myZipCode" type="tns:zipCode"/> |
| |
| <simpleType name="age"> |
| <restriction base="decimal"> |
| <totalDigits value="3"/> |
| </restriction> |
| </simpleType> |
| <element name="myAge" type="tns:age"/> |
| |
| <simpleType name="distance"> |
| <restriction base="integer"> |
| <maxInclusive value="100" fixed="true"/> |
| <minInclusive value="0"/> |
| </restriction> |
| </simpleType> |
| <element name="myDistance" type="tns:distance"/> |
| |
| <simpleType name="weight"> |
| <restriction base="integer"> |
| <maxExclusive value="200"/> |
| <minExclusive value="1"/> |
| </restriction> |
| </simpleType> |
| <element name="myWeight" type="tns:weight"/> |
| |
| <simpleType name="creditCardNumber"> |
| <restriction base="integer"> |
| <pattern value="\d{15}"/> |
| </restriction> |
| </simpleType> |
| <element name="myCreditCardNumber" type="tns:creditCardNumber"/> |
| |
| <simpleType name="noWhiteSpace"> |
| <restriction base="normalizedString"> |
| <whiteSpace value="collapse"/> |
| </restriction> |
| </simpleType> |
| <element name="myWhiteSpace" type="tns:noWhiteSpace"/> |
| |
| <simpleType name="petWeight"> |
| <restriction base="tns:weight"> |
| <maxExclusive value="50"/> |
| <minExclusive value="5"/> |
| </restriction> |
| </simpleType> |
| |
| <simpleType name="fixedDistance"> |
| <restriction base="tns:distance"> |
| <minInclusive value="1"/> |
| </restriction> |
| </simpleType> |
| |
| <simpleType name="height"> |
| <restriction base="decimal"> |
| <totalDigits value="3"/> |
| <fractionDigits value="2"/> |
| </restriction> |
| </simpleType> |
| <element name="myHeight" type="tns:height"/> |
| |
| <simpleType name="yardLength"> |
| <restriction base="nonNegativeInteger"> |
| <minLength value="45"/> |
| <maxLength value="205"/> |
| </restriction> |
| </simpleType> |
| <element name="myYardLength" type="tns:yardLength"/> |
| |
| <simpleType name="layoutComponentType"> |
| <restriction base="string"> |
| <enumeration value="Field"/> |
| <enumeration value="Separator"/> |
| </restriction> |
| </simpleType> |
| <element name="layoutComponent" type="tns:layoutComponentType"/> |
| |
| </schema> |