| 1 |
<?xml version="1.0" ?> |
| 2 |
|
| 3 |
<definitions name="urn:MArrayTests" |
| 4 |
targetNamespace="urn:MArrayTests" |
| 5 |
xmlns:tns="urn:MArrayTests" |
| 6 |
xmlns:typens="urn:MArrayTests" |
| 7 |
xmlns:xsd="http://www.w3.org/1999/XMLSchema" |
| 8 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 9 |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" |
| 10 |
xmlns:soapy="http://xml.apache.org/xml-soap" |
| 11 |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
| 12 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 13 |
|
| 14 |
<!-- type defs --> |
| 15 |
<types> |
| 16 |
<xsd:schema targetNamespace="urn:MArrayTests" |
| 17 |
xmlns:xsd="http://www.w3.org/1999/XMLSchema"> |
| 18 |
|
| 19 |
<!-- Arrays of ints --> |
| 20 |
<xsd:complexType name="Array1"> |
| 21 |
<xsd:complexContent> |
| 22 |
<xsd:restriction base="soapenc:Array"> |
| 23 |
<xsd:sequence> |
| 24 |
<xsd:element name="alias" type="xsd:int" maxOccurs="unbounded"/> |
| 25 |
</xsd:sequence> |
| 26 |
</xsd:restriction> |
| 27 |
</xsd:complexContent> |
| 28 |
</xsd:complexType> |
| 29 |
|
| 30 |
|
| 31 |
<xsd:complexType name="Array2"> |
| 32 |
<xsd:complexContent> |
| 33 |
<xsd:restriction base="soapenc:Array"> |
| 34 |
<xsd:sequence> |
| 35 |
<xsd:element name="alias" type="typens:Array1" maxOccurs="unbounded"/> |
| 36 |
</xsd:sequence> |
| 37 |
</xsd:restriction> |
| 38 |
</xsd:complexContent> |
| 39 |
</xsd:complexType> |
| 40 |
|
| 41 |
<xsd:complexType name="Array3"> |
| 42 |
<xsd:complexContent> |
| 43 |
<xsd:restriction base="soapenc:Array"> |
| 44 |
<xsd:sequence> |
| 45 |
<xsd:element name="alias" type="typens:Array2" maxOccurs="unbounded"/> |
| 46 |
</xsd:sequence> |
| 47 |
</xsd:restriction> |
| 48 |
</xsd:complexContent> |
| 49 |
</xsd:complexType> |
| 50 |
|
| 51 |
<!-- Arrays of Complex Types --> |
| 52 |
<xsd:complexType name="foo"> |
| 53 |
<xsd:all> |
| 54 |
<xsd:element name="value" type="xsd:int"/> |
| 55 |
</xsd:all> |
| 56 |
</xsd:complexType> |
| 57 |
|
| 58 |
<xsd:complexType name="derivedFoo"> |
| 59 |
<xsd:complexContent> |
| 60 |
<xsd:extension base="typens:foo" > |
| 61 |
<xsd:all> |
| 62 |
<xsd:element name="value2" type="xsd:int"/> |
| 63 |
</xsd:all> |
| 64 |
</xsd:extension> |
| 65 |
</xsd:complexContent> |
| 66 |
</xsd:complexType> |
| 67 |
|
| 68 |
<xsd:complexType name="Array1F"> |
| 69 |
<xsd:complexContent> |
| 70 |
<xsd:restriction base="soapenc:Array"> |
| 71 |
<xsd:sequence> |
| 72 |
<xsd:element name="alias" type="typens:foo" maxOccurs="unbounded"/> |
| 73 |
</xsd:sequence> |
| 74 |
</xsd:restriction> |
| 75 |
</xsd:complexContent> |
| 76 |
</xsd:complexType> |
| 77 |
|
| 78 |
<xsd:complexType name="Array2F"> |
| 79 |
<xsd:complexContent> |
| 80 |
<xsd:restriction base="soapenc:Array"> |
| 81 |
<xsd:sequence> |
| 82 |
<xsd:element name="alias" type="typens:Array1F" maxOccurs="unbounded"/> |
| 83 |
</xsd:sequence> |
| 84 |
</xsd:restriction> |
| 85 |
</xsd:complexContent> |
| 86 |
</xsd:complexType> |
| 87 |
|
| 88 |
<xsd:complexType name="Array3F"> |
| 89 |
<xsd:complexContent> |
| 90 |
<xsd:restriction base="soapenc:Array"> |
| 91 |
<xsd:sequence> |
| 92 |
<xsd:element name="alias" type="typens:Array2F" maxOccurs="unbounded"/> |
| 93 |
</xsd:sequence> |
| 94 |
</xsd:restriction> |
| 95 |
</xsd:complexContent> |
| 96 |
</xsd:complexType> |
| 97 |
</xsd:schema> |
| 98 |
|
| 99 |
</types> |
| 100 |
|
| 101 |
<!-- message declns --> |
| 102 |
|
| 103 |
<message name="testIntArrayRequest"> |
| 104 |
<part name="in" type="typens:Array3"/> |
| 105 |
</message> |
| 106 |
|
| 107 |
<message name="testIntArrayResponse"> |
| 108 |
<part name="out" type="typens:Array3"/> |
| 109 |
</message> |
| 110 |
|
| 111 |
<message name="testFooArrayRequest"> |
| 112 |
<part name="in" type="typens:Array3F"/> |
| 113 |
</message> |
| 114 |
|
| 115 |
<message name="testFooArrayResponse"> |
| 116 |
<part name="out" type="typens:Array3F"/> |
| 117 |
</message> |
| 118 |
|
| 119 |
<message name="testMapFooArrayRequest"> |
| 120 |
<part name="in" type="soapy:Map"/> |
| 121 |
</message> |
| 122 |
<message name="testMapFooArrayResponse"> |
| 123 |
<part name="out" type="soapy:Map"/> |
| 124 |
</message> |
| 125 |
|
| 126 |
<!-- port type declns --> |
| 127 |
<portType name="MArrayTests"> |
| 128 |
<operation name="testIntArray"> |
| 129 |
<input message="tns:testIntArrayRequest"/> |
| 130 |
<output message="tns:testIntArrayResponse"/> |
| 131 |
</operation> |
| 132 |
<operation name="testFooArray"> |
| 133 |
<input message="tns:testFooArrayRequest"/> |
| 134 |
<output message="tns:testFooArrayResponse"/> |
| 135 |
</operation> |
| 136 |
<operation name="testMapFooArray"> |
| 137 |
<input message="tns:testMapFooArrayRequest"/> |
| 138 |
<output message="tns:testMapFooArrayResponse"/> |
| 139 |
</operation> |
| 140 |
</portType> |
| 141 |
|
| 142 |
<!-- binding declns --> |
| 143 |
<binding name="MArrayTestsSOAPBinding" type="tns:MArrayTests"> |
| 144 |
<soap:binding style="rpc" |
| 145 |
transport="http://schemas.xmlsoap.org/soap/http"/> |
| 146 |
<operation name="testIntArray"> |
| 147 |
<soap:operation soapAction=""/> |
| 148 |
<input> |
| 149 |
<soap:body use="encoded" |
| 150 |
namespace="urn:MArrayTests" |
| 151 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 152 |
</input> |
| 153 |
<output> |
| 154 |
<soap:body use="encoded" |
| 155 |
namespace="urn:MArrayTests" |
| 156 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 157 |
</output> |
| 158 |
</operation> |
| 159 |
<operation name="testFooArray"> |
| 160 |
<soap:operation soapAction=""/> |
| 161 |
<input> |
| 162 |
<soap:body use="encoded" |
| 163 |
namespace="urn:MArrayTests" |
| 164 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 165 |
</input> |
| 166 |
<output> |
| 167 |
<soap:body use="encoded" |
| 168 |
namespace="urn:MArrayTests" |
| 169 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 170 |
</output> |
| 171 |
</operation> |
| 172 |
<operation name="testMapFooArray"> |
| 173 |
<soap:operation soapAction=""/> |
| 174 |
<input> |
| 175 |
<soap:body use="encoded" |
| 176 |
namespace="urn:MArrayTests" |
| 177 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 178 |
</input> |
| 179 |
<output> |
| 180 |
<soap:body use="encoded" |
| 181 |
namespace="urn:MArrayTests" |
| 182 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 183 |
</output> |
| 184 |
</operation> |
| 185 |
</binding> |
| 186 |
|
| 187 |
<!-- service decln --> |
| 188 |
<service name="MArrayTestsService"> |
| 189 |
<port name="MArrayTests" binding="tns:MArrayTestsSOAPBinding"> |
| 190 |
<soap:address location="http://localhost:8080/axis/services/MArrayTests"/> |
| 191 |
</port> |
| 192 |
</service> |
| 193 |
|
| 194 |
</definitions> |
| 195 |
|