This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdhx.wsdl
269 lines (265 loc) · 9.46 KB
/
dhx.wsdl
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xrd="http://x-road.eu/xsd/xroad.xsd" xmlns:tns="http://dhx.x-road.eu/producer"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:repr="http://x-road.eu/xsd/representation.xsd" targetNamespace="http://dhx.x-road.eu/producer">
<wsdl:types>
<schema xmlns:ref="http://ws-i.org/profiles/basic/1.1/xsd"
xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
targetNamespace="http://dhx.x-road.eu/producer">
<import namespace="http://ws-i.org/profiles/basic/1.1/xsd"
schemaLocation="http://ws-i.org/profiles/basic/1.1/swaref.xsd" />
<import namespace="http://x-road.eu/xsd/xroad.xsd"
schemaLocation="http://x-road.eu/xsd/xroad.xsd" />
<import namespace="http://x-road.eu/xsd/representation.xsd"
schemaLocation="http://x-road.eu/xsd/representation.xsd" />
<element name="sendDocument">
<complexType>
<sequence>
<element name="recipient" type="string" maxOccurs="1"
minOccurs="0">
<annotation>
<appinfo>
<xrd:title>Recipient code. Needed if representee is used.
</xrd:title>
</appinfo>
</annotation>
</element>
<element name="recipientSystem" type="string" maxOccurs="1"
minOccurs="0">
<annotation>
<appinfo>
<xrd:title>Recipient subSystem name. Needed if representee is
used and document is sent to representees subsystem.
</xrd:title>
</appinfo>
</annotation>
</element>
<element name="consignmentId" type="string" maxOccurs="1"
minOccurs="1">
<annotation>
<appinfo>
<xrd:title>Unique package id.
If same document is sent several
times(if failed for the first
time for example) then package id
must stay the same
</xrd:title>
</appinfo>
</annotation>
</element>
<element name="documentAttachment" type="ref:swaRef"
maxOccurs="1" minOccurs="1">
<annotation>
<appinfo>
<xrd:title>Attachment (with swaRef
description)
</xrd:title>
</appinfo>
</annotation>
</element>
<any namespace="##other" processContents="skip" minOccurs="0"
maxOccurs="unbounded" />
</sequence>
</complexType>
</element>
<element name="sendDocumentResponse">
<complexType>
<sequence>
<element name="fault" type="tns:fault" maxOccurs="1"
minOccurs="0" />
<element name="receiptId" type="string" maxOccurs="1"
minOccurs="1" />
<any namespace="##other" processContents="skip" minOccurs="0"
maxOccurs="unbounded" />
</sequence>
</complexType>
</element>
<element name="representationList">
<complexType>
<sequence>
<any namespace="##other" processContents="skip" minOccurs="0"
maxOccurs="unbounded" />
</sequence>
</complexType>
</element>
<element name="representationListResponse">
<complexType>
<sequence>
<element name="representees" type="tns:representees" />
<any namespace="##other" processContents="skip" minOccurs="0"
maxOccurs="unbounded" />
</sequence>
</complexType>
</element>
<complexType name="representees">
<sequence>
<element name="representee" type="tns:representee"
maxOccurs="unbounded" minOccurs="0" />
</sequence>
</complexType>
<complexType name="representee">
<sequence>
<element name="memberCode" type="string" maxOccurs="1"
minOccurs="1" />
<element name="representeeName" type="string" maxOccurs="1"
minOccurs="1" />
<element name="representeeSystem" type="string" maxOccurs="1"
minOccurs="0">
<annotation>
<appinfo>
<xrd:title>Recipient subSystem name.
</xrd:title>
</appinfo>
</annotation>
</element>
<element name="startDate" type="dateTime" maxOccurs="1"
minOccurs="1" />
<element name="endDate" type="dateTime" maxOccurs="1"
minOccurs="0" />
</sequence>
</complexType>
<complexType name="fault">
<sequence>
<element name="faultCode" type="string">
<annotation>
<appinfo>
<xrd:title>Fault Code</xrd:title>
</appinfo>
</annotation>
</element>
<element name="faultString" type="string">
<annotation>
<appinfo>
<xrd:title>Fault explanation</xrd:title>
</appinfo>
</annotation>
</element>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="requestHeader">
<wsdl:part name="client" element="xrd:client" />
<wsdl:part name="service" element="xrd:service" />
<wsdl:part name="representedParty" element="repr:representedParty" />
<wsdl:part name="id" element="xrd:id" />
<wsdl:part name="userId" element="xrd:userId" />
<wsdl:part name="requestHash" element="xrd:requestHash" />
<wsdl:part name="issue" element="xrd:issue" />
<wsdl:part name="protocolVersion" element="xrd:protocolVersion" />
</wsdl:message>
<wsdl:message name="sendDocument">
<wsdl:part name="body" element="tns:sendDocument" />
</wsdl:message>
<wsdl:message name="sendDocumentResponse">
<wsdl:part name="body" element="tns:sendDocumentResponse" />
</wsdl:message>
<wsdl:message name="representationList">
<wsdl:part name="body" element="tns:representationList" />
</wsdl:message>
<wsdl:message name="representationListResponse">
<wsdl:part name="body" element="tns:representationListResponse" />
</wsdl:message>
<wsdl:portType name="dhxPortType">
<wsdl:operation name="sendDocument">
<wsdl:documentation>
<xrd:title>Send document</xrd:title>
<xrd:notes>Operation is sending document.</xrd:notes>
<xrd:techNotes></xrd:techNotes>
</wsdl:documentation>
<wsdl:input message="tns:sendDocument" />
<wsdl:output message="tns:sendDocumentResponse" />
</wsdl:operation>
<wsdl:operation name="representationList">
<wsdl:documentation>
<xrd:title>Representation list</xrd:title>
<xrd:notes>Operation is returning representation list.</xrd:notes>
<xrd:techNotes></xrd:techNotes>
</wsdl:documentation>
<wsdl:input message="tns:representationList" />
<wsdl:output message="tns:representationListResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="dhxBinding" type="tns:dhxPortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="sendDocument">
<soap:operation soapAction="" style="document" />
<xrd:version>v1</xrd:version>
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:requestHeader" part="client"
use="literal" />
<soap:header message="tns:requestHeader" part="service"
use="literal" />
<soap:header message="tns:requestHeader" part="representedParty"
use="literal" />
<soap:header message="tns:requestHeader" part="id" use="literal" />
<soap:header message="tns:requestHeader" part="userId"
use="literal" />
<soap:header message="tns:requestHeader" part="issue"
use="literal" />
<soap:header message="tns:requestHeader" part="protocolVersion"
use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
<soap:header message="tns:requestHeader" part="client"
use="literal" />
<soap:header message="tns:requestHeader" part="service"
use="literal" />
<soap:header message="tns:requestHeader" part="representedParty"
use="literal" />
<soap:header message="tns:requestHeader" part="id" use="literal" />
<soap:header message="tns:requestHeader" part="userId"
use="literal" />
<soap:header message="tns:requestHeader" part="requestHash"
use="literal" />
<soap:header message="tns:requestHeader" part="issue"
use="literal" />
<soap:header message="tns:requestHeader" part="protocolVersion"
use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="representationList">
<soap:operation soapAction="" style="document" />
<xrd:version>v1</xrd:version>
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:requestHeader" part="client"
use="literal" />
<soap:header message="tns:requestHeader" part="service"
use="literal" />
<soap:header message="tns:requestHeader" part="id" use="literal" />
<soap:header message="tns:requestHeader" part="userId"
use="literal" />
<soap:header message="tns:requestHeader" part="issue"
use="literal" />
<soap:header message="tns:requestHeader" part="protocolVersion"
use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
<soap:header message="tns:requestHeader" part="client"
use="literal" />
<soap:header message="tns:requestHeader" part="service"
use="literal" />
<soap:header message="tns:requestHeader" part="id" use="literal" />
<soap:header message="tns:requestHeader" part="userId"
use="literal" />
<soap:header message="tns:requestHeader" part="requestHash"
use="literal" />
<soap:header message="tns:requestHeader" part="issue"
use="literal" />
<soap:header message="tns:requestHeader" part="protocolVersion"
use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="dhxService">
<wsdl:port binding="tns:dhxBinding" name="dhxServicePort">
<soap:address location="http://TURVASERVER" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>