sepafm 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +35 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE +8 -0
- data/README.md +236 -0
- data/Rakefile +10 -0
- data/lib/danske_get_bank_certificate_test.rb +15 -0
- data/lib/sepa/application_request.rb +182 -0
- data/lib/sepa/application_response.rb +123 -0
- data/lib/sepa/client.rb +79 -0
- data/lib/sepa/danske_testing/keys/danske_encryption.crt +24 -0
- data/lib/sepa/filedescriptor.rb +7 -0
- data/lib/sepa/filetypeservice.rb +6 -0
- data/lib/sepa/nordea_testing/keys/CSR.csr +0 -0
- data/lib/sepa/nordea_testing/keys/nordea.crt +27 -0
- data/lib/sepa/nordea_testing/keys/nordea.key +19 -0
- data/lib/sepa/nordea_testing/response/content_053.xml +998 -0
- data/lib/sepa/nordea_testing/response/content_054.xml +1 -0
- data/lib/sepa/nordea_testing/response/download_file_response.xml +14 -0
- data/lib/sepa/nordea_testing/response/download_filelist_response.xml +14 -0
- data/lib/sepa/nordea_testing/response/get_user_info_response.xml +14 -0
- data/lib/sepa/nordea_testing/response/upload_file_response.xml +14 -0
- data/lib/sepa/response.rb +177 -0
- data/lib/sepa/sender_verifier.rb +15 -0
- data/lib/sepa/signature.rb +7 -0
- data/lib/sepa/soap_builder.rb +395 -0
- data/lib/sepa/soap_danske.rb +47 -0
- data/lib/sepa/soap_nordea.rb +68 -0
- data/lib/sepa/userfiletype.rb +16 -0
- data/lib/sepa/version.rb +3 -0
- data/lib/sepa/wsdl/wsdl_danske.xml +234 -0
- data/lib/sepa/wsdl/wsdl_danske_cert.xml +280 -0
- data/lib/sepa/wsdl/wsdl_nordea.xml +234 -0
- data/lib/sepa/wsdl/wsdl_nordea_cert.xml +187 -0
- data/lib/sepa/xml_parser.rb +291 -0
- data/lib/sepa/xml_schemas/application_request.xsd +135 -0
- data/lib/sepa/xml_schemas/application_response.xsd +311 -0
- data/lib/sepa/xml_schemas/cert_application_request.xsd +107 -0
- data/lib/sepa/xml_schemas/danske_pki.xsd +334 -0
- data/lib/sepa/xml_schemas/oasis-200401-wss-wssecurity-secext-1.0.xsd +195 -0
- data/lib/sepa/xml_schemas/oasis-200401-wss-wssecurity-utility-1.0.xsd +108 -0
- data/lib/sepa/xml_schemas/soap.xsd +126 -0
- data/lib/sepa/xml_schemas/wsdl.xml +310 -0
- data/lib/sepa/xml_schemas/xml.xsd +287 -0
- data/lib/sepa/xml_schemas/xmldsig-core-schema.xsd +318 -0
- data/lib/sepa/xml_templates/application_request/create_certificate.xml +10 -0
- data/lib/sepa/xml_templates/application_request/danske_get_bank_certificate.xml +10 -0
- data/lib/sepa/xml_templates/application_request/download_file.xml +32 -0
- data/lib/sepa/xml_templates/application_request/download_file_list.xml +29 -0
- data/lib/sepa/xml_templates/application_request/get_certificate.xml +10 -0
- data/lib/sepa/xml_templates/application_request/get_user_info.xml +26 -0
- data/lib/sepa/xml_templates/application_request/upload_file.xml +29 -0
- data/lib/sepa/xml_templates/soap/create_certificate.xml +15 -0
- data/lib/sepa/xml_templates/soap/danske_get_bank_certificate.xml +14 -0
- data/lib/sepa/xml_templates/soap/download_file.xml +16 -0
- data/lib/sepa/xml_templates/soap/download_file_list.xml +16 -0
- data/lib/sepa/xml_templates/soap/get_certificate.xml +13 -0
- data/lib/sepa/xml_templates/soap/get_user_info.xml +16 -0
- data/lib/sepa/xml_templates/soap/header.xml +37 -0
- data/lib/sepa/xml_templates/soap/upload_file.xml +16 -0
- data/lib/sepa.rb +21 -0
- data/lib/sepa_client_testing_mika.rb +32 -0
- data/lib/sepa_client_testing_tiere.rb +80 -0
- data/sepa.gemspec +29 -0
- data/test/sepa/application_request_test.rb +423 -0
- data/test/sepa/application_response_test.rb +238 -0
- data/test/sepa/cert_application_request_test.rb +99 -0
- data/test/sepa/client_test.rb +425 -0
- data/test/sepa/danske_test_keys/danskeroot.pem +25 -0
- data/test/sepa/danske_test_keys/encryption_pkcs.csr +0 -0
- data/test/sepa/danske_test_keys/signing_key.pem +27 -0
- data/test/sepa/danske_test_keys/signing_pkcs.csr +0 -0
- data/test/sepa/nordea_cert_request_soap_builder_test.rb +112 -0
- data/test/sepa/nordea_generic_soap_builder_test.rb +427 -0
- data/test/sepa/nordea_test_keys/nordea.crt +27 -0
- data/test/sepa/nordea_test_keys/nordea.key +19 -0
- data/test/sepa/nordea_test_keys/root_cert.cer +0 -0
- data/test/sepa/nordea_test_keys/testcert.csr +0 -0
- data/test/sepa/response_test.rb +269 -0
- data/test/sepa/sepa_test.rb +20 -0
- data/test/sepa/test_files/invalid.wsdl +1 -0
- data/test/sepa/test_files/test_responses/df.xml +20 -0
- data/test/sepa/test_files/test_responses/dfl.xml +20 -0
- data/test/sepa/test_files/test_responses/gui.xml +20 -0
- data/test/sepa/test_files/test_responses/uf.xml +20 -0
- data/test/sepa/user_file_type_test.rb +21 -0
- data/test/sepa/xml_parser_test.rb +73 -0
- data/test/test_helper.rb +9 -0
- metadata +256 -0
@@ -0,0 +1,280 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:dbpki="http://danskebank.dk/PKI/PKIFactoryService" xmlns:ns="http://danskebank.dk/PKI/PKIFactoryService/elements" xmlns:ns1="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://danskebank.dk/PKI/PKIFactoryService">
|
3
|
+
<wsdl:types>
|
4
|
+
<xsd:schema targetNamespace="http://danskebank.dk/PKI/PKIFactoryService" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:el="http://danskebank.dk/PKI/PKIFactoryService/elements" elementFormDefault="qualified" attributeFormDefault="qualified">
|
5
|
+
<xsd:import namespace="http://www.w3.org/2001/04/xmlenc#" schemaLocation="http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/xenc-schema.xsd"/>
|
6
|
+
<!--<xsd:import namespace="http://www.w3.org/2001/04/xmlenc#" schemaLocation="store:///schemas/xenc-schema.xsd"/>-->
|
7
|
+
<xsd:import namespace="http://danskebank.dk/PKI/PKIFactoryService/elements" schemaLocation="PKIFactory.xsd"/>
|
8
|
+
<xsd:complexType name="RequestHeaderType">
|
9
|
+
<xsd:sequence>
|
10
|
+
<xsd:element name="SenderId" type="el:CustomerIdType"/>
|
11
|
+
<xsd:element name="CustomerId" type="el:CustomerIdType"/>
|
12
|
+
<xsd:element name="RequestId" type="el:RequestIdType"/>
|
13
|
+
<xsd:element name="Timestamp" type="xsd:dateTime"/>
|
14
|
+
<xsd:element name="InterfaceVersion" type="el:InterfaceVersionType"/>
|
15
|
+
<xsd:element name="Environment" type="el:EnvironmentType" minOccurs="0"/>
|
16
|
+
</xsd:sequence>
|
17
|
+
</xsd:complexType>
|
18
|
+
<xsd:complexType name="ResponseHeaderType">
|
19
|
+
<xsd:sequence>
|
20
|
+
<xsd:element name="SenderId" type="el:CustomerIdType"/>
|
21
|
+
<xsd:element name="CustomerId" type="el:CustomerIdType"/>
|
22
|
+
<xsd:element name="RequestId" type="el:RequestIdType"/>
|
23
|
+
<xsd:element name="Timestamp" type="xsd:dateTime"/>
|
24
|
+
<xsd:element name="InterfaceVersion" type="el:InterfaceVersionType"/>
|
25
|
+
<xsd:element name="Environment" type="el:EnvironmentType" minOccurs="0"/>
|
26
|
+
</xsd:sequence>
|
27
|
+
</xsd:complexType>
|
28
|
+
<xsd:complexType name="CreateCertificateInType">
|
29
|
+
<xsd:sequence>
|
30
|
+
<xsd:element name="RequestHeader" type="dbpki:RequestHeaderType"/>
|
31
|
+
<xsd:element ref="xenc:EncryptedData"/>
|
32
|
+
<!-- must decrypt into a CreateCertificateRequest -->
|
33
|
+
</xsd:sequence>
|
34
|
+
</xsd:complexType>
|
35
|
+
<xsd:complexType name="CreateCertificateOutType">
|
36
|
+
<xsd:sequence>
|
37
|
+
<xsd:element name="ResponseHeader" type="dbpki:ResponseHeaderType"/>
|
38
|
+
<xsd:element ref="el:CreateCertificateResponse"/>
|
39
|
+
</xsd:sequence>
|
40
|
+
</xsd:complexType>
|
41
|
+
<xsd:complexType name="RenewCertificateInType">
|
42
|
+
<xsd:sequence>
|
43
|
+
<xsd:element name="RequestHeader" type="dbpki:RequestHeaderType"/>
|
44
|
+
<xsd:element ref="xenc:EncryptedData"/>
|
45
|
+
<!-- must decrypt into a RenewCertificateRequest -->
|
46
|
+
</xsd:sequence>
|
47
|
+
</xsd:complexType>
|
48
|
+
<xsd:complexType name="RenewCertificateOutType">
|
49
|
+
<xsd:sequence>
|
50
|
+
<xsd:element name="ResponseHeader" type="dbpki:ResponseHeaderType"/>
|
51
|
+
<xsd:element ref="el:RenewCertificateResponse"/>
|
52
|
+
</xsd:sequence>
|
53
|
+
</xsd:complexType>
|
54
|
+
<xsd:complexType name="RevokeCertificateInType">
|
55
|
+
<xsd:sequence>
|
56
|
+
<xsd:element name="RequestHeader" type="dbpki:RequestHeaderType"/>
|
57
|
+
<xsd:element ref="el:RevokeCertificateRequest"/>
|
58
|
+
</xsd:sequence>
|
59
|
+
</xsd:complexType>
|
60
|
+
<xsd:complexType name="RevokeCertificateOutType">
|
61
|
+
<xsd:sequence>
|
62
|
+
<xsd:element name="ResponseHeader" type="dbpki:ResponseHeaderType"/>
|
63
|
+
<xsd:element ref="el:RevokeCertificateResponse"/>
|
64
|
+
</xsd:sequence>
|
65
|
+
</xsd:complexType>
|
66
|
+
<xsd:complexType name="CertificateStatusInType">
|
67
|
+
<xsd:sequence>
|
68
|
+
<xsd:element name="RequestHeader" type="dbpki:RequestHeaderType"/>
|
69
|
+
<xsd:element ref="el:CertificateStatusRequest"/>
|
70
|
+
</xsd:sequence>
|
71
|
+
</xsd:complexType>
|
72
|
+
<xsd:complexType name="CertificateStatusOutType">
|
73
|
+
<xsd:sequence>
|
74
|
+
<xsd:element name="ResponseHeader" type="dbpki:ResponseHeaderType"/>
|
75
|
+
<xsd:element ref="el:CertificateStatusResponse"/>
|
76
|
+
</xsd:sequence>
|
77
|
+
</xsd:complexType>
|
78
|
+
<xsd:complexType name="GetOwnCertificateListInType">
|
79
|
+
<xsd:sequence>
|
80
|
+
<xsd:element name="RequestHeader" type="dbpki:RequestHeaderType"/>
|
81
|
+
<xsd:element ref="el:GetOwnCertificateListRequest"/>
|
82
|
+
</xsd:sequence>
|
83
|
+
</xsd:complexType>
|
84
|
+
<xsd:complexType name="GetOwnCertificateListOutType">
|
85
|
+
<xsd:sequence>
|
86
|
+
<xsd:element name="ResponseHeader" type="dbpki:ResponseHeaderType"/>
|
87
|
+
<xsd:element ref="el:GetOwnCertificateListResponse"/>
|
88
|
+
</xsd:sequence>
|
89
|
+
</xsd:complexType>
|
90
|
+
<xsd:complexType name="GetBankCertificateInType">
|
91
|
+
<xsd:sequence>
|
92
|
+
<xsd:element name="RequestHeader" type="dbpki:RequestHeaderType"/>
|
93
|
+
<xsd:element ref="el:GetBankCertificateRequest"/>
|
94
|
+
</xsd:sequence>
|
95
|
+
</xsd:complexType>
|
96
|
+
<xsd:complexType name="GetBankCertificateOutType">
|
97
|
+
<xsd:sequence>
|
98
|
+
<xsd:element name="ResponseHeader" type="dbpki:ResponseHeaderType"/>
|
99
|
+
<xsd:element ref="el:GetBankCertificateResponse"/>
|
100
|
+
</xsd:sequence>
|
101
|
+
</xsd:complexType>
|
102
|
+
<xsd:complexType name="PKIFactoryServiceFaultDetailType">
|
103
|
+
<xsd:sequence>
|
104
|
+
<xsd:element name="CustomerId" type="el:CustomerIdType"/>
|
105
|
+
<xsd:element name="SenderId" type="el:CustomerIdType"/>
|
106
|
+
<xsd:element name="RequestId" type="el:RequestIdType"/>
|
107
|
+
<xsd:element name="Timestamp" type="xsd:dateTime"/>
|
108
|
+
<xsd:element name="InterfaceVersion" type="el:InterfaceVersionType"/>
|
109
|
+
<xsd:element name="ReturnCode" type="el:ReturncodeType"/>
|
110
|
+
<xsd:element name="ReturnText" type="el:ReturnTextType"/>
|
111
|
+
<xsd:element name="AdditionalReturnText" type="el:AdditionalReturnTextType" minOccurs="0"/>
|
112
|
+
</xsd:sequence>
|
113
|
+
</xsd:complexType>
|
114
|
+
<xsd:element name="CreateCertificateIn" type="dbpki:CreateCertificateInType"/>
|
115
|
+
<xsd:element name="CreateCertificateOut" type="dbpki:CreateCertificateOutType"/>
|
116
|
+
<xsd:element name="RenewCertificateIn" type="dbpki:RenewCertificateInType"/>
|
117
|
+
<xsd:element name="RenewCertificateOut" type="dbpki:RenewCertificateOutType"/>
|
118
|
+
<xsd:element name="RevokeCertificateIn" type="dbpki:RevokeCertificateInType"/>
|
119
|
+
<xsd:element name="RevokeCertificateOut" type="dbpki:RevokeCertificateOutType"/>
|
120
|
+
<xsd:element name="CertificateStatusIn" type="dbpki:CertificateStatusInType"/>
|
121
|
+
<xsd:element name="CertificateStatusOut" type="dbpki:CertificateStatusOutType"/>
|
122
|
+
<xsd:element name="GetOwnCertificateListIn" type="dbpki:GetOwnCertificateListInType"/>
|
123
|
+
<xsd:element name="GetOwnCertificateListOut" type="dbpki:GetOwnCertificateListOutType"/>
|
124
|
+
<xsd:element name="GetBankCertificateIn" type="dbpki:GetBankCertificateInType"/>
|
125
|
+
<xsd:element name="GetBankCertificateOut" type="dbpki:GetBankCertificateOutType"/>
|
126
|
+
<xsd:element name="PKIFactoryServiceFaultElement" type="dbpki:PKIFactoryServiceFaultDetailType"/>
|
127
|
+
</xsd:schema>
|
128
|
+
</wsdl:types>
|
129
|
+
<wsdl:message name="PKIFactoryServiceFault">
|
130
|
+
<wsdl:part name="PKIFactoryServiceFault" element="dbpki:PKIFactoryServiceFaultElement"/>
|
131
|
+
</wsdl:message>
|
132
|
+
<wsdl:message name="GetBankCertificateOut">
|
133
|
+
<wsdl:part name="GetBankCertificateOut" element="dbpki:GetBankCertificateOut"/>
|
134
|
+
</wsdl:message>
|
135
|
+
<wsdl:message name="GetBankCertificateIn">
|
136
|
+
<wsdl:part name="GetBankCertificateIn" element="dbpki:GetBankCertificateIn"/>
|
137
|
+
</wsdl:message>
|
138
|
+
<wsdl:message name="GetOwnCertificateListOut">
|
139
|
+
<wsdl:part name="GetOwnCertificateList" element="dbpki:GetOwnCertificateListOut"/>
|
140
|
+
</wsdl:message>
|
141
|
+
<wsdl:message name="GetOwnCertificateListIn">
|
142
|
+
<wsdl:part name="GetOwnCertificateListIn" element="dbpki:GetOwnCertificateListIn"/>
|
143
|
+
</wsdl:message>
|
144
|
+
<wsdl:message name="CreateCertificateOut">
|
145
|
+
<wsdl:part name="CreateCertificateOut" element="dbpki:CreateCertificateOut"/>
|
146
|
+
</wsdl:message>
|
147
|
+
<wsdl:message name="CreateCertificateIn">
|
148
|
+
<wsdl:part name="CreateCertificateIn" element="dbpki:CreateCertificateIn"/>
|
149
|
+
</wsdl:message>
|
150
|
+
<wsdl:message name="RenewCertificateOut">
|
151
|
+
<wsdl:part name="RenewCertificateOut" element="dbpki:RenewCertificateOut"/>
|
152
|
+
</wsdl:message>
|
153
|
+
<wsdl:message name="RenewCertificateIn">
|
154
|
+
<wsdl:part name="RenewCertificateIn" element="dbpki:RenewCertificateIn"/>
|
155
|
+
</wsdl:message>
|
156
|
+
<wsdl:message name="RevokeCertificateIn">
|
157
|
+
<wsdl:part name="RevokeCertificateIn" element="dbpki:RevokeCertificateIn"/>
|
158
|
+
</wsdl:message>
|
159
|
+
<wsdl:message name="RevokeCertificateOut">
|
160
|
+
<wsdl:part name="RevokeCertificateOut" element="dbpki:RevokeCertificateOut"/>
|
161
|
+
</wsdl:message>
|
162
|
+
<wsdl:message name="CertificateStatusIn">
|
163
|
+
<wsdl:part name="CertificateStatusIn" element="dbpki:CertificateStatusIn"/>
|
164
|
+
</wsdl:message>
|
165
|
+
<wsdl:message name="CertificateStatusOut">
|
166
|
+
<wsdl:part name="CertificateStatusOut" element="dbpki:CertificateStatusOut"/>
|
167
|
+
</wsdl:message>
|
168
|
+
<wsdl:portType name="PkiServicePortType">
|
169
|
+
<wsdl:operation name="CreateCertificate">
|
170
|
+
<wsdl:input name="CreateCertificateIn" message="dbpki:CreateCertificateIn"/>
|
171
|
+
<wsdl:output name="CreateCertificateOut" message="dbpki:CreateCertificateOut"/>
|
172
|
+
<wsdl:fault name="PKIFactoryServiceFault" message="dbpki:PKIFactoryServiceFault"/>
|
173
|
+
</wsdl:operation>
|
174
|
+
<wsdl:operation name="RenewCertificate">
|
175
|
+
<wsdl:input name="RenewCertificateIn" message="dbpki:RenewCertificateIn"/>
|
176
|
+
<wsdl:output name="RenewCertificateOut" message="dbpki:RenewCertificateOut"/>
|
177
|
+
<wsdl:fault name="PKIFactoryServiceFault" message="dbpki:PKIFactoryServiceFault"/>
|
178
|
+
</wsdl:operation>
|
179
|
+
<wsdl:operation name="RevokeCertificate">
|
180
|
+
<wsdl:input name="RevokeCertificateIn" message="dbpki:RevokeCertificateIn"/>
|
181
|
+
<wsdl:output name="RevokeCertificateOut" message="dbpki:RevokeCertificateOut"/>
|
182
|
+
<wsdl:fault name="PKIFactoryServiceFault" message="dbpki:PKIFactoryServiceFault"/>
|
183
|
+
</wsdl:operation>
|
184
|
+
<wsdl:operation name="CertificateStatus">
|
185
|
+
<wsdl:input name="CertificateStatusIn" message="dbpki:CertificateStatusIn"/>
|
186
|
+
<wsdl:output name="CertificateStatusOut" message="dbpki:CertificateStatusOut"/>
|
187
|
+
<wsdl:fault name="PKIFactoryServiceFault" message="dbpki:PKIFactoryServiceFault"/>
|
188
|
+
</wsdl:operation>
|
189
|
+
<wsdl:operation name="GetOwnCertificateList">
|
190
|
+
<wsdl:input name="GetOwnCertificateListIn" message="dbpki:GetOwnCertificateListIn"/>
|
191
|
+
<wsdl:output name="GetOwnCertificateListOut" message="dbpki:GetOwnCertificateListOut"/>
|
192
|
+
<wsdl:fault name="PKIFactoryServiceFault" message="dbpki:PKIFactoryServiceFault"/>
|
193
|
+
</wsdl:operation>
|
194
|
+
<wsdl:operation name="GetBankCertificate">
|
195
|
+
<wsdl:input name="GetBankCertificateIn" message="dbpki:GetBankCertificateIn"/>
|
196
|
+
<wsdl:output name="GetBankCertificateOut" message="dbpki:GetBankCertificateOut"/>
|
197
|
+
<wsdl:fault name="PKIFactoryServiceFault" message="dbpki:PKIFactoryServiceFault"/>
|
198
|
+
</wsdl:operation>
|
199
|
+
</wsdl:portType>
|
200
|
+
<wsdl:binding name="PkiServiceHttpBinding" type="dbpki:PkiServicePortType">
|
201
|
+
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
202
|
+
<wsdl:operation name="GetBankCertificate">
|
203
|
+
<wsdlsoap:operation soapAction="GetBankCertificate"/>
|
204
|
+
<wsdl:input name="GetBankCertificateIn">
|
205
|
+
<wsdlsoap:body use="literal"/>
|
206
|
+
</wsdl:input>
|
207
|
+
<wsdl:output name="GetBankCertificateOut">
|
208
|
+
<wsdlsoap:body use="literal"/>
|
209
|
+
</wsdl:output>
|
210
|
+
<wsdl:fault name="PKIFactoryServiceFault">
|
211
|
+
<wsdlsoap:fault name="PKIFactoryServiceFault" use="literal"/>
|
212
|
+
</wsdl:fault>
|
213
|
+
</wsdl:operation>
|
214
|
+
<wsdl:operation name="GetOwnCertificateList">
|
215
|
+
<wsdlsoap:operation soapAction="GetOwnCertificateList"/>
|
216
|
+
<wsdl:input name="GetOwnCertificateListIn">
|
217
|
+
<wsdlsoap:body use="literal"/>
|
218
|
+
</wsdl:input>
|
219
|
+
<wsdl:output name="GetOwnCertificateListOut">
|
220
|
+
<wsdlsoap:body use="literal"/>
|
221
|
+
</wsdl:output>
|
222
|
+
<wsdl:fault name="PKIFactoryServiceFault">
|
223
|
+
<wsdlsoap:fault name="PKIFactoryServiceFault" use="literal"/>
|
224
|
+
</wsdl:fault>
|
225
|
+
</wsdl:operation>
|
226
|
+
<wsdl:operation name="CreateCertificate">
|
227
|
+
<wsdlsoap:operation soapAction="CreateCertificate"/>
|
228
|
+
<wsdl:input name="CreateCertificateIn">
|
229
|
+
<wsdlsoap:body use="literal"/>
|
230
|
+
</wsdl:input>
|
231
|
+
<wsdl:output name="CreateCertificateOut">
|
232
|
+
<wsdlsoap:body use="literal"/>
|
233
|
+
</wsdl:output>
|
234
|
+
<wsdl:fault name="PKIFactoryServiceFault">
|
235
|
+
<wsdlsoap:fault name="PKIFactoryServiceFault" use="literal"/>
|
236
|
+
</wsdl:fault>
|
237
|
+
</wsdl:operation>
|
238
|
+
<wsdl:operation name="RenewCertificate">
|
239
|
+
<wsdlsoap:operation soapAction="RenewCertificate"/>
|
240
|
+
<wsdl:input name="RenewCertificateIn">
|
241
|
+
<wsdlsoap:body use="literal"/>
|
242
|
+
</wsdl:input>
|
243
|
+
<wsdl:output name="RenewCertificateOut">
|
244
|
+
<wsdlsoap:body use="literal"/>
|
245
|
+
</wsdl:output>
|
246
|
+
<wsdl:fault name="PKIFactoryServiceFault">
|
247
|
+
<wsdlsoap:fault name="PKIFactoryServiceFault" use="literal"/>
|
248
|
+
</wsdl:fault>
|
249
|
+
</wsdl:operation>
|
250
|
+
<wsdl:operation name="RevokeCertificate">
|
251
|
+
<wsdlsoap:operation soapAction="RevokeCertificate"/>
|
252
|
+
<wsdl:input name="RevokeCertificateIn">
|
253
|
+
<wsdlsoap:body use="literal"/>
|
254
|
+
</wsdl:input>
|
255
|
+
<wsdl:output name="RevokeCertificateOut">
|
256
|
+
<wsdlsoap:body use="literal"/>
|
257
|
+
</wsdl:output>
|
258
|
+
<wsdl:fault name="PKIFactoryServiceFault">
|
259
|
+
<wsdlsoap:fault name="PKIFactoryServiceFault" use="literal"/>
|
260
|
+
</wsdl:fault>
|
261
|
+
</wsdl:operation>
|
262
|
+
<wsdl:operation name="CertificateStatus">
|
263
|
+
<wsdlsoap:operation soapAction="CertificateStatus"/>
|
264
|
+
<wsdl:input name="CertificateStatusIn">
|
265
|
+
<wsdlsoap:body use="literal"/>
|
266
|
+
</wsdl:input>
|
267
|
+
<wsdl:output name="CertificateStatusOut">
|
268
|
+
<wsdlsoap:body use="literal"/>
|
269
|
+
</wsdl:output>
|
270
|
+
<wsdl:fault name="PKIFactoryServiceFault">
|
271
|
+
<wsdlsoap:fault name="PKIFactoryServiceFault" use="literal"/>
|
272
|
+
</wsdl:fault>
|
273
|
+
</wsdl:operation>
|
274
|
+
</wsdl:binding>
|
275
|
+
<wsdl:service name="PkiService">
|
276
|
+
<wsdl:port name="PkiServiceHttpPort" binding="dbpki:PkiServiceHttpBinding">
|
277
|
+
<wsdlsoap:address location="https://businessws.danskebank.com/ra/pkiservice.asmx"/>
|
278
|
+
</wsdl:port>
|
279
|
+
</wsdl:service>
|
280
|
+
</wsdl:definitions>
|
@@ -0,0 +1,234 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<wsdl:definitions targetNamespace="http://bxd.fi/CorporateFileService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://model.bxd.fi" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://bxd.fi/CorporateFileService" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<wsdl:types>
|
4
|
+
<xsd:schema targetNamespace="http://model.bxd.fi" elementFormDefault="qualified" attributeFormDefault="qualified">
|
5
|
+
<xsd:complexType name="RequestHeader">
|
6
|
+
<xsd:sequence>
|
7
|
+
<xsd:element name="SenderId" type="xsd:string" nillable="false"/>
|
8
|
+
<xsd:element name="RequestId" type="xsd:string" nillable="false"/>
|
9
|
+
<xsd:element name="Timestamp" type="xsd:dateTime" nillable="false"/>
|
10
|
+
<xsd:element name="Language" type="xsd:string" nillable="true"/>
|
11
|
+
<xsd:element name="UserAgent" type="xsd:string" nillable="true"/>
|
12
|
+
<xsd:element name="ReceiverId" type="xsd:string" nillable="false"/>
|
13
|
+
</xsd:sequence>
|
14
|
+
</xsd:complexType>
|
15
|
+
<xsd:complexType name="ResponseHeader">
|
16
|
+
<xsd:sequence>
|
17
|
+
<xsd:element name="SenderId" type="xsd:string" nillable="false"/>
|
18
|
+
<xsd:element name="RequestId" type="xsd:string" nillable="false"/>
|
19
|
+
<xsd:element name="Timestamp" type="xsd:dateTime" nillable="false"/>
|
20
|
+
<xsd:element name="ResponseCode" type="xsd:string" nillable="true"/>
|
21
|
+
<xsd:element name="ResponseText" type="xsd:string" nillable="true"/>
|
22
|
+
<xsd:element name="ReceiverId" type="xsd:string" nillable="false"/>
|
23
|
+
</xsd:sequence>
|
24
|
+
</xsd:complexType>
|
25
|
+
<xsd:complexType name="UploadFileRequest">
|
26
|
+
<xsd:sequence>
|
27
|
+
<xsd:element name="RequestHeader" type="ns1:RequestHeader" nillable="false"/>
|
28
|
+
<xsd:element name="ApplicationRequest" type="xsd:base64Binary" nillable="false"/>
|
29
|
+
</xsd:sequence>
|
30
|
+
</xsd:complexType>
|
31
|
+
<xsd:complexType name="UploadFileResponse">
|
32
|
+
<xsd:sequence>
|
33
|
+
<xsd:element name="ResponseHeader" type="ns1:ResponseHeader" nillable="false"/>
|
34
|
+
<xsd:element name="ApplicationResponse" type="xsd:base64Binary" nillable="false"/>
|
35
|
+
</xsd:sequence>
|
36
|
+
</xsd:complexType>
|
37
|
+
<xsd:complexType name="DownloadFileListRequest">
|
38
|
+
<xsd:sequence>
|
39
|
+
<xsd:element name="RequestHeader" type="ns1:RequestHeader" nillable="false"/>
|
40
|
+
<xsd:element name="ApplicationRequest" type="xsd:base64Binary" nillable="false"/>
|
41
|
+
</xsd:sequence>
|
42
|
+
</xsd:complexType>
|
43
|
+
<xsd:complexType name="DownloadFileListResponse">
|
44
|
+
<xsd:sequence>
|
45
|
+
<xsd:element name="ResponseHeader" type="ns1:ResponseHeader" nillable="false"/>
|
46
|
+
<xsd:element name="ApplicationResponse" type="xsd:base64Binary" nillable="false"/>
|
47
|
+
</xsd:sequence>
|
48
|
+
</xsd:complexType>
|
49
|
+
<xsd:complexType name="DownloadFileRequest">
|
50
|
+
<xsd:sequence>
|
51
|
+
<xsd:element name="RequestHeader" type="ns1:RequestHeader" nillable="false"/>
|
52
|
+
<xsd:element name="ApplicationRequest" type="xsd:base64Binary" nillable="false"/>
|
53
|
+
</xsd:sequence>
|
54
|
+
</xsd:complexType>
|
55
|
+
<xsd:complexType name="DownloadFileResponse">
|
56
|
+
<xsd:sequence>
|
57
|
+
<xsd:element name="ResponseHeader" type="ns1:ResponseHeader" nillable="false"/>
|
58
|
+
<xsd:element name="ApplicationResponse" type="xsd:base64Binary" nillable="false"/>
|
59
|
+
</xsd:sequence>
|
60
|
+
</xsd:complexType>
|
61
|
+
<xsd:complexType name="DeleteFileRequest">
|
62
|
+
<xsd:sequence>
|
63
|
+
<xsd:element name="RequestHeader" type="ns1:RequestHeader" nillable="false"/>
|
64
|
+
<xsd:element name="ApplicationRequest" type="xsd:base64Binary" nillable="false"/>
|
65
|
+
</xsd:sequence>
|
66
|
+
</xsd:complexType>
|
67
|
+
<xsd:complexType name="DeleteFileResponse">
|
68
|
+
<xsd:sequence>
|
69
|
+
<xsd:element name="ResponseHeader" type="ns1:ResponseHeader" nillable="false"/>
|
70
|
+
<xsd:element name="ApplicationResponse" type="xsd:base64Binary" nillable="false"/>
|
71
|
+
</xsd:sequence>
|
72
|
+
</xsd:complexType>
|
73
|
+
<xsd:complexType name="GetUserInfoRequest">
|
74
|
+
<xsd:sequence>
|
75
|
+
<xsd:element name="RequestHeader" type="ns1:RequestHeader" nillable="false"/>
|
76
|
+
<xsd:element name="ApplicationRequest" type="xsd:base64Binary" nillable="false"/>
|
77
|
+
</xsd:sequence>
|
78
|
+
</xsd:complexType>
|
79
|
+
<xsd:complexType name="GetUserInfoResponse">
|
80
|
+
<xsd:sequence>
|
81
|
+
<xsd:element name="ResponseHeader" type="ns1:ResponseHeader" nillable="false"/>
|
82
|
+
<xsd:element name="ApplicationResponse" type="xsd:base64Binary" nillable="false"/>
|
83
|
+
</xsd:sequence>
|
84
|
+
</xsd:complexType>
|
85
|
+
<xsd:complexType name="FileServiceFaultDetail">
|
86
|
+
<xsd:sequence>
|
87
|
+
<xsd:element minOccurs="0" maxOccurs="1" name="category" type="xsd:string"/>
|
88
|
+
<xsd:element minOccurs="0" maxOccurs="1" name="code" type="xsd:string"/>
|
89
|
+
</xsd:sequence>
|
90
|
+
</xsd:complexType>
|
91
|
+
</xsd:schema>
|
92
|
+
<xsd:schema targetNamespace="http://bxd.fi/CorporateFileService" elementFormDefault="qualified" attributeFormDefault="qualified">
|
93
|
+
<xsd:element name="uploadFilein" type="ns1:UploadFileRequest"/>
|
94
|
+
<xsd:element name="uploadFileout" type="ns1:UploadFileResponse"/>
|
95
|
+
<xsd:element name="downloadFileListin" type="ns1:DownloadFileListRequest"/>
|
96
|
+
<xsd:element name="downloadFileListout" type="ns1:DownloadFileListResponse"/>
|
97
|
+
<xsd:element name="downloadFilein" type="ns1:DownloadFileRequest"/>
|
98
|
+
<xsd:element name="downloadFileout" type="ns1:DownloadFileResponse"/>
|
99
|
+
<xsd:element name="deleteFilein" type="ns1:DeleteFileRequest"/>
|
100
|
+
<xsd:element name="deleteFileout" type="ns1:DeleteFileResponse"/>
|
101
|
+
<xsd:element name="getUserInfoin" type="ns1:GetUserInfoRequest"/>
|
102
|
+
<xsd:element name="getUserInfoout" type="ns1:GetUserInfoResponse"/>
|
103
|
+
<xsd:element name="FileServiceFaultElement" type="ns1:FileServiceFaultDetail"/>
|
104
|
+
</xsd:schema>
|
105
|
+
</wsdl:types>
|
106
|
+
<wsdl:message name="FileServiceFault">
|
107
|
+
<wsdl:part name="FileServiceFault" element="tns:FileServiceFaultElement"/>
|
108
|
+
</wsdl:message>
|
109
|
+
<wsdl:message name="uploadFileResponse">
|
110
|
+
<wsdl:part element="tns:uploadFileout" name="uploadFileout"/>
|
111
|
+
</wsdl:message>
|
112
|
+
<wsdl:message name="uploadFileRequest">
|
113
|
+
<wsdl:part element="tns:uploadFilein" name="uploadFilein"/>
|
114
|
+
</wsdl:message>
|
115
|
+
<wsdl:message name="downloadFileListResponse">
|
116
|
+
<wsdl:part element="tns:downloadFileListout" name="downloadFileListout"/>
|
117
|
+
</wsdl:message>
|
118
|
+
<wsdl:message name="downloadFileListRequest">
|
119
|
+
<wsdl:part element="tns:downloadFileListin" name="downloadFileListin"/>
|
120
|
+
</wsdl:message>
|
121
|
+
<wsdl:message name="downloadFileResponse">
|
122
|
+
<wsdl:part element="tns:downloadFileout" name="downloadFileout"/>
|
123
|
+
</wsdl:message>
|
124
|
+
<wsdl:message name="downloadFileRequest">
|
125
|
+
<wsdl:part element="tns:downloadFilein" name="downloadFilein"/>
|
126
|
+
</wsdl:message>
|
127
|
+
<wsdl:message name="deleteFileResponse">
|
128
|
+
<wsdl:part element="tns:deleteFileout" name="deleteFileout"/>
|
129
|
+
</wsdl:message>
|
130
|
+
<wsdl:message name="deleteFileRequest">
|
131
|
+
<wsdl:part element="tns:deleteFilein" name="deleteFilein"/>
|
132
|
+
</wsdl:message>
|
133
|
+
<wsdl:message name="getUserInfoRequest">
|
134
|
+
<wsdl:part element="tns:getUserInfoin" name="getUserInfoin"/>
|
135
|
+
</wsdl:message>
|
136
|
+
<wsdl:message name="getUserInfoResponse">
|
137
|
+
<wsdl:part element="tns:getUserInfoout" name="getUserInfoout"/>
|
138
|
+
</wsdl:message>
|
139
|
+
<wsdl:portType name="CorporateFileServicePortType">
|
140
|
+
<wsdl:operation name="uploadFile">
|
141
|
+
<wsdl:input message="tns:uploadFileRequest" name="uploadFileRequest"/>
|
142
|
+
<wsdl:output message="tns:uploadFileResponse" name="uploadFileResponse"/>
|
143
|
+
<wsdl:fault name="FileServiceFault" message="tns:FileServiceFault"/>
|
144
|
+
</wsdl:operation>
|
145
|
+
<wsdl:operation name="downloadFileList">
|
146
|
+
<wsdl:input message="tns:downloadFileListRequest" name="downloadFileListRequest"/>
|
147
|
+
<wsdl:output message="tns:downloadFileListResponse" name="downloadFileListResponse"/>
|
148
|
+
<wsdl:fault name="FileServiceFault" message="tns:FileServiceFault"/>
|
149
|
+
</wsdl:operation>
|
150
|
+
<wsdl:operation name="downloadFile">
|
151
|
+
<wsdl:input message="tns:downloadFileRequest" name="downloadFileRequest"/>
|
152
|
+
<wsdl:output message="tns:downloadFileResponse" name="downloadFileResponse"/>
|
153
|
+
<wsdl:fault name="FileServiceFault" message="tns:FileServiceFault"/>
|
154
|
+
</wsdl:operation>
|
155
|
+
<wsdl:operation name="deleteFile">
|
156
|
+
<wsdl:input message="tns:deleteFileRequest" name="deleteFileRequest"/>
|
157
|
+
<wsdl:output message="tns:deleteFileResponse" name="deleteFileResponse"/>
|
158
|
+
<wsdl:fault name="FileServiceFault" message="tns:FileServiceFault"/>
|
159
|
+
</wsdl:operation>
|
160
|
+
<wsdl:operation name="getUserInfo">
|
161
|
+
<wsdl:input message="tns:getUserInfoRequest" name="getUserInfoRequest"/>
|
162
|
+
<wsdl:output message="tns:getUserInfoResponse" name="getUserInfoResponse"/>
|
163
|
+
<wsdl:fault name="FileServiceFault" message="tns:FileServiceFault"/>
|
164
|
+
</wsdl:operation>
|
165
|
+
</wsdl:portType>
|
166
|
+
<wsdl:binding name="CorporateFileServiceHttpBinding" type="tns:CorporateFileServicePortType">
|
167
|
+
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
168
|
+
<wsdl:operation name="uploadFile">
|
169
|
+
<wsdlsoap:operation soapAction=""/>
|
170
|
+
<wsdl:input name="uploadFileRequest">
|
171
|
+
<wsdlsoap:body use="literal"/>
|
172
|
+
</wsdl:input>
|
173
|
+
<wsdl:output name="uploadFileResponse">
|
174
|
+
<wsdlsoap:body use="literal"/>
|
175
|
+
</wsdl:output>
|
176
|
+
<wsdl:fault name="FileServiceFault">
|
177
|
+
<wsdlsoap:fault use="literal" name="FileServiceFault"/>
|
178
|
+
</wsdl:fault>
|
179
|
+
</wsdl:operation>
|
180
|
+
<wsdl:operation name="downloadFileList">
|
181
|
+
<wsdlsoap:operation soapAction=""/>
|
182
|
+
<wsdl:input name="downloadFileListRequest">
|
183
|
+
<wsdlsoap:body use="literal"/>
|
184
|
+
</wsdl:input>
|
185
|
+
<wsdl:output name="downloadFileListResponse">
|
186
|
+
<wsdlsoap:body use="literal"/>
|
187
|
+
</wsdl:output>
|
188
|
+
<wsdl:fault name="FileServiceFault">
|
189
|
+
<wsdlsoap:fault use="literal" name="FileServiceFault"/>
|
190
|
+
</wsdl:fault>
|
191
|
+
</wsdl:operation>
|
192
|
+
<wsdl:operation name="downloadFile">
|
193
|
+
<wsdlsoap:operation soapAction=""/>
|
194
|
+
<wsdl:input name="downloadFileRequest">
|
195
|
+
<wsdlsoap:body use="literal"/>
|
196
|
+
</wsdl:input>
|
197
|
+
<wsdl:output name="downloadFileResponse">
|
198
|
+
<wsdlsoap:body use="literal"/>
|
199
|
+
</wsdl:output>
|
200
|
+
<wsdl:fault name="FileServiceFault">
|
201
|
+
<wsdlsoap:fault use="literal" name="FileServiceFault"/>
|
202
|
+
</wsdl:fault>
|
203
|
+
</wsdl:operation>
|
204
|
+
<wsdl:operation name="deleteFile">
|
205
|
+
<wsdlsoap:operation soapAction=""/>
|
206
|
+
<wsdl:input name="deleteFileRequest">
|
207
|
+
<wsdlsoap:body use="literal"/>
|
208
|
+
</wsdl:input>
|
209
|
+
<wsdl:output name="deleteFileResponse">
|
210
|
+
<wsdlsoap:body use="literal"/>
|
211
|
+
</wsdl:output>
|
212
|
+
<wsdl:fault name="FileServiceFault">
|
213
|
+
<wsdlsoap:fault use="literal" name="FileServiceFault"/>
|
214
|
+
</wsdl:fault>
|
215
|
+
</wsdl:operation>
|
216
|
+
<wsdl:operation name="getUserInfo">
|
217
|
+
<wsdlsoap:operation soapAction=""/>
|
218
|
+
<wsdl:input name="getUserInfoRequest">
|
219
|
+
<wsdlsoap:body use="literal"/>
|
220
|
+
</wsdl:input>
|
221
|
+
<wsdl:output name="getUserInfoResponse">
|
222
|
+
<wsdlsoap:body use="literal"/>
|
223
|
+
</wsdl:output>
|
224
|
+
<wsdl:fault name="FileServiceFault">
|
225
|
+
<wsdlsoap:fault use="literal" name="FileServiceFault"/>
|
226
|
+
</wsdl:fault>
|
227
|
+
</wsdl:operation>
|
228
|
+
</wsdl:binding>
|
229
|
+
<wsdl:service name="CorporateFileService">
|
230
|
+
<wsdl:port binding="tns:CorporateFileServiceHttpBinding" name="CorporateFileServiceHttpPort">
|
231
|
+
<wsdlsoap:address location="https://filetransfer.nordea.com/services/CorporateFileService"/>
|
232
|
+
</wsdl:port>
|
233
|
+
</wsdl:service>
|
234
|
+
</wsdl:definitions>
|