-
Notifications
You must be signed in to change notification settings - Fork 47
Profiles
To handle common parts of AS4 PModes this project uses so called "profiles". Profiles are very similar to PModes but they don't necessarily contain all information of a PMode but leave room for dynamic injections like certificates or URLs as e.g. required by the Dynamic Discovery mechanism of Peppol.
Currently the following profiles are provided out of the box:
- Peppol with ID
peppol
in submodulephase4-profile-peppol
- Source: https://docs.peppol.eu/edelivery/as4/specification/ for the full specification
- See Profile Peppol for further explanations
- CEF with ID
cef
in submodulephase4-profile-cef
- Source: https://ec.europa.eu/cefdigital/wiki/display/CEFDIGITAL/eDelivery+AS4+-+1.14 for the full specification
- See Profile CEF for further explanations
- ENTSOG with ID
entsog
in submodulephase4-profile-entsog
- Source: https://www.entsog.eu/interoperability-and-data-exchange-nc for the full specification
- See Profile ENTSOG for further explanations
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 predefined profiles as examples on how to do that.
This is e.g. how it was done in the ENTSOG case: https://github.com/phax/phase4/blob/master/phase4-profile-entsog/src/main/java/com/helger/phase4/profile/entsog/AS4ENTSOGProfileRegistarSPI.java
If you have developed an AS4 profile that you want to share with the community, feel free to ping me. I am always happy to onboard external contributions, as long as you agree to the License terms.
My personal Coding Styleguide | It is appreciated if you star the GitHub project if you like it.