1<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 2<xs:schema version="1.0" targetNamespace="http://server.type_substitution.fromjava/" xmlns:tns="http://server.type_substitution.fromjava/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> 3 4 <xs:element name="getSedans" type="tns:getSedans"/> 5 6 <xs:element name="getSedansResponse" type="tns:getSedansResponse"/> 7 8 <xs:complexType name="toyota"> 9 <xs:complexContent> 10 <xs:extension base="tns:car"> 11 <xs:sequence> 12 <xs:element name="color" type="xs:string" minOccurs="0"/> 13 </xs:sequence> 14 </xs:extension> 15 </xs:complexContent> 16 </xs:complexType> 17 18 <xs:complexType name="car" abstract="true"> 19 <xs:sequence> 20 <xs:element name="make" type="xs:string" minOccurs="0"/> 21 <xs:element name="model" type="xs:string" minOccurs="0"/> 22 <xs:element name="year" type="xs:string" minOccurs="0"/> 23 </xs:sequence> 24 </xs:complexType> 25 26 <xs:complexType name="getSedans"/> 27 28 <xs:complexType name="getSedansResponse"> 29 <xs:sequence> 30 <xs:element name="return" type="tns:car" maxOccurs="unbounded" minOccurs="0"/> 31 </xs:sequence> 32 </xs:complexType> 33</xs:schema> 34 35