File: hello_literal_identity3.wsdl

package info (click to toggle)
jaxws 2.3.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 44,348 kB
  • sloc: java: 191,283; xml: 46,197; sh: 728; perl: 115; makefile: 14
file content (343 lines) | stat: -rw-r--r-- 12,419 bytes parent folder | download | duplicates (3)
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
<?xml version="1.0" encoding="UTF-8"?>
<!--

    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

    Copyright (c) 1997-2017 Oracle and/or its affiliates. All rights reserved.

    The contents of this file are subject to the terms of either the GNU
    General Public License Version 2 only ("GPL") or the Common Development
    and Distribution License("CDDL") (collectively, the "License").  You
    may not use this file except in compliance with the License.  You can
    obtain a copy of the License at
    https://oss.oracle.com/licenses/CDDL+GPL-1.1
    or LICENSE.txt.  See the License for the specific
    language governing permissions and limitations under the License.

    When distributing the software, include this License Header Notice in each
    file and include the License file at LICENSE.txt.

    GPL Classpath Exception:
    Oracle designates this particular file as subject to the "Classpath"
    exception as provided by Oracle in the GPL Version 2 section of the License
    file that accompanied this code.

    Modifications:
    If applicable, add the following below the License Header, with the fields
    enclosed by brackets [] replaced by your own identifying information:
    "Portions Copyright [year] [name of copyright owner]"

    Contributor(s):
    If you wish your version of this file to be governed by only the CDDL or
    only the GPL Version 2, indicate your decision by adding "[Contributor]
    elects to include this software in this distribution under the [CDDL or GPL
    Version 2] license."  If you don't indicate a single choice of license, a
    recipient has the option to distribute your version of this file under
    either the CDDL, the GPL Version 2 or to extend the choice of license to
    its licensees as provided above.  However, if you add GPL Version 2 code
    and therefore, elected the GPL Version 2 license, then the option applies
    only if the new code is made subject to such option by the copyright
    holder.

-->

<definitions
  name="HelloTest"
  targetNamespace="urn:test"
  xmlns="http://schemas.xmlsoap.org/wsdl/"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:types="urn:test:types"
  xmlns:tns="urn:test"
  xmlns:wsa10="http://www.w3.org/2005/08/addressing"
        xmlns:x="http://example.com/test"
        xmlns:wsid="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">

  <types>
    <xsd:schema
        targetNamespace="urn:test:types"
        attributeFormDefault="qualified"
        elementFormDefault="qualified">

      <xsd:element name="Hello">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="argument" type="xsd:string"/>
                <xsd:element name="extra" type="xsd:string"/>
            </xsd:sequence>
        </xsd:complexType>
      </xsd:element>

    <xsd:complexType name="HelloType">
            <xsd:sequence>
                <xsd:element name="argument" type="xsd:string"/>
                <xsd:element name="extra" type="xsd:string"/>
            </xsd:sequence>
        </xsd:complexType>

      <xsd:element name="HelloResponse">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:sequence>
                    <xsd:element name="name" type="xsd:string"/>
                </xsd:sequence>
                <xsd:element name="argument" type="xsd:string"/>
                <xsd:element name="extra" type="xsd:string"/>
            </xsd:sequence>
        </xsd:complexType>
      </xsd:element>


      <xsd:element name="VoidTest" type="types:VoidType" nillable="true"/>

        <xsd:complexType name="VoidType">
          <xsd:sequence>
          </xsd:sequence>
        </xsd:complexType>

      <xsd:element name="VoidTestResponse" type="types:VoidType" nillable="true"/>

      <xsd:element name="echoArray" type="types:nameType"/>
      <xsd:element name="echoArray1" type="types:nameType"/>
      <xsd:element name="echoArray2" type="types:nameType"/>
      <xsd:element name="echoArray3" type="types:nameType"/>
      <xsd:element name="detail" type="xsd:string"/>
      <xsd:element name="echoArray4Body" type="types:nameType1"/>


      <xsd:element name="echoArrayResponse" type="types:nameType"/>
      <xsd:complexType name="nameType">
        <xsd:sequence>
          <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
      </xsd:complexType>

      <xsd:complexType name="nameType1">
        <xsd:sequence>
          <xsd:element name="name" type="types:HelloType" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
      </xsd:complexType>
        <xsd:element name="oneway" type="xsd:string"/>

    </xsd:schema>
  </types>

  <message name="HelloRequest">
    <part name="parameters" element="types:Hello"/>
    <part name="parameters1" element="types:Hello"/>
  </message>

  <message name="HelloResponse">
    <part name="parameters" element="types:HelloResponse"/>
    <part name="parameters2" element="types:Hello"/>
  </message>

  <message name="MarshallTest_voidTest">
    <part name="parameters" element="types:VoidTest"/>
  </message>

  <message name="MarshallTest_voidTestResponse">
    <part name="result" element="types:VoidTestResponse"/>
  </message>

  <message name="echoArrayRequest">
    <part name="body" element="types:echoArray"/>
  </message>

  <message name="echoArrayResponse">
    <part name="body" element="types:echoArray"/>
  </message>

  <message name="echoArrayRequest1">
    <part name="body" element="types:echoArray1"/>
  </message>

  <message name="echoArrayResponse1">
    <part name="body" element="types:echoArray1"/>
  </message>

  <message name="echoArrayRequest2">
    <part name="body" element="types:echoArray2"/>
  </message>

  <message name="echoArrayResponse2">
    <part name="body" element="types:echoArray2"/>
  </message>

  <message name="echoArrayRequest3">
    <part name="body" element="types:echoArray3"/>
  </message>

  <message name="echoArrayResponse3">
    <part name="body" element="types:echoArray3"/>
  </message>

  <message name="echoArrayRequest4">
    <part name="request" element="types:echoArray4Body"/>
  </message>

  <message name="echoArrayResponse4">
    <part name="response" element="types:echoArray4Body"/>
  </message>

  <message name="HelloException">
    <part name="detail" element="types:detail"/>
  </message>

    <message name="onewayrequest">
      <part name="rqequest" element="types:oneway"/>
    </message>

  <portType name="Hello">
      <operation name="oneway">
        <input  message="tns:onewayrequest"/>
      </operation>

    <operation name="hello">
      <input  message="tns:HelloRequest"/>
      <output message="tns:HelloResponse"/>
      <fault  name="helloFault" message="tns:HelloException"/>
    </operation>

    <!-- this is a regression test for bug 4823861 -->
    <operation name="voidTest">
      <input name="voidInput" message="tns:MarshallTest_voidTest"/>
      <output name="voidOutput" message="tns:MarshallTest_voidTestResponse"/>
    </operation>


    <operation name="echoArray">
      <input message="tns:echoArrayRequest"/>
      <output message="tns:echoArrayResponse"/>
    </operation>
<!--
    <operation name="echoArray1">
      <input message="tns:echoArrayRequest1"/>
      <output message="tns:echoArrayResponse1"/>
    </operation>
-->
    <operation name="echoArray2">
      <input message="tns:echoArrayRequest2"/>
      <output message="tns:echoArrayResponse2"/>
    </operation>

    <operation name="echoArray3">
      <input message="tns:echoArrayRequest3"/>
      <output message="tns:echoArrayResponse3"/>
    </operation>

    <operation name="echoArray4">
      <input message="tns:echoArrayRequest4"/>
      <output message="tns:echoArrayResponse4"/>
    </operation>
  </portType>

  <binding name="HelloBinding" type="tns:Hello">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
      <operation name="oneway">
      <soap:operation soapAction="urn:test:hello"/>
      <input>
        <soap:body use="literal"/>
      </input>
    </operation>

    <operation name="hello">
      <soap:operation soapAction="urn:test:hello"/>
      <input>
        <soap:body parts="parameters1" use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="helloFault">
        <soap:fault name="helloFault" use="literal"/>
      </fault>
    </operation>
    <operation name="voidTest">
      <input>
        <soap:body use="literal"/></input>
      <output>
        <soap:body use="literal"/></output>
      <soap:operation soapAction=""/>
    </operation>

    <operation name="echoArray">
      <soap:operation soapAction="urn:test:hello"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body parts="" use="literal"/>
      </output>
    </operation>
<!--
    <operation name="echoArray1">
      <soap:operation soapAction="urn:test:hello"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body parts="" use="literal"/>
        <soap:header message="tns:echoArrayResponse1" part="body" use="literal"/>
      </output>
    </operation>
-->
    <operation name="echoArray2">
      <soap:operation soapAction="urn:test:hello"/>
      <input>
        <soap:body parts="" use="literal"/>
        <soap:header message="tns:echoArrayRequest2" part="body" use="literal"/>
      </input>
      <output>
        <soap:body parts="" use="literal"/>
        <soap:header message="tns:echoArrayResponse2" part="body" use="literal"/>
      </output>
    </operation>

    <operation name="echoArray3">
      <soap:operation soapAction="urn:test:hello"/>
      <input>
        <soap:body/>
      </input>
      <output>
        <soap:body/>
      </output>
    </operation>

    <operation name="echoArray4">
      <soap:operation soapAction="urn:test:hello"/>
      <input>
        <soap:body/>
      </input>
      <output>
        <soap:body/>
      </output>
    </operation>

  </binding>

    <service name="Hello1" xmlns:wsid="http://fake.org">
        <port name="HelloPort1" binding="tns:HelloBinding">
            <soap:address location="http://localhost:8080/secure_federation/SecureConversation_MutualCertificate11"/>
        </port>
    </service>
    <service name="Hello2" xmlns:wsid="http://fake.org">
        <port name="HelloPort2" binding="tns:HelloBinding" xmlns:wsid="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
            <wsa10:EndpointReference>
                <wsa10:Address>
                    http://localhost:8080/secure_federation/SecureConversation_MutualCertificate11
                </wsa10:Address>
                <wsid:Identity>
                    <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
                        <x:X509Data>
                            <X509Certificate>
                                MIIDCjCCAfKgAwIBAgIQYDju2/6sm77InYfTq65x+DANBgkqhkiG9w0BAQUFADAwMQ4wDAYDVQQKDAVPQVNJUzEeMBwGA1UEAwwVT0FTSVMgSW50ZXJvcCBUZXN0IENBMB4XDTA1MDMxOTAwMDAwMFoXDTE4MDMxOTIzNTk1OVowQDEOMAwGA1UECgwFT0FTSVMxIDAeBgNVBAsMF09BU0lTIEludGVyb3AgVGVzdCBDZXJ0MQwwCgYDVQQDDANCb2IwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMCquMva4lFDrv3fXQnKK8CkSU7HvVZ0USyJtlL/yhmHH/FQXHyYY+fTcSyWYItWJYiTZ99PAbD+6EKBGbdfuJNUJCGaTWc5ZDUISqM/SGtacYe/PD/4+g3swNPzTUQAIBLRY1pkr2cm3s5Ch/f+mYVNBR41HnBeIxybw25kkoM7AgMBAAGjgZMwgZAwCQYDVR0TBAIwADAzBgNVHR8ELDAqMCiiJoYkaHR0cDovL2ludGVyb3AuYmJ0ZXN0Lm5ldC9jcmwvY2EuY3JsMA4GA1UdDwEB/wQEAwIEsDAdBgNVHQ4EFgQUXeg55vRyK3ZhAEhEf+YT0z986L0wHwYDVR0jBBgwFoAUwJ0o/MHrNaEd1qqqoBwaTcJJDw8wDQYJKoZIhvcNAQEFBQADggEBAIiVGv2lGLhRvmMAHSlY7rKLVkv+zEUtSyg08FBT8z/RepUbtUQShcIqwWsemDU8JVtsucQLc+g6GCQXgkCkMiC8qhcLAt3BXzFmLxuCEAQeeFe8IATr4wACmEQE37TEqAuWEIanPYIplbxYgwP0OBWBSjcRpKRAxjEzuwObYjbll6vKdFHYIweWhhWPrefquFp7TefTkF4D3rcctTfWJ76I5NrEVld+7PBnnJNpdDEuGsoaiJrwTW3Ixm40RXvG3fYS4hIAPeTCUk3RkYfUkqlaaLQnUrF2hZSgiBNLPe8gGkYORccRIlZCGQDEpcWl1Uf9OHw6fC+3hkqolFd5CVI=
                            </X509Certificate>
                        </x:X509Data>
                    </KeyInfo>
                </wsid:Identity>
            </wsa10:EndpointReference>
            <soap:address location="http://localhost:8080/secure_federation/SecureConversation_MutualCertificate11"/>
        </port>
    </service>
</definitions>