blob: c946eae9e80381afd76f91068c9a411cccaeee8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* 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.
*/
-->
<!-- Round 2 test cases for testing effective policy
computations for policies attached to WSDL 20 policy subjects.
xmlns:wsp="http://www.w3.org/ns/ws-policy"
-->
<wsdl20:description xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl20="http://www.w3.org/2006/01/wsdl"
xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:pa="http://ws-policy.example.com/assertion"
xmlns:s="http://schema.example.com/test"
targetNamespace="http://ws-policy.example.com/test"
xmlns:tns="http://ws-policy.example.com/test"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd
http://www.w3.org/2006/01/wsdl http://www.w3.org/2006/03/wsdl/wsdl20.xsd
http://www.w3.org/2006/01/wsdl/soap http://www.w3.org/2006/03/wsdl/soap.xsd
http://www.w3.org/ns/ws-policy http://www.w3.org/2002/ws/policy/ns/ws-policy">
<wsp:Policy wsu:Id="Policy1">
<pa:Assertion1 marker="1"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy2">
<pa:Assertion2 marker="2"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy3">
<pa:Assertion3 marker="3"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy4">
<pa:Assertion4 marker="4"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy5">
<pa:Assertion5 marker="5"/>
<wsp:PolicyReference URI="#Policy2"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy6">
<pa:Assertion6 marker="6"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy7">
<pa:Assertion7 marker="7"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy8">
<pa:Assertion8 marker="8"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy9">
<pa:Assertion9 marker="9"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy10">
<pa:Assertion10 marker="10"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy11">
<pa:Assertion11 marker="11"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy12">
<pa:Assertion12 marker="12"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy13">
<pa:Assertion13 marker="13"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy14">
<pa:Assertion14 marker="14"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy15">
<pa:Assertion15 marker="15"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy16">
<pa:Assertion16 marker="16"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy17">
<pa:Assertion17 marker="17"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy18">
<pa:Assertion18 marker="18"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy19">
<pa:Assertion19 marker="19"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy20">
<pa:Assertion20 marker="20"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy21">
<pa:Assertion21 marker="21"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy22">
<pa:Assertion22 marker="22"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy23">
<pa:Assertion23 marker="23"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy24">
<pa:Assertion24 marker="24"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy25">
<pa:Assertion25 marker="25"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy26">
<pa:Assertion26 marker="26"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy27">
<pa:Assertion27 marker="27"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy28">
<pa:Assertion28 marker="28"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy29">
<pa:Assertion29 marker="29"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy30">
<pa:Assertion30 marker="30"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy31">
<pa:Assertion31 marker="31"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy32">
<pa:Assertion32 marker="32"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy33">
<pa:Assertion33 marker="33"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy34">
<pa:Assertion34 marker="34"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy35">
<pa:Assertion35 marker="35"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy36">
<pa:Assertion36 marker="36"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy37">
<pa:Assertion37 marker="37"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy38">
<pa:Assertion38 marker="38"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy39">
<pa:Assertion39 marker="39"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy40">
<pa:Assertion40 marker="40"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy41">
<pa:Assertion41 marker="41"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy42">
<pa:Assertion42 marker="42"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy43">
<pa:Assertion43 marker="43"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy44">
<pa:Assertion44 marker="44"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy45">
<pa:Assertion45 marker="45"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy46">
<pa:Assertion46 marker="46"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy47">
<pa:Assertion47 marker="47"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy48">
<pa:Assertion48 marker="48"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy49">
<pa:Assertion49 marker="49"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy50">
<pa:Assertion50 marker="50"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy51">
<pa:Assertion51 marker="51"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy52">
<pa:Assertion52 marker="52"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy53">
<pa:Assertion53 marker="53"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy54">
<pa:Assertion54 marker="54"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy55">
<pa:Assertion55 marker="55"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy56">
<pa:Assertion56 marker="56"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy57">
<pa:Assertion57 marker="57"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy58">
<pa:Assertion58 marker="58"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy59">
<pa:Assertion59 marker="59"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy60">
<pa:Assertion60 marker="60"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy61">
<pa:Assertion61 marker="61"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy62">
<pa:Assertion62 marker="62"/>
</wsp:Policy>
<wsp:Policy wsu:Id="Policy63">
<pa:Assertion63 marker="63"/>
</wsp:Policy>
<wsdl20:types>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schema.example.com/test">
<xsd:element name="SimpleRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="request" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SimpleResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="response" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SimpleFault">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="fault" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl20:types>
<wsdl20:interface name="Base-Interface">
<wsp:PolicyReference URI="#Policy1"></wsp:PolicyReference>
</wsdl20:interface>
<wsdl20:interface name="Interface-1" extends="tns:Base-Interface">
<wsp:PolicyReference URI="#Policy2"></wsp:PolicyReference>
<wsdl20:fault name="Fault-1" element="s:SimpleFault">
<wsp:PolicyReference URI="#Policy3"></wsp:PolicyReference>
</wsdl20:fault>
<wsdl20:operation name="Operation-1A" pattern="http://www.w3.org/2006/01/wsdl/in-out">
<wsp:PolicyReference URI="#Policy4"></wsp:PolicyReference>
<wsdl20:input element="s:SimpleRequest">
<wsp:PolicyReference URI="#Policy5"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output element="s:SimpleResponse">
<wsp:PolicyReference URI="#Policy6"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-1">
<wsp:PolicyReference URI="#Policy7"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
<wsdl20:operation name="Operation-1B" pattern="http://www.w3.org/2006/01/wsdl/in-out">
<wsp:PolicyReference URI="#Policy8"></wsp:PolicyReference>
<wsdl20:input element="s:SimpleRequest">
<wsp:PolicyReference URI="#Policy9"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output element="s:SimpleResponse">
<wsp:PolicyReference URI="#Policy10"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-1">
<wsp:PolicyReference URI="#Policy11"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
</wsdl20:interface>
<wsdl20:interface name="Interface-2" extends="tns:Base-Interface">
<wsp:PolicyReference URI="#Policy12"></wsp:PolicyReference>
<wsdl20:fault name="Fault-2" element="s:SimpleFault">
<wsp:PolicyReference URI="#Policy13"></wsp:PolicyReference>
</wsdl20:fault>
<wsdl20:operation name="Operation-2A" pattern="http://www.w3.org/2006/01/wsdl/in-out">
<wsp:PolicyReference URI="#Policy14"></wsp:PolicyReference>
<wsdl20:input element="s:SimpleRequest">
<wsp:PolicyReference URI="#Policy15"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output element="s:SimpleResponse">
<wsp:PolicyReference URI="#Policy16"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-2">
<wsp:PolicyReference URI="#Policy17"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
<wsdl20:operation name="Operation-2B" pattern="http://www.w3.org/2006/01/wsdl/in-out">
<wsp:PolicyReference URI="#Policy18"></wsp:PolicyReference>
<wsdl20:input element="s:SimpleRequest">
<wsp:PolicyReference URI="#Policy19"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output element="s:SimpleResponse">
<wsp:PolicyReference URI="#Policy20"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-2">
<wsp:PolicyReference URI="#Policy21"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
</wsdl20:interface>
<wsdl20:binding name="Binding-1A" interface="tns:Interface-1"
type="http://www.w3.org/2006/01/wsdl/soap"
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
<wsp:PolicyReference URI="#Policy22"></wsp:PolicyReference>
<wsdl20:operation ref="tns:Operation-1A">
<wsp:PolicyReference URI="#Policy23"></wsp:PolicyReference>
<wsdl20:input>
<wsp:PolicyReference URI="#Policy24"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output>
<wsp:PolicyReference URI="#Policy25"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-1">
<wsp:PolicyReference URI="#Policy26"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
<wsdl20:operation ref="tns:Operation-1B">
<wsp:PolicyReference URI="#Policy27"></wsp:PolicyReference>
<wsdl20:input>
<wsp:PolicyReference URI="#Policy28"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output>
<wsp:PolicyReference URI="#Policy29"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-1">
<wsp:PolicyReference URI="#Policy30"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
</wsdl20:binding>
<wsdl20:binding name="Binding-1B" interface="tns:Interface-1"
type="http://www.w3.org/2006/01/wsdl/soap"
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
<wsp:PolicyReference URI="#Policy31"></wsp:PolicyReference>
<wsdl20:operation ref="tns:Operation-1A">
<wsp:PolicyReference URI="#Policy32"></wsp:PolicyReference>
<wsdl20:input>
<wsp:PolicyReference URI="#Policy33"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output>
<wsp:PolicyReference URI="#Policy34"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-1">
<wsp:PolicyReference URI="#Policy35"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
<wsdl20:operation ref="tns:Operation-1B">
<wsp:PolicyReference URI="#Policy36"></wsp:PolicyReference>
<wsdl20:input>
<wsp:PolicyReference URI="#Policy37"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output>
<wsp:PolicyReference URI="#Policy38"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-1">
<wsp:PolicyReference URI="#Policy39"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
</wsdl20:binding>
<wsdl20:binding name="Binding-2A" interface="tns:Interface-2"
type="http://www.w3.org/2006/01/wsdl/soap"
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
<wsp:PolicyReference URI="#Policy40"></wsp:PolicyReference>
<wsdl20:operation ref="tns:Operation-2A">
<wsp:PolicyReference URI="#Policy41"></wsp:PolicyReference>
<wsdl20:input>
<wsp:PolicyReference URI="#Policy42"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output>
<wsp:PolicyReference URI="#Policy43"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-2">
<wsp:PolicyReference URI="#Policy44"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
<wsdl20:operation ref="tns:Operation-2B">
<wsp:PolicyReference URI="#Policy45"></wsp:PolicyReference>
<wsdl20:input>
<wsp:PolicyReference URI="#Policy46"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output>
<wsp:PolicyReference URI="#Policy47"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-2">
<wsp:PolicyReference URI="#Policy48"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
</wsdl20:binding>
<wsdl20:binding name="Binding-2B" interface="tns:Interface-2"
type="http://www.w3.org/2006/01/wsdl/soap"
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
<wsp:PolicyReference URI="#Policy49"></wsp:PolicyReference>
<wsdl20:operation ref="tns:Operation-2A">
<wsp:PolicyReference URI="#Policy50"></wsp:PolicyReference>
<wsdl20:input>
<wsp:PolicyReference URI="#Policy51"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output>
<wsp:PolicyReference URI="#Policy52"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-2">
<wsp:PolicyReference URI="#Policy53"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
<wsdl20:operation ref="tns:Operation-2B">
<wsp:PolicyReference URI="#Policy54"></wsp:PolicyReference>
<wsdl20:input>
<wsp:PolicyReference URI="#Policy55"></wsp:PolicyReference>
</wsdl20:input>
<wsdl20:output>
<wsp:PolicyReference URI="#Policy56"></wsp:PolicyReference>
</wsdl20:output>
<wsdl20:outfault ref="tns:Fault-2">
<wsp:PolicyReference URI="#Policy57"></wsp:PolicyReference>
</wsdl20:outfault>
</wsdl20:operation>
</wsdl20:binding>
<wsdl20:service name="Service-1" interface="tns:Interface-1">
<wsp:PolicyReference URI="#Policy58"></wsp:PolicyReference>
<wsdl20:endpoint name="Endpoint-1A" binding="Binding-1A">
<wsp:PolicyReference URI="#Policy59"></wsp:PolicyReference>
</wsdl20:endpoint>
<wsdl20:endpoint name="Endpoint-1B" binding="Binding-1B">
<wsp:PolicyReference URI="#Policy60"></wsp:PolicyReference>
</wsdl20:endpoint>
</wsdl20:service>
<wsdl20:service name="Service-2" interface="tns:Interface-2">
<wsp:PolicyReference URI="#Policy61"></wsp:PolicyReference>
<wsdl20:endpoint name="Endpoint-2A" binding="Binding-2A">
<wsp:PolicyReference URI="#Policy62"></wsp:PolicyReference>
</wsdl20:endpoint>
<wsdl20:endpoint name="Endpoint-2B" binding="Binding-2A">
<wsp:PolicyReference URI="#Policy63"></wsp:PolicyReference>
</wsdl20:endpoint>
</wsdl20:service>
</wsdl20:description>
|