-
Notifications
You must be signed in to change notification settings - Fork 47
Profiles
Philip Helger edited this page Mar 21, 2022
·
10 revisions
To handle common parts of AS4 PModes this project uses so called "profiles". Currently the following profiles are provided out of the box:
- CEF with ID
cef
in submodulephase4-profile-cef
- see https://ec.europa.eu/cefdigital/wiki/display/CEFDIGITAL/eDelivery+AS4+-+1.14 for the full specification - Peppol with ID
peppol
in submodulephase4-profile-peppol
- see https://docs.peppol.eu/edelivery/as4/specification/ for the full specification- See Peppol for further explanations
- ENTSOG with ID
entsog
in submodulephase4-profile-entsog
- see https://www.entsog.eu/interoperability-and-data-exchange-nc for the full specification
To use one of these profiles, the respective Maven artifacts must be added as dependencies to your project as in
<dependency>
<groupId>com.helger</groupId>
<artifactId>phase4-profile-cef</artifactId>
<version>x.y.z</version>
</dependency>
or
<dependency>
<groupId>com.helger</groupId>
<artifactId>phase4-profile-peppol</artifactId>
<version>x.y.z</version>
</dependency>
or
<dependency>
<groupId>com.helger</groupId>
<artifactId>phase4-profile-entsog</artifactId>
<version>x.y.z</version>
</dependency>
If you want to create your own profile, you need to provide an SPI implementation of the phase4-lib
interface com.helger.phase4.profile.IAS4ProfileRegistrarSPI
. See the above mentioned submodules as examples on how to do that.
My personal Coding Styleguide | It is appreciated if you star the GitHub project if you like it.