Merge pull request #409 from Alkarex/patch-1
[mono.git] / mcs / class / System.Runtime.Serialization / Test / Resources / WSDL / collections.wsdl
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <wsdl:definitions name="MyService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">\r
3   <wsdl:types>\r
4     <xs:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">\r
5       <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />\r
6       <xs:import namespace="http://schemas.datacontract.org/2004/07/TestWCF.Model" />\r
7       <xs:element name="GetSimpleList">\r
8         <xs:complexType>\r
9           <xs:sequence />\r
10         </xs:complexType>\r
11       </xs:element>\r
12       <xs:element name="GetSimpleListResponse">\r
13         <xs:complexType>\r
14           <xs:sequence>\r
15             <xs:element minOccurs="0" name="GetSimpleListResult" nillable="true" type="q1:ArrayOfint" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />\r
16           </xs:sequence>\r
17         </xs:complexType>\r
18       </xs:element>\r
19       <xs:element name="GetListOfStringArray">\r
20         <xs:complexType>\r
21           <xs:sequence />\r
22         </xs:complexType>\r
23       </xs:element>\r
24       <xs:element name="GetListOfStringArrayResponse">\r
25         <xs:complexType>\r
26           <xs:sequence>\r
27             <xs:element minOccurs="0" name="GetListOfStringArrayResult" nillable="true" type="q2:ArrayOfArrayOfstring" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />\r
28           </xs:sequence>\r
29         </xs:complexType>\r
30       </xs:element>\r
31       <xs:element name="GetListOfFoo">\r
32         <xs:complexType>\r
33           <xs:sequence />\r
34         </xs:complexType>\r
35       </xs:element>\r
36       <xs:element name="GetListOfFooResponse">\r
37         <xs:complexType>\r
38           <xs:sequence>\r
39             <xs:element minOccurs="0" name="GetListOfFooResult" nillable="true" type="q3:ArrayOfFoo" xmlns:q3="http://schemas.datacontract.org/2004/07/TestWCF.Model" />\r
40           </xs:sequence>\r
41         </xs:complexType>\r
42       </xs:element>\r
43       <xs:element name="GetSimpleDictionary">\r
44         <xs:complexType>\r
45           <xs:sequence />\r
46         </xs:complexType>\r
47       </xs:element>\r
48       <xs:element name="GetSimpleDictionaryResponse">\r
49         <xs:complexType>\r
50           <xs:sequence>\r
51             <xs:element minOccurs="0" name="GetSimpleDictionaryResult" nillable="true" type="q4:ArrayOfKeyValueOfintstring" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />\r
52           </xs:sequence>\r
53         </xs:complexType>\r
54       </xs:element>\r
55     </xs:schema>\r
56     <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/">\r
57       <xs:element name="anyType" nillable="true" type="xs:anyType" />\r
58       <xs:element name="anyURI" nillable="true" type="xs:anyURI" />\r
59       <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />\r
60       <xs:element name="boolean" nillable="true" type="xs:boolean" />\r
61       <xs:element name="byte" nillable="true" type="xs:byte" />\r
62       <xs:element name="dateTime" nillable="true" type="xs:dateTime" />\r
63       <xs:element name="decimal" nillable="true" type="xs:decimal" />\r
64       <xs:element name="double" nillable="true" type="xs:double" />\r
65       <xs:element name="float" nillable="true" type="xs:float" />\r
66       <xs:element name="int" nillable="true" type="xs:int" />\r
67       <xs:element name="long" nillable="true" type="xs:long" />\r
68       <xs:element name="QName" nillable="true" type="xs:QName" />\r
69       <xs:element name="short" nillable="true" type="xs:short" />\r
70       <xs:element name="string" nillable="true" type="xs:string" />\r
71       <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />\r
72       <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />\r
73       <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />\r
74       <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />\r
75       <xs:element name="char" nillable="true" type="tns:char" />\r
76       <xs:simpleType name="char">\r
77         <xs:restriction base="xs:int" />\r
78       </xs:simpleType>\r
79       <xs:element name="duration" nillable="true" type="tns:duration" />\r
80       <xs:simpleType name="duration">\r
81         <xs:restriction base="xs:duration">\r
82           <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />\r
83           <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />\r
84           <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />\r
85         </xs:restriction>\r
86       </xs:simpleType>\r
87       <xs:element name="guid" nillable="true" type="tns:guid" />\r
88       <xs:simpleType name="guid">\r
89         <xs:restriction base="xs:string">\r
90           <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />\r
91         </xs:restriction>\r
92       </xs:simpleType>\r
93       <xs:attribute name="FactoryType" type="xs:QName" />\r
94       <xs:attribute name="Id" type="xs:ID" />\r
95       <xs:attribute name="Ref" type="xs:IDREF" />\r
96     </xs:schema>\r
97     <xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">\r
98       <xs:complexType name="ArrayOfint">\r
99         <xs:sequence>\r
100           <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />\r
101         </xs:sequence>\r
102       </xs:complexType>\r
103       <xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />\r
104       <xs:complexType name="ArrayOfArrayOfstring">\r
105         <xs:sequence>\r
106           <xs:element minOccurs="0" maxOccurs="unbounded" name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />\r
107         </xs:sequence>\r
108       </xs:complexType>\r
109       <xs:element name="ArrayOfArrayOfstring" nillable="true" type="tns:ArrayOfArrayOfstring" />\r
110       <xs:complexType name="ArrayOfstring">\r
111         <xs:sequence>\r
112           <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />\r
113         </xs:sequence>\r
114       </xs:complexType>\r
115       <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />\r
116       <xs:complexType name="ArrayOfKeyValueOfintstring">\r
117         <xs:annotation>\r
118           <xs:appinfo>\r
119             <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>\r
120           </xs:appinfo>\r
121         </xs:annotation>\r
122         <xs:sequence>\r
123           <xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfintstring">\r
124             <xs:complexType>\r
125               <xs:sequence>\r
126                 <xs:element name="Key" type="xs:int" />\r
127                 <xs:element name="Value" nillable="true" type="xs:string" />\r
128               </xs:sequence>\r
129             </xs:complexType>\r
130           </xs:element>\r
131         </xs:sequence>\r
132       </xs:complexType>\r
133       <xs:element name="ArrayOfKeyValueOfintstring" nillable="true" type="tns:ArrayOfKeyValueOfintstring" />\r
134     </xs:schema>\r
135     <xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/TestWCF.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/TestWCF.Model">\r
136       <xs:complexType name="ArrayOfFoo">\r
137         <xs:sequence>\r
138           <xs:element minOccurs="0" maxOccurs="unbounded" name="Foo" nillable="true" type="tns:Foo" />\r
139         </xs:sequence>\r
140       </xs:complexType>\r
141       <xs:element name="ArrayOfFoo" nillable="true" type="tns:ArrayOfFoo" />\r
142       <xs:complexType name="Foo">\r
143         <xs:sequence>\r
144           <xs:element minOccurs="0" name="Text" nillable="true" type="xs:string" />\r
145         </xs:sequence>\r
146       </xs:complexType>\r
147       <xs:element name="Foo" nillable="true" type="tns:Foo" />\r
148     </xs:schema>\r
149   </wsdl:types>\r
150   <wsdl:message name="IMyService_GetSimpleList_InputMessage">\r
151     <wsdl:part name="parameters" element="tns:GetSimpleList" />\r
152   </wsdl:message>\r
153   <wsdl:message name="IMyService_GetSimpleList_OutputMessage">\r
154     <wsdl:part name="parameters" element="tns:GetSimpleListResponse" />\r
155   </wsdl:message>\r
156   <wsdl:message name="IMyService_GetListOfStringArray_InputMessage">\r
157     <wsdl:part name="parameters" element="tns:GetListOfStringArray" />\r
158   </wsdl:message>\r
159   <wsdl:message name="IMyService_GetListOfStringArray_OutputMessage">\r
160     <wsdl:part name="parameters" element="tns:GetListOfStringArrayResponse" />\r
161   </wsdl:message>\r
162   <wsdl:message name="IMyService_GetListOfFoo_InputMessage">\r
163     <wsdl:part name="parameters" element="tns:GetListOfFoo" />\r
164   </wsdl:message>\r
165   <wsdl:message name="IMyService_GetListOfFoo_OutputMessage">\r
166     <wsdl:part name="parameters" element="tns:GetListOfFooResponse" />\r
167   </wsdl:message>\r
168   <wsdl:message name="IMyService_GetSimpleDictionary_InputMessage">\r
169     <wsdl:part name="parameters" element="tns:GetSimpleDictionary" />\r
170   </wsdl:message>\r
171   <wsdl:message name="IMyService_GetSimpleDictionary_OutputMessage">\r
172     <wsdl:part name="parameters" element="tns:GetSimpleDictionaryResponse" />\r
173   </wsdl:message>\r
174   <wsdl:portType name="IMyService">\r
175     <wsdl:operation name="GetSimpleList">\r
176       <wsdl:input wsaw:Action="http://tempuri.org/IMyService/GetSimpleList" message="tns:IMyService_GetSimpleList_InputMessage" />\r
177       <wsdl:output wsaw:Action="http://tempuri.org/IMyService/GetSimpleListResponse" message="tns:IMyService_GetSimpleList_OutputMessage" />\r
178     </wsdl:operation>\r
179     <wsdl:operation name="GetListOfStringArray">\r
180       <wsdl:input wsaw:Action="http://tempuri.org/IMyService/GetListOfStringArray" message="tns:IMyService_GetListOfStringArray_InputMessage" />\r
181       <wsdl:output wsaw:Action="http://tempuri.org/IMyService/GetListOfStringArrayResponse" message="tns:IMyService_GetListOfStringArray_OutputMessage" />\r
182     </wsdl:operation>\r
183     <wsdl:operation name="GetListOfFoo">\r
184       <wsdl:input wsaw:Action="http://tempuri.org/IMyService/GetListOfFoo" message="tns:IMyService_GetListOfFoo_InputMessage" />\r
185       <wsdl:output wsaw:Action="http://tempuri.org/IMyService/GetListOfFooResponse" message="tns:IMyService_GetListOfFoo_OutputMessage" />\r
186     </wsdl:operation>\r
187     <wsdl:operation name="GetSimpleDictionary">\r
188       <wsdl:input wsaw:Action="http://tempuri.org/IMyService/GetSimpleDictionary" message="tns:IMyService_GetSimpleDictionary_InputMessage" />\r
189       <wsdl:output wsaw:Action="http://tempuri.org/IMyService/GetSimpleDictionaryResponse" message="tns:IMyService_GetSimpleDictionary_OutputMessage" />\r
190     </wsdl:operation>\r
191   </wsdl:portType>\r
192   <wsdl:binding name="defaultEndpoint" type="tns:IMyService">\r
193     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />\r
194     <wsdl:operation name="GetSimpleList">\r
195       <soap:operation soapAction="http://tempuri.org/IMyService/GetSimpleList" style="document" />\r
196       <wsdl:input>\r
197         <soap:body use="literal" />\r
198       </wsdl:input>\r
199       <wsdl:output>\r
200         <soap:body use="literal" />\r
201       </wsdl:output>\r
202     </wsdl:operation>\r
203     <wsdl:operation name="GetListOfStringArray">\r
204       <soap:operation soapAction="http://tempuri.org/IMyService/GetListOfStringArray" style="document" />\r
205       <wsdl:input>\r
206         <soap:body use="literal" />\r
207       </wsdl:input>\r
208       <wsdl:output>\r
209         <soap:body use="literal" />\r
210       </wsdl:output>\r
211     </wsdl:operation>\r
212     <wsdl:operation name="GetListOfFoo">\r
213       <soap:operation soapAction="http://tempuri.org/IMyService/GetListOfFoo" style="document" />\r
214       <wsdl:input>\r
215         <soap:body use="literal" />\r
216       </wsdl:input>\r
217       <wsdl:output>\r
218         <soap:body use="literal" />\r
219       </wsdl:output>\r
220     </wsdl:operation>\r
221     <wsdl:operation name="GetSimpleDictionary">\r
222       <soap:operation soapAction="http://tempuri.org/IMyService/GetSimpleDictionary" style="document" />\r
223       <wsdl:input>\r
224         <soap:body use="literal" />\r
225       </wsdl:input>\r
226       <wsdl:output>\r
227         <soap:body use="literal" />\r
228       </wsdl:output>\r
229     </wsdl:operation>\r
230   </wsdl:binding>\r
231   <wsdl:service name="MyService">\r
232     <wsdl:port name="defaultEndpoint" binding="tns:defaultEndpoint">\r
233       <soap:address location="http://provcon-faust/TestWCF/MyService.svc" />\r
234     </wsdl:port>\r
235   </wsdl:service>\r
236 </wsdl:definitions>