| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" |
| 3 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 4 |
xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="urn:Thing" |
| 5 |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" |
| 6 |
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" |
| 7 |
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
| 8 |
targetNamespace="urn:Thing" xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 9 |
<!-- |
| 10 |
|
| 11 |
This test checks out the emitting of holders for container elements |
| 12 |
(arrays) that are inside elements. |
| 13 |
|
| 14 |
--> |
| 15 |
|
| 16 |
|
| 17 |
<types> |
| 18 |
<s:schema elementFormDefault="qualified" targetNamespace="urn:Thing"> |
| 19 |
<s:element name="aThing" type="s0:aThing" final="restriction"/> |
| 20 |
<s:simpleType name="aThing"> |
| 21 |
<s:restriction base="s:string"> |
| 22 |
<s:maxLength value="255"/> |
| 23 |
</s:restriction> |
| 24 |
</s:simpleType> |
| 25 |
<s:element name="otherData" type="s0:otherData" final="restriction"/> |
| 26 |
<s:simpleType name="otherData"> |
| 27 |
<s:restriction base="s:string"> |
| 28 |
<s:maxLength value="1024"/> |
| 29 |
</s:restriction> |
| 30 |
</s:simpleType> |
| 31 |
<s:element name="find_aThing" type="s0:find_aThing" final="restriction"/> |
| 32 |
<s:complexType name="find_aThing" final="restriction"> |
| 33 |
<s:sequence> |
| 34 |
<s:element ref="s0:aThing" maxOccurs="1"/> |
| 35 |
</s:sequence> |
| 36 |
</s:complexType> |
| 37 |
<s:element name="AThingResponse" type="s0:AThingResponse" final="restriction"/> |
| 38 |
<s:complexType name="AThingResponse" final="restriction"> |
| 39 |
<s:sequence> |
| 40 |
<s:element ref="s0:aThing" minOccurs="0" maxOccurs="unbounded"/> |
| 41 |
<s:element ref="s0:otherData" minOccurs="0" maxOccurs="unbounded"/> |
| 42 |
</s:sequence> |
| 43 |
</s:complexType> |
| 44 |
</s:schema> |
| 45 |
</types> |
| 46 |
<message name="ThingIn"> |
| 47 |
<part name="parameters" element="s0:find_aThing" /> |
| 48 |
</message> |
| 49 |
<message name="ThingOut"> |
| 50 |
<part name="parameters" element="s0:AThingResponse" /> |
| 51 |
</message> |
| 52 |
<portType name="Thing"> |
| 53 |
<operation name="find_aThing"> |
| 54 |
<input message="s0:ThingIn" /> |
| 55 |
<output message="s0:ThingOut" /> |
| 56 |
</operation> |
| 57 |
</portType> |
| 58 |
<binding name="Thing" type="s0:Thing"> |
| 59 |
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> |
| 60 |
<operation name="find_aThing"> |
| 61 |
<soap:operation soapAction="http://tempuri.org/find_aThing" style="document" /> |
| 62 |
<input> |
| 63 |
<soap:body use="literal" /> |
| 64 |
</input> |
| 65 |
<output> |
| 66 |
<soap:body use="literal" /> |
| 67 |
</output> |
| 68 |
</operation> |
| 69 |
</binding> |
| 70 |
<service name="wrapped_holders"> |
| 71 |
<port name="Thing" binding="s0:Thing"> |
| 72 |
<soap:address location="http://localhost:8080/axis/services/Thing" /> |
| 73 |
</port> |
| 74 |
</service> |
| 75 |
</definitions> |