This repository was archived by the owner on Dec 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.txt
More file actions
93 lines (81 loc) · 3.93 KB
/
readme.txt
File metadata and controls
93 lines (81 loc) · 3.93 KB
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
=====================================
= Start EbMS Admin Console standalone
=====================================
show help:
> java -cp ebms-admin-2.x.x.jar nl.clockwork.ebms.admin.Start -h
start:
> java -cp ebms-admin-2.x.x.jar nl.clockwork.ebms.admin.Start
=====================================================
= Start EbMS Admin Console with embedded EbMS adapter
=====================================================
show help:
> java -cp ebms-admin-2.x.x.jar nl.clockwork.ebms.admin.StartEmbedded -h
start with hsqldb server:
> java -cp ebms-admin-2.x.x.jar nl.clockwork.ebms.admin.StartEmbedded -hsqldb
========================================================
= Start 2 EbMS Admin Consoles with embedded EbMS adapter
========================================================
Example using 2 ebms adapters:
- create directory overheid
- copy ebms-admin-2.x.x.jar to overheid
- start admin console on port 8000 with a hsqldb server:
> java -cp ebms-admin-2.x.x.jar nl.clockwork.ebms.admin.StartEmbedded -port 8000 -hsqldb
- open web browser at http://localhost:8000
- configure properties at http://localhost:8000/wicket/bookmarkable/nl.clockwork.ebms.admin.web.configuration.EbMSAdminPropertiesPage
- set port: 8088
- set path: overheidStub
- set database port: 9000
- save
- restart admin console
- upload CPA cpaStubEBF.rm.https.signed.xml at http://localhost:8000/wicket/bookmarkable/nl.clockwork.ebms.admin.web.service.cpa.CPAUploadPage
- create directory digipoort
- copy ebms-admin-2.x.x.jar to digipoort
- start admin console on default port 8080 with a hsqldb server:
> java -cp ebms-admin-2.x.x.jar nl.clockwork.ebms.admin.StartEmbedded -hsqldb
- open web browser at http://localhost:8080
- configure properties at http://localhost:8080/wicket/bookmarkable/nl.clockwork.ebms.admin.web.configuration.EbMSAdminPropertiesPage
- use default properties, so no changes
- save
- restart admin console
- upload CPA cpaStubEBF.rm.https.signed.xml at http://localhost:8080/wicket/bookmarkable/nl.clockwork.ebms.admin.web.service.cpa.CPAUploadPage
- next from the overheid console you can:
- execute a ping the other adapter at http://localhost:8000/wicket/bookmarkable/nl.clockwork.ebms.admin.web.service.message.PingPage
- CPA Id: CPA_EBFStub
- From Party: Overheid
- To Party: Logius
- send a message to the other adapter at http://localhost:8000/wicket/bookmarkable/nl.clockwork.ebms.admin.web.service.message.SendMessagePageX
- CPA Id: CPA_EBFStub
- From Role: OVERHEID
- Service: urn:osb:services:osb:afleveren:1.1$1.0 urn:osb:services:osb:aanleveren:1.1$1.0
- Action: bevestigAfleveren
- Add a Data Source
- view traffic at http://localhost:8000/wicket/bookmarkable/nl.clockwork.ebms.admin.web.message.TrafficPage
- next from the digipoort console you can:
- execute a ping the other adapter at http://localhost:8080/wicket/bookmarkable/nl.clockwork.ebms.admin.web.service.message.PingPage
- CPA Id: CPA_EBFStub
- From Party: Logius
- To Party: Overheid
- send a message to the other adapter at http://localhost:8080/wicket/bookmarkable/nl.clockwork.ebms.admin.web.service.message.SendMessagePageX
- CPA Id: CPA_EBFStub
- From Role: LOGIUS
- Service: urn:osb:services:osb:afleveren:1.1$1.0 urn:osb:services:osb:aanleveren:1.1$1.0
- Action: afleveren
- Add a Data Source
- view traffic at http://localhost:8080/wicket/bookmarkable/nl.clockwork.ebms.admin.web.message.TrafficPage
================
= Build project
================
mvn package
==========
= Eclipse
==========
Import -> Existing Maven Projects
resolve js validation errors:
- Properties -> JavaScript -> Include Path -> Source
- Edit ebms-admin/src/main/webapp -> Excluded
- Add Exclusion Pattern: js/jquery-min.js
- Remove file js/jquery-min.js from project and add it again
OR
- Properties -> Builders
- Uncheck JavaScript Validator
- Remove file js/jquery-min.js from project and add it again