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,47 @@
|
|
1
|
+
module Sepa
|
2
|
+
module DanskeSoapRequest
|
3
|
+
# Holding methods needed only for Danske Services SOAP
|
4
|
+
private
|
5
|
+
|
6
|
+
def find_correct_build(params)
|
7
|
+
command = params.fetch(:command)
|
8
|
+
|
9
|
+
case command
|
10
|
+
when :get_bank_certificate
|
11
|
+
build_get_bank_certificate_request(params)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
# Builds : Get Bank Certificate
|
16
|
+
# ------------------------------------------------------------------------
|
17
|
+
def build_get_bank_certificate_request(params)
|
18
|
+
ar = Base64.decode64 @ar
|
19
|
+
command = params.fetch(:command)
|
20
|
+
sender_id = params.fetch(:customer_id)
|
21
|
+
request_id = params.fetch(:request_id)
|
22
|
+
|
23
|
+
body = load_body_template(command)
|
24
|
+
|
25
|
+
set_bank_certificate_body_contents(body, sender_id, request_id)
|
26
|
+
add_bank_certificate_body_to_soap(ar, body)
|
27
|
+
end
|
28
|
+
|
29
|
+
def set_bank_certificate_body_contents(body, sender_id, request_id)
|
30
|
+
set_node(body, 'pkif|SenderId', sender_id)
|
31
|
+
set_node(body, 'pkif|CustomerId', sender_id)
|
32
|
+
set_node(body, 'pkif|RequestId', request_id)
|
33
|
+
set_node(body, 'pkif|Timestamp', Time.now.iso8601)
|
34
|
+
set_node(body, 'pkif|InterfaceVersion', 1)
|
35
|
+
end
|
36
|
+
|
37
|
+
def add_bank_certificate_body_to_soap(ar, body)
|
38
|
+
ar = Nokogiri::XML(ar)
|
39
|
+
|
40
|
+
ar = ar.at_css('elem|GetBankCertificateRequest')
|
41
|
+
body.at_css('pkif|GetBankCertificateIn').add_child(ar)
|
42
|
+
|
43
|
+
body
|
44
|
+
end
|
45
|
+
# ------------------------------------------------------------------------
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
module Sepa
|
2
|
+
module NordeaSoapRequest
|
3
|
+
# Holding methods needed only for Danske Services SOAP
|
4
|
+
private
|
5
|
+
|
6
|
+
def find_correct_build(params)
|
7
|
+
command = params.fetch(:command)
|
8
|
+
|
9
|
+
case command
|
10
|
+
when :get_certificate
|
11
|
+
build_certificate_request(params)
|
12
|
+
when :get_user_info,:download_file_list,:download_file,:upload_file
|
13
|
+
build_common_request(params)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
# Builds : Get Certificate
|
18
|
+
# ------------------------------------------------------------------------
|
19
|
+
def build_certificate_request(params)
|
20
|
+
command = params.fetch(:command)
|
21
|
+
ar = @ar
|
22
|
+
sender_id = params.fetch(:customer_id)
|
23
|
+
|
24
|
+
body = load_body_template(command)
|
25
|
+
set_body_contents(body, ar, sender_id)
|
26
|
+
end
|
27
|
+
|
28
|
+
def set_body_contents(body, ar, sender_id)
|
29
|
+
set_node(body, 'cer|ApplicationRequest', ar)
|
30
|
+
set_node(body, 'cer|SenderId', sender_id)
|
31
|
+
set_node(body, 'cer|RequestId', SecureRandom.hex(17))
|
32
|
+
set_node(body, 'cer|Timestamp', Time.now.iso8601)
|
33
|
+
|
34
|
+
body
|
35
|
+
end
|
36
|
+
# ------------------------------------------------------------------------
|
37
|
+
|
38
|
+
# Builds : Get User Info, Download File, Download File List, Upload File
|
39
|
+
# ------------------------------------------------------------------------
|
40
|
+
def build_common_request(params)
|
41
|
+
command = params.fetch(:command)
|
42
|
+
ar = @ar
|
43
|
+
sender_id = params.fetch(:customer_id)
|
44
|
+
lang = params.fetch(:language)
|
45
|
+
receiver_id = params.fetch(:target_id)
|
46
|
+
private_key = params.fetch(:private_key)
|
47
|
+
cert = params.fetch(:cert)
|
48
|
+
|
49
|
+
header = load_header_template(@template_path)
|
50
|
+
body = load_body_template(command)
|
51
|
+
|
52
|
+
common_set_body_contents(body, ar, sender_id, lang, receiver_id)
|
53
|
+
process_header(header,body, private_key, cert)
|
54
|
+
add_body_to_header(header, body)
|
55
|
+
end
|
56
|
+
|
57
|
+
def common_set_body_contents(body, ar, sender_id, lang, receiver_id)
|
58
|
+
set_node(body, 'bxd|ApplicationRequest', ar)
|
59
|
+
set_node(body, 'bxd|SenderId', sender_id)
|
60
|
+
set_node(body, 'bxd|RequestId', SecureRandom.hex(17))
|
61
|
+
set_node(body, 'bxd|Timestamp', Time.now.iso8601)
|
62
|
+
set_node(body, 'bxd|Language', lang)
|
63
|
+
set_node(body, 'bxd|UserAgent',
|
64
|
+
"Sepa Transfer Library version " + VERSION)
|
65
|
+
set_node(body, 'bxd|ReceiverId', receiver_id)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Sepa
|
2
|
+
class Userfiletype
|
3
|
+
|
4
|
+
attr_accessor :targetId, :fileType, :fileTypeName, :country, :direction, :filetypeServices
|
5
|
+
# Add incoming filetypeservice to array
|
6
|
+
def add_filetypeservice(ftservice)
|
7
|
+
filetypeServices<<ftservice
|
8
|
+
end
|
9
|
+
|
10
|
+
# To get parts of array possible options
|
11
|
+
def get_filetypeservices
|
12
|
+
# Add condition checking
|
13
|
+
filetypeServices
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/sepa/version.rb
ADDED
@@ -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://businessWS.danskebank.com/edifileservice/edifileservice.asmx"/>
|
232
|
+
</wsdl:port>
|
233
|
+
</wsdl:service>
|
234
|
+
</wsdl:definitions>
|