epics 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +6 -0
  5. data/CONTRIBUTING.md +5 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE.txt +165 -0
  8. data/README.md +197 -0
  9. data/Rakefile +7 -0
  10. data/epics.gemspec +50 -0
  11. data/lib/epics.rb +35 -0
  12. data/lib/epics/cct.rb +42 -0
  13. data/lib/epics/cd1.rb +42 -0
  14. data/lib/epics/cdd.rb +42 -0
  15. data/lib/epics/client.rb +216 -0
  16. data/lib/epics/error.rb +324 -0
  17. data/lib/epics/generic_request.rb +99 -0
  18. data/lib/epics/generic_upload_request.rb +89 -0
  19. data/lib/epics/haa.rb +40 -0
  20. data/lib/epics/hia.rb +78 -0
  21. data/lib/epics/hpb.rb +29 -0
  22. data/lib/epics/hpd.rb +40 -0
  23. data/lib/epics/htd.rb +40 -0
  24. data/lib/epics/ini.rb +69 -0
  25. data/lib/epics/key.rb +79 -0
  26. data/lib/epics/mgf.rb +41 -0
  27. data/lib/epics/middleware/parse_ebics.rb +15 -0
  28. data/lib/epics/middleware/xmlsig.rb +18 -0
  29. data/lib/epics/ptk.rb +52 -0
  30. data/lib/epics/response.rb +93 -0
  31. data/lib/epics/signer.rb +40 -0
  32. data/lib/epics/sta.rb +52 -0
  33. data/lib/epics/version.rb +3 -0
  34. data/lib/letter/ini.erb +231 -0
  35. data/spec/client_spec.rb +98 -0
  36. data/spec/fixtures/a006.pem +28 -0
  37. data/spec/fixtures/bank_e.pem +6 -0
  38. data/spec/fixtures/e002.pem +28 -0
  39. data/spec/fixtures/x002.pem +28 -0
  40. data/spec/fixtures/xml/cd1.xml +87 -0
  41. data/spec/fixtures/xml/ebics_business_nok.xml +21 -0
  42. data/spec/fixtures/xml/ebics_technical_nok.xml +12 -0
  43. data/spec/fixtures/xml/hia.xml +2 -0
  44. data/spec/fixtures/xml/hia_request_order_data.xml +2 -0
  45. data/spec/fixtures/xml/hpb.xml +34 -0
  46. data/spec/fixtures/xml/hpb_request.xml +34 -0
  47. data/spec/fixtures/xml/hpb_response.xml +21 -0
  48. data/spec/fixtures/xml/hpb_response_order.xml +22 -0
  49. data/spec/fixtures/xml/htd_order_data.xml +153 -0
  50. data/spec/fixtures/xml/ini.xml +2 -0
  51. data/spec/fixtures/xml/signature_pub_key_order_data.xml +2 -0
  52. data/spec/fixtures/xml/upload_init_response.xml +31 -0
  53. data/spec/hpb_spec.rb +15 -0
  54. data/spec/key_spec.rb +35 -0
  55. data/spec/mgf_spec.rb +36 -0
  56. data/spec/middleware/parse_ebics_spec.rb +18 -0
  57. data/spec/orders/cct_spec.rb +17 -0
  58. data/spec/orders/cd1_spec.rb +17 -0
  59. data/spec/orders/cdd_spec.rb +17 -0
  60. data/spec/orders/haa_spec.rb +11 -0
  61. data/spec/orders/hia_spec.rb +34 -0
  62. data/spec/orders/hpb_spec.rb +11 -0
  63. data/spec/orders/hpd_spec.rb +11 -0
  64. data/spec/orders/htd_spec.rb +11 -0
  65. data/spec/orders/ini_spec.rb +36 -0
  66. data/spec/orders/ptk_spec.rb +11 -0
  67. data/spec/orders/sta_spec.rb +11 -0
  68. data/spec/response_spec.rb +34 -0
  69. data/spec/signer_spec.rb +34 -0
  70. data/spec/spec_helper.rb +43 -0
  71. data/spec/support/ebics_matcher.rb +22 -0
  72. data/spec/xsd/ebics_H004.xsd +11 -0
  73. data/spec/xsd/ebics_hev.xsd +135 -0
  74. data/spec/xsd/ebics_keymgmt_request_H004.xsd +543 -0
  75. data/spec/xsd/ebics_keymgmt_response_H004.xsd +137 -0
  76. data/spec/xsd/ebics_orders_H004.xsd +1892 -0
  77. data/spec/xsd/ebics_request_H004.xsd +355 -0
  78. data/spec/xsd/ebics_response_H004.xsd +166 -0
  79. data/spec/xsd/ebics_signature.xsd +217 -0
  80. data/spec/xsd/ebics_types_H004.xsd +2426 -0
  81. data/spec/xsd/xmldsig-core-schema.xsd +318 -0
  82. metadata +319 -0
@@ -0,0 +1,355 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Mit XMLSpy v2008 rel. 2 (http://www.altova.com) von Sabine Wenzel (SIZ Bonn) bearbeitet -->
3
+ <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ebics="urn:org:ebics:H004" targetNamespace="urn:org:ebics:H004" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
4
+ <annotation>
5
+ <documentation xml:lang="de">ebics_request_H004.xsd ist das EBICS-Protokollschema für Anfragen.</documentation>
6
+ <documentation xml:lang="en">ebics_request_H004.xsd is the appropriate EBICS protocol schema for standard requests.</documentation>
7
+ </annotation>
8
+ <include schemaLocation="ebics_types_H004.xsd"/>
9
+ <include schemaLocation="ebics_orders_H004.xsd"/>
10
+ <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
11
+ <element name="ebicsRequest">
12
+ <annotation>
13
+ <documentation xml:lang="de">Electronic Banking Internet Communication Standard of the EBICS SCRL: Multibankfähige Schnittstelle zur internetbasierten Kommunikation.</documentation>
14
+ <documentation xml:lang="en">Electronic Banking Internet Communication Standard der EBICS SCRL: multi-bank capable interface for internet-based communication.</documentation>
15
+ </annotation>
16
+ <complexType>
17
+ <sequence>
18
+ <element name="header">
19
+ <annotation>
20
+ <documentation xml:lang="de">enthält die technischen Transaktionsdaten.</documentation>
21
+ <documentation xml:lang="en">contains the transaction-driven data.</documentation>
22
+ </annotation>
23
+ <complexType>
24
+ <sequence>
25
+ <element name="static" type="ebics:StaticHeaderType">
26
+ <annotation>
27
+ <documentation xml:lang="de">enhält alle festen Headereinträge.</documentation>
28
+ <documentation xml:lang="en">contains the static header entries.</documentation>
29
+ </annotation>
30
+ </element>
31
+ <element name="mutable" type="ebics:MutableHeaderType">
32
+ <annotation>
33
+ <documentation xml:lang="de">enthält alle variablen Headereinträge.</documentation>
34
+ <documentation xml:lang="en">contains the mutable header entries.</documentation>
35
+ </annotation>
36
+ </element>
37
+ </sequence>
38
+ <attributeGroup ref="ebics:AuthenticationMarker"/>
39
+ </complexType>
40
+ </element>
41
+ <element ref="ebics:AuthSignature"/>
42
+ <element name="body">
43
+ <annotation>
44
+ <documentation xml:lang="de">enthält die Auftragsdaten, EU(s) und weitere Nutzdaten.</documentation>
45
+ <documentation xml:lang="en">contains order data, order signature(s) and further data referring to the current order.</documentation>
46
+ </annotation>
47
+ <complexType>
48
+ <sequence>
49
+ <annotation>
50
+ <documentation xml:lang="de"/>
51
+ </annotation>
52
+ <element ref="ds:X509Data" minOccurs="0" maxOccurs="0">
53
+ <annotation>
54
+ <documentation xml:lang="de">X.509-Daten des Teilnehmers.</documentation>
55
+ <documentation xml:lang="en">X.509 data of the user.</documentation>
56
+ </annotation>
57
+ </element>
58
+ <choice>
59
+ <annotation>
60
+ <documentation xml:lang="de">Welche Transaktionsphase?</documentation>
61
+ <documentation xml:lang="en">Which transaction phase?</documentation>
62
+ </annotation>
63
+ <sequence>
64
+ <annotation>
65
+ <documentation xml:lang="de">Initialisierungs- und Transferphase.</documentation>
66
+ <documentation xml:lang="en">Initialisation or transfer phase.</documentation>
67
+ </annotation>
68
+ <element name="PreValidation" minOccurs="0">
69
+ <annotation>
70
+ <documentation xml:lang="de">Daten zur Vorabprüfung; nur anzugeben in der Initialisierungsphase bei Uploads mit Auftragsattribut OZH (EUs + Auftragsdaten).</documentation>
71
+ <documentation xml:lang="en">Data sent for pre-validation; mandatory for initialisation phase during uploads using order attribute OZH (order signature(s) + order data).</documentation>
72
+ </annotation>
73
+ <complexType>
74
+ <complexContent>
75
+ <extension base="ebics:PreValidationRequestType">
76
+ <attributeGroup ref="ebics:AuthenticationMarker"/>
77
+ </extension>
78
+ </complexContent>
79
+ </complexType>
80
+ </element>
81
+ <element name="DataTransfer" type="ebics:DataTransferRequestType" minOccurs="0">
82
+ <annotation>
83
+ <documentation xml:lang="de">Transfer von Signatur- bzw. Auftragsdaten; nur bei Upload anzugeben.</documentation>
84
+ <documentation xml:lang="en">Transfer of signature or order data; mandatory for uploads only.</documentation>
85
+ </annotation>
86
+ </element>
87
+ </sequence>
88
+ <sequence>
89
+ <annotation>
90
+ <documentation xml:lang="de">Quittierungsphase nach Download.</documentation>
91
+ <documentation xml:lang="en">Receipt phase after download.</documentation>
92
+ </annotation>
93
+ <element name="TransferReceipt">
94
+ <annotation>
95
+ <documentation xml:lang="de">Quittierung des Transfers.</documentation>
96
+ <documentation xml:lang="en">Receipt of transfer.</documentation>
97
+ </annotation>
98
+ <complexType>
99
+ <complexContent>
100
+ <extension base="ebics:TransferReceiptRequestType">
101
+ <attributeGroup ref="ebics:AuthenticationMarker"/>
102
+ </extension>
103
+ </complexContent>
104
+ </complexType>
105
+ </element>
106
+ </sequence>
107
+ </choice>
108
+ </sequence>
109
+ </complexType>
110
+ </element>
111
+ </sequence>
112
+ <attributeGroup ref="ebics:VersionAttrGroup"/>
113
+ <anyAttribute namespace="##targetNamespace" processContents="strict"/>
114
+ </complexType>
115
+ </element>
116
+ <complexType name="StaticHeaderType">
117
+ <annotation>
118
+ <documentation xml:lang="de">Datentyp für den statischen EBICS-Header.</documentation>
119
+ <documentation xml:lang="en">Data type for the static EBICS header.</documentation>
120
+ </annotation>
121
+ <sequence>
122
+ <element name="HostID" type="ebics:HostIDType">
123
+ <annotation>
124
+ <documentation xml:lang="de">Hostname des Banksystems.</documentation>
125
+ </annotation>
126
+ </element>
127
+ <choice>
128
+ <annotation>
129
+ <documentation xml:lang="de">Transaktionsphase?</documentation>
130
+ <documentation xml:lang="en">Transaction phase?</documentation>
131
+ </annotation>
132
+ <sequence>
133
+ <annotation>
134
+ <documentation xml:lang="de">Initialisierungsphase.</documentation>
135
+ <documentation xml:lang="en">Initialisation phase.</documentation>
136
+ </annotation>
137
+ <element name="Nonce" type="ebics:NonceType">
138
+ <annotation>
139
+ <documentation xml:lang="de">Zufallswert; damit wird die Initialisierungsnachricht des Clients einzigartig.</documentation>
140
+ <documentation xml:lang="en">Random value, ensures the uniqueness of the client's message during initialisation phase.</documentation>
141
+ </annotation>
142
+ </element>
143
+ <element name="Timestamp" type="ebics:TimestampType">
144
+ <annotation>
145
+ <documentation xml:lang="de">aktueller Zeitstempel zur Begrenzung der serverseitigen Nonce-Speicherung.</documentation>
146
+ <documentation xml:lang="en">current timestamp, used to limit storage space for nonces on the server.</documentation>
147
+ </annotation>
148
+ </element>
149
+ <element name="PartnerID" type="ebics:PartnerIDType">
150
+ <annotation>
151
+ <documentation xml:lang="de">Kunden-ID des serverseitig administrierten Kunden.</documentation>
152
+ <documentation xml:lang="en">ID of the partner = customer, administered on the server.</documentation>
153
+ </annotation>
154
+ </element>
155
+ <element name="UserID" type="ebics:UserIDType">
156
+ <annotation>
157
+ <documentation xml:lang="de">Teilnehmer-ID des serverseitig zu diesem Kunden administrierten Teilnehmers.</documentation>
158
+ <documentation xml:lang="en">ID of the user that is assigned to the given customer, administered on the server.</documentation>
159
+ </annotation>
160
+ </element>
161
+ <element name="SystemID" type="ebics:UserIDType" minOccurs="0">
162
+ <annotation>
163
+ <documentation xml:lang="de">technische User-ID für Multi-User-Systeme.</documentation>
164
+ <documentation xml:lang="en">ID of the system for multi-user systems.</documentation>
165
+ </annotation>
166
+ </element>
167
+ <element name="Product" nillable="true" minOccurs="0">
168
+ <annotation>
169
+ <documentation xml:lang="de">Kennung des Kundenprodukts bzw. Herstellerkennung oder Name.</documentation>
170
+ <documentation xml:lang="en">software ID / manufacturer ID / manufacturer's name of the customer's software package.</documentation>
171
+ </annotation>
172
+ <complexType>
173
+ <simpleContent>
174
+ <extension base="ebics:ProductType">
175
+ <attribute name="Language" type="ebics:LanguageType" use="required">
176
+ <annotation>
177
+ <documentation xml:lang="de">Sprachkennzeichen der Kundenproduktversion (gemäß ISO 639).</documentation>
178
+ <documentation xml:lang="en">Language code of the customer's software package according to ISO 639.</documentation>
179
+ </annotation>
180
+ </attribute>
181
+ <attribute name="InstituteID" type="ebics:InstituteIDType" use="optional">
182
+ <annotation>
183
+ <documentation xml:lang="de">Kennung des Herausgebers des Kundenprodukts bzw. des betreuenden Kreditinstituts.</documentation>
184
+ <documentation xml:lang="en">ID of the manufacturer / financial institute providing support for the customer's software package.</documentation>
185
+ </annotation>
186
+ </attribute>
187
+ </extension>
188
+ </simpleContent>
189
+ </complexType>
190
+ </element>
191
+ <element name="OrderDetails" type="ebics:StaticHeaderOrderDetailsType">
192
+ <annotation>
193
+ <documentation xml:lang="de">Auftragsdetails.</documentation>
194
+ <documentation xml:lang="en">order details.</documentation>
195
+ </annotation>
196
+ </element>
197
+ <element name="BankPubKeyDigests">
198
+ <annotation>
199
+ <documentation xml:lang="de">Hashwerte der erwarteten öffentlichen Schlüssel (Verschlüsselung, Signatur, Authentifikation) des Kreditinstituts.</documentation>
200
+ <documentation xml:lang="en">Digest values of the expected public keys (authentication, encryption, signature) owned by the financial institute.</documentation>
201
+ </annotation>
202
+ <complexType>
203
+ <sequence>
204
+ <element name="Authentication">
205
+ <annotation>
206
+ <documentation xml:lang="de">Hashwert des Authentifikationsschlüssels.</documentation>
207
+ <documentation xml:lang="en">Digest value of the public authentication key.</documentation>
208
+ </annotation>
209
+ <complexType>
210
+ <simpleContent>
211
+ <extension base="ebics:PubKeyDigestType">
212
+ <attribute name="Version" type="ebics:AuthenticationVersionType" use="required">
213
+ <annotation>
214
+ <documentation xml:lang="de">Version des Authentifikationsverfahrens.</documentation>
215
+ <documentation xml:lang="en">Version of the algorithm used for authentication.</documentation>
216
+ </annotation>
217
+ </attribute>
218
+ </extension>
219
+ </simpleContent>
220
+ </complexType>
221
+ </element>
222
+ <element name="Encryption">
223
+ <annotation>
224
+ <documentation xml:lang="de">Hashwert des Verschlüsselungsschlüssels.</documentation>
225
+ <documentation xml:lang="en">Digest value of the public encryption key.</documentation>
226
+ </annotation>
227
+ <complexType>
228
+ <simpleContent>
229
+ <extension base="ebics:PubKeyDigestType">
230
+ <attribute name="Version" type="ebics:EncryptionVersionType" use="required">
231
+ <annotation>
232
+ <documentation xml:lang="de">Version des Verschlüsselungsverfahrens.</documentation>
233
+ <documentation xml:lang="en">Version of the algorithm used for encryption.</documentation>
234
+ </annotation>
235
+ </attribute>
236
+ </extension>
237
+ </simpleContent>
238
+ </complexType>
239
+ </element>
240
+ <element name="Signature" minOccurs="0" maxOccurs="0">
241
+ <annotation>
242
+ <documentation xml:lang="de">Hashwert des Signaturschlüssels.</documentation>
243
+ <documentation xml:lang="en">Digest value of the public signature key.</documentation>
244
+ </annotation>
245
+ <complexType>
246
+ <simpleContent>
247
+ <extension base="ebics:PubKeyDigestType">
248
+ <attribute name="Version" type="ebics:SignatureVersionType" use="required">
249
+ <annotation>
250
+ <documentation xml:lang="de">Version des Signaturverfahrens.</documentation>
251
+ <documentation xml:lang="en">Version of the algorithm used for signature creation.</documentation>
252
+ </annotation>
253
+ </attribute>
254
+ </extension>
255
+ </simpleContent>
256
+ </complexType>
257
+ </element>
258
+ </sequence>
259
+ </complexType>
260
+ </element>
261
+ <element name="SecurityMedium" type="ebics:SecurityMediumType">
262
+ <annotation>
263
+ <documentation xml:lang="de">Angabe des Sicherheitsmediums, das der Kunde verwendet.</documentation>
264
+ <documentation xml:lang="en">Classification of the security medium used by the customer.</documentation>
265
+ </annotation>
266
+ </element>
267
+ <element name="NumSegments" type="ebics:NumSegmentsType" minOccurs="0">
268
+ <annotation>
269
+ <documentation xml:lang="de">Gesamtsegmentanzahl für diese Transaktion; nur bei Uploads anzugeben.</documentation>
270
+ <documentation xml:lang="en">Total number of segments for this transaction; mandatory for uploads only.</documentation>
271
+ </annotation>
272
+ </element>
273
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
274
+ </sequence>
275
+ <sequence>
276
+ <annotation>
277
+ <documentation xml:lang="de">Transfer- und Quittierungsphase.</documentation>
278
+ <documentation xml:lang="en">Transfer or receipt phase.</documentation>
279
+ </annotation>
280
+ <element name="TransactionID" type="ebics:TransactionIDType">
281
+ <annotation>
282
+ <documentation xml:lang="de">eindeutige, technische Transaktions-ID; wird vom Server vergeben.</documentation>
283
+ <documentation xml:lang="en">unique transaction ID, provided by the server.</documentation>
284
+ </annotation>
285
+ </element>
286
+ </sequence>
287
+ </choice>
288
+ </sequence>
289
+ </complexType>
290
+ <complexType name="MutableHeaderType">
291
+ <annotation>
292
+ <documentation xml:lang="de">Datentyp für den variablen EBICS-Header.</documentation>
293
+ <documentation xml:lang="en">Data type for the mutable EBICS header.</documentation>
294
+ </annotation>
295
+ <sequence>
296
+ <element name="TransactionPhase" type="ebics:TransactionPhaseType">
297
+ <annotation>
298
+ <documentation xml:lang="de">Phase, in der sich die Transaktion gerade befindet; wird bei jedem Transaktionsschritt vom Client gesetzt und vom Server übernommen.</documentation>
299
+ <documentation xml:lang="en">Current phase of the transaction; this information is provided by the client for each step of the transaction, and the server adopts the setting.</documentation>
300
+ </annotation>
301
+ </element>
302
+ <element name="SegmentNumber" nillable="true" minOccurs="0">
303
+ <annotation>
304
+ <documentation xml:lang="de">enthält die Nummer des aktuellen Segments, welches gerade übertragen oder angefordert wird; nur anzugeben bei TransactionPhase=Transfer.</documentation>
305
+ <documentation xml:lang="en">contains the number of the segment which is currently being transmitted or requested; mandatory for transaction phase 'Transfer' only.</documentation>
306
+ </annotation>
307
+ <complexType>
308
+ <simpleContent>
309
+ <extension base="ebics:SegmentNumberType">
310
+ <attribute name="lastSegment" type="boolean" use="required">
311
+ <annotation>
312
+ <documentation xml:lang="de">Ist dies das letzte Segment der Übertragung?</documentation>
313
+ <documentation xml:lang="en">Is this segment meant to be the last one regarding this transmission?</documentation>
314
+ </annotation>
315
+ </attribute>
316
+ </extension>
317
+ </simpleContent>
318
+ </complexType>
319
+ </element>
320
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
321
+ </sequence>
322
+ </complexType>
323
+ <complexType name="StaticHeaderOrderDetailsType">
324
+ <annotation>
325
+ <documentation xml:lang="de">Datentyp für Auftragsdetails im statischen EBICS-Header.</documentation>
326
+ <documentation xml:lang="en">Data type for order details stored in the static EBICS header.</documentation>
327
+ </annotation>
328
+ <sequence>
329
+ <element name="OrderType">
330
+ <annotation>
331
+ <documentation xml:lang="de">Auftragsart.</documentation>
332
+ <documentation xml:lang="en">type code of the order.</documentation>
333
+ </annotation>
334
+ <complexType>
335
+ <simpleContent>
336
+ <extension base="ebics:OrderTBaseType"/>
337
+ </simpleContent>
338
+ </complexType>
339
+ </element>
340
+ <element name="OrderID" type="ebics:OrderIDType" minOccurs="0">
341
+ <annotation>
342
+ <documentation xml:lang="de">Auftragsnummer für Sendeaufträge gemäß DFÜ-Abkommen.</documentation>
343
+ <documentation xml:lang="en">ID of the (upload) order, formatted in accordance with the document "DFÜ-Abkommen".</documentation>
344
+ </annotation>
345
+ </element>
346
+ <element name="OrderAttribute" type="ebics:OrderAttributeType">
347
+ <annotation>
348
+ <documentation xml:lang="de">Auftragsattribut.</documentation>
349
+ <documentation xml:lang="en">attribute describing the order contents.</documentation>
350
+ </annotation>
351
+ </element>
352
+ <element ref="ebics:OrderParams"/>
353
+ </sequence>
354
+ </complexType>
355
+ </schema>
@@ -0,0 +1,166 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ebics="urn:org:ebics:H004" targetNamespace="urn:org:ebics:H004" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
3
+ <annotation>
4
+ <documentation xml:lang="de">ebics_response_H004.xsd ist das EBICS-Protokollschema für Antwortnachrichten.</documentation>
5
+ <documentation xml:lang="en">ebics_response_H004.xsd is the appropriate EBICS protocol schema for standard responses.</documentation>
6
+ </annotation>
7
+ <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd">
8
+ <annotation>
9
+ <documentation xml:lang="de">XML-Signature.</documentation>
10
+ </annotation>
11
+ </import>
12
+ <include schemaLocation="ebics_types_H004.xsd"/>
13
+ <include schemaLocation="ebics_orders_H004.xsd"/>
14
+ <element name="ebicsResponse">
15
+ <annotation>
16
+ <documentation xml:lang="de">Electronic Banking Internet Communication Standard des Zentralen Kreditausschusses (ZKA): Multibankfähige Schnittstelle zur internetbasierten Kommunikation.</documentation>
17
+ <documentation xml:lang="en">Electronic Banking Internet Communication Standard of the "Zentraler Kreditausschuss (ZKA)": multi-bank capable interface for internet-based communication.</documentation>
18
+ </annotation>
19
+ <complexType>
20
+ <sequence>
21
+ <element name="header">
22
+ <annotation>
23
+ <documentation xml:lang="de">enthält die technischen Transaktionsdaten.</documentation>
24
+ <documentation xml:lang="en">contains the transaction-driven data.</documentation>
25
+ </annotation>
26
+ <complexType>
27
+ <sequence>
28
+ <element name="static" type="ebics:ResponseStaticHeaderType">
29
+ <annotation>
30
+ <documentation xml:lang="de">enhält alle festen Headereinträge.</documentation>
31
+ <documentation xml:lang="en">contains the static header entries.</documentation>
32
+ </annotation>
33
+ </element>
34
+ <element name="mutable" type="ebics:ResponseMutableHeaderType">
35
+ <annotation>
36
+ <documentation xml:lang="de">enthält alle variablen Headereinträge.</documentation>
37
+ <documentation xml:lang="en">contains the mutable header entries.</documentation>
38
+ </annotation>
39
+ </element>
40
+ </sequence>
41
+ <attributeGroup ref="ebics:AuthenticationMarker"/>
42
+ </complexType>
43
+ </element>
44
+ <element ref="ebics:AuthSignature">
45
+ <annotation>
46
+ <documentation xml:lang="de">Authentifikationssignatur.</documentation>
47
+ <documentation xml:lang="en">Authentication signature.</documentation>
48
+ </annotation>
49
+ </element>
50
+ <element name="body">
51
+ <annotation>
52
+ <documentation xml:lang="de">enthält die Auftragsdaten, EU(s) und weitere Nutzdaten.</documentation>
53
+ <documentation xml:lang="en">contains order data, order signature(s) and further data referring to the current order.</documentation>
54
+ </annotation>
55
+ <complexType>
56
+ <sequence>
57
+ <element name="DataTransfer" type="ebics:DataTransferResponseType" minOccurs="0">
58
+ <annotation>
59
+ <documentation xml:lang="de">Transfer von Auftragsdaten; nur bei Download anzugeben.</documentation>
60
+ <documentation xml:lang="en">Transfer of signature or order data; mandatory for downloads only.</documentation>
61
+ </annotation>
62
+ </element>
63
+ <element name="ReturnCode">
64
+ <annotation>
65
+ <documentation xml:lang="de">fachlicher Antwortcode für den vorangegangenen Request.</documentation>
66
+ <documentation xml:lang="en">order-related return code of the previous request.</documentation>
67
+ </annotation>
68
+ <complexType>
69
+ <simpleContent>
70
+ <extension base="ebics:ReturnCodeType">
71
+ <attributeGroup ref="ebics:AuthenticationMarker"/>
72
+ </extension>
73
+ </simpleContent>
74
+ </complexType>
75
+ </element>
76
+ <element name="TimestampBankParameter" minOccurs="0">
77
+ <annotation>
78
+ <documentation xml:lang="de">Zeitstempel der letzten Aktualisierung der Bankparameter; nur in der Initialisierungsphase anzugeben.</documentation>
79
+ <documentation xml:lang="en">timestamp indicating the latest update of the bank parameters; may be set during initialisation phase only.</documentation>
80
+ </annotation>
81
+ <complexType>
82
+ <simpleContent>
83
+ <extension base="ebics:TimestampType">
84
+ <attributeGroup ref="ebics:AuthenticationMarker"/>
85
+ </extension>
86
+ </simpleContent>
87
+ </complexType>
88
+ </element>
89
+ </sequence>
90
+ </complexType>
91
+ </element>
92
+ </sequence>
93
+ <attributeGroup ref="ebics:VersionAttrGroup"/>
94
+ <anyAttribute namespace="##targetNamespace" processContents="strict"/>
95
+ </complexType>
96
+ </element>
97
+ <complexType name="ResponseStaticHeaderType">
98
+ <annotation>
99
+ <documentation xml:lang="de">Datentyp für den statischen EBICS-Header.</documentation>
100
+ <documentation xml:lang="en">Data type for the static EBICS header.</documentation>
101
+ </annotation>
102
+ <sequence>
103
+ <element name="TransactionID" type="ebics:TransactionIDType" minOccurs="0">
104
+ <annotation>
105
+ <documentation xml:lang="de">eindeutige, technische Transaktions-ID; wird vom Server vergeben, falls OrderAttribute entweder gleich "OZHNN" oder gleich "DZHNN" ist und falls tatsächlich eine Transaktion erzeugt wurde.</documentation>
106
+ <documentation xml:lang="en">unique transaction ID, provided by the server if and only if the order attribute is set to either "OZHNN" or "DZHNN" and if a transaction has been established actually.</documentation>
107
+ </annotation>
108
+ </element>
109
+ <element name="NumSegments" type="ebics:SegmentNumberType" minOccurs="0">
110
+ <annotation>
111
+ <documentation xml:lang="de">Gesamtsegmentanzahl für diese Transaktion; nur bei Downloads in der Initialisierungsphase anzugeben.</documentation>
112
+ <documentation xml:lang="en">Total number of segments for this transaction; mandatory for downloads in initialisation phase only.</documentation>
113
+ </annotation>
114
+ </element>
115
+ </sequence>
116
+ </complexType>
117
+ <complexType name="ResponseMutableHeaderType">
118
+ <annotation>
119
+ <documentation xml:lang="de">Datentyp für den variablen EBICS-Header.</documentation>
120
+ <documentation xml:lang="en">Data type for the mutable EBICS header.</documentation>
121
+ </annotation>
122
+ <sequence>
123
+ <element name="TransactionPhase" type="ebics:TransactionPhaseType">
124
+ <annotation>
125
+ <documentation xml:lang="de">Phase, in der sich die Transaktion gerade befindet; wird bei jedem Transaktionsschritt vom Client gesetzt und vom Server übernommen.</documentation>
126
+ <documentation xml:lang="en">Current phase of the transaction; this information is provided by the client for each step of the transaction, and the server adopts the setting.</documentation>
127
+ </annotation>
128
+ </element>
129
+ <element name="SegmentNumber" minOccurs="0">
130
+ <annotation>
131
+ <documentation xml:lang="de">enthält die Nummer des aktuellen Segments, welches gerade übertragen oder angefordert wird; nur anzugeben bei TransactionPhase=Transfer und (bei Download) TransactionPhase=Initialisation.</documentation>
132
+ <documentation xml:lang="en">contains the number of the segment which is currently being transmitted or requested; mandatory for transaction phases 'Transfer' and (for downloads) 'Initialisation' only.</documentation>
133
+ </annotation>
134
+ <complexType>
135
+ <simpleContent>
136
+ <extension base="ebics:SegmentNumberType">
137
+ <attribute name="lastSegment" type="boolean" use="required">
138
+ <annotation>
139
+ <documentation xml:lang="de">Ist dies das letzte Segment der Übertragung?</documentation>
140
+ </annotation>
141
+ </attribute>
142
+ </extension>
143
+ </simpleContent>
144
+ </complexType>
145
+ </element>
146
+ <element name="OrderID" type="ebics:OrderIDType" minOccurs="0">
147
+ <annotation>
148
+ <documentation xml:lang="de">Auftragsnummer von Sendeaufträgen gemäß DFÜ-Abkommen.</documentation>
149
+ </annotation>
150
+ </element>
151
+ <element name="ReturnCode" type="ebics:ReturnCodeType">
152
+ <annotation>
153
+ <documentation xml:lang="de">Rückmeldung des technischen Status mit einer eindeutigen Fehlernummer.</documentation>
154
+ <documentation xml:lang="en">Return code indicating the technical status.</documentation>
155
+ </annotation>
156
+ </element>
157
+ <element name="ReportText" type="ebics:ReportTextType">
158
+ <annotation>
159
+ <documentation xml:lang="de">Klartext der Rückmeldung des technischen Status.</documentation>
160
+ <documentation xml:lang="en">Textual interpretation of the returned technical status code.</documentation>
161
+ </annotation>
162
+ </element>
163
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
164
+ </sequence>
165
+ </complexType>
166
+ </schema>