phase4
phase4 copied to clipboard
phase4 - AS4 client and server for integration into existing systems. Specific support for Peppol and CEF eDelivery built-in.
[`SBDHBuilder#finishFields`]( https://github.com/phax/phase4/blob/301826859300caaeb906f2d0f3efd95f04bb8234/phase4-peppol-client/src/main/java/com/helger/phase4/peppol/Phase4PeppolSender.java#L1040) is protected but it is required when you want to process a already populated SBDH document. Since there is no real other reason to extend `Phase4PeppolSender`, making this...
### Discussed in https://github.com/phax/phase4/discussions/60 Implement as discussed
I'm creating a Docker image for this repo, starting from https://github.com/phax/phase4#building-from-source.
Hi, Using the library 2.7.5 that comes with updated WSS4J 3.0.3 and xmlsec I'm getting exception when attempting message sendout: ``` Caused by: org.apache.wss4j.common.ext.WSSecurityException: java.security.SignatureException: Curve not supported: brainpoolP256r1 (1.3.36.3.3.2.8.1.1.7)...
In our software, we use `IPmodeResolver.getPModeOfID` to construct the PMode for any incoming AS4 message. Anyway, the parameter `sAddress`, which represents our "own" AS4 endpoint address(es) is always _null_. I...
I would like to suggest something that helped me a lot in OFTP2. The library we use can add marks to make the log file more readable for humans. Simplified...
Hello Philip, I am currently facing difficulty integrating DBNA due to the following error: "C:\Program Files\Java\jdk17.0.7_7\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.1\lib\idea_rt.jar=58630:C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\projects\DBNA\updated waala\phase4-phase4-parent-pom-2.7.4\phase4-spring-boot-demo\target\classes;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-starter\3.2.2\spring-boot-starter-3.2.2.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot\3.2.2\spring-boot-3.2.2.jar;C:\Users\testuser\.m2\repository\org\springframework\spring-context\6.1.3\spring-context-6.1.3.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\3.2.2\spring-boot-autoconfigure-3.2.2.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-starter-logging\3.2.2\spring-boot-starter-logging-3.2.2.jar;C:\Users\testuser\.m2\repository\ch\qos\logback\logback-classic\1.4.14\logback-classic-1.4.14.jar;C:\Users\testuser\.m2\repository\ch\qos\logback\logback-core\1.4.14\logback-core-1.4.14.jar;C:\Users\testuser\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.21.1\log4j-to-slf4j-2.21.1.jar;C:\Users\testuser\.m2\repository\org\apache\logging\log4j\log4j-api\2.22.1\log4j-api-2.22.1.jar;C:\Users\testuser\.m2\repository\jakarta\annotation\jakarta.annotation-api\2.1.1\jakarta.annotation-api-2.1.1.jar;C:\Users\testuser\.m2\repository\org\springframework\spring-core\6.1.3\spring-core-6.1.3.jar;C:\Users\testuser\.m2\repository\org\springframework\spring-jcl\6.1.3\spring-jcl-6.1.3.jar;C:\Users\testuser\.m2\repository\org\yaml\snakeyaml\2.2\snakeyaml-2.2.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-starter-web\3.2.2\spring-boot-starter-web-3.2.2.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-starter-json\3.2.2\spring-boot-starter-json-3.2.2.jar;C:\Users\testuser\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.15.3\jackson-databind-2.15.3.jar;C:\Users\testuser\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.15.3\jackson-annotations-2.15.3.jar;C:\Users\testuser\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.15.3\jackson-core-2.15.3.jar;C:\Users\testuser\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.15.3\jackson-datatype-jdk8-2.15.3.jar;C:\Users\testuser\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.15.3\jackson-datatype-jsr310-2.15.3.jar;C:\Users\testuser\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.15.3\jackson-module-parameter-names-2.15.3.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\3.2.2\spring-boot-starter-tomcat-3.2.2.jar;C:\Users\testuser\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\10.1.18\tomcat-embed-core-10.1.18.jar;C:\Users\testuser\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\10.1.18\tomcat-embed-el-10.1.18.jar;C:\Users\testuser\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\10.1.18\tomcat-embed-websocket-10.1.18.jar;C:\Users\testuser\.m2\repository\org\springframework\spring-web\6.1.3\spring-web-6.1.3.jar;C:\Users\testuser\.m2\repository\org\springframework\spring-beans\6.1.3\spring-beans-6.1.3.jar;C:\Users\testuser\.m2\repository\org\springframework\spring-webmvc\6.1.3\spring-webmvc-6.1.3.jar;C:\Users\testuser\.m2\repository\org\springframework\spring-aop\6.1.3\spring-aop-6.1.3.jar;C:\Users\testuser\.m2\repository\org\springframework\spring-expression\6.1.3\spring-expression-6.1.3.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\3.2.2\spring-boot-starter-actuator-3.2.2.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\3.2.2\spring-boot-actuator-autoconfigure-3.2.2.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-actuator\3.2.2\spring-boot-actuator-3.2.2.jar;C:\Users\testuser\.m2\repository\io\micrometer\micrometer-observation\1.12.2\micrometer-observation-1.12.2.jar;C:\Users\testuser\.m2\repository\io\micrometer\micrometer-commons\1.12.2\micrometer-commons-1.12.2.jar;C:\Users\testuser\.m2\repository\io\micrometer\micrometer-jakarta9\1.12.2\micrometer-jakarta9-1.12.2.jar;C:\Users\testuser\.m2\repository\io\micrometer\micrometer-core\1.12.2\micrometer-core-1.12.2.jar;C:\Users\testuser\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;C:\Users\testuser\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\testuser\.m2\repository\org\springframework\boot\spring-boot-devtools\3.2.2\spring-boot-devtools-3.2.2.jar;C:\projects\DBNA\updated waala\phase4-phase4-parent-pom-2.7.4\phase4-lib\target\classes;C:\Users\testuser\.m2\repository\org\bouncycastle\bcmail-jdk18on\1.77\bcmail-jdk18on-1.77.jar;C:\Users\testuser\.m2\repository\org\bouncycastle\bcprov-jdk18on\1.77\bcprov-jdk18on-1.77.jar;C:\Users\testuser\.m2\repository\org\bouncycastle\bcutil-jdk18on\1.77\bcutil-jdk18on-1.77.jar;C:\Users\testuser\.m2\repository\org\bouncycastle\bcpkix-jdk18on\1.77\bcpkix-jdk18on-1.77.jar;C:\Users\testuser\.m2\repository\org\apache\wss4j\wss4j-ws-security-dom\3.0.2\wss4j-ws-security-dom-3.0.2.jar;C:\Users\testuser\.m2\repository\org\apache\wss4j\wss4j-ws-security-common\3.0.2\wss4j-ws-security-common-3.0.2.jar;C:\Users\testuser\.m2\repository\jakarta\mail\jakarta.mail-api\2.1.2\jakarta.mail-api-2.1.2.jar;C:\Users\testuser\.m2\repository\org\apache\santuario\xmlsec\3.0.3\xmlsec-3.0.3.jar;C:\Users\testuser\.m2\repository\commons-codec\commons-codec\1.16.0\commons-codec-1.16.0.jar;C:\Users\testuser\.m2\repository\org\cryptacular\cryptacular\1.2.6\cryptacular-1.2.6.jar;C:\Users\testuser\.m2\repository\org\jasypt\jasypt\1.9.3\jasypt-1.9.3.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-commons\11.1.3\ph-commons-11.1.3.jar;C:\Users\testuser\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-xml\11.1.3\ph-xml-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-jaxb\11.1.3\ph-jaxb-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-jaxb-adapter\11.1.3\ph-jaxb-adapter-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-datetime\11.1.3\ph-datetime-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-bc\11.1.3\ph-bc-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-scopes\11.1.3\ph-scopes-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-json\11.1.3\ph-json-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\web\ph-mail\10.1.7\ph-mail-10.1.7.jar;C:\Users\testuser\.m2\repository\org\eclipse\angus\angus-mail\2.0.2\angus-mail-2.0.2.jar;C:\Users\testuser\.m2\repository\com\helger\web\ph-http\10.1.7\ph-http-10.1.7.jar;C:\Users\testuser\.m2\repository\com\helger\web\ph-network\10.1.7\ph-network-10.1.7.jar;C:\Users\testuser\.m2\repository\com\helger\xsd\ph-xsds-xmldsig\3.0.0\ph-xsds-xmldsig-3.0.0.jar;C:\Users\testuser\.m2\repository\com\helger\xsd\ph-xsds-xlink\3.0.0\ph-xsds-xlink-3.0.0.jar;C:\Users\testuser\.m2\repository\com\helger\xsd\ph-xsds-xml\3.0.0\ph-xsds-xml-3.0.0.jar;C:\Users\testuser\.m2\repository\com\helger\masterdata\ph-tenancy\7.0.1\ph-tenancy-7.0.1.jar;C:\Users\testuser\.m2\repository\com\helger\masterdata\ph-masterdata\7.0.1\ph-masterdata-7.0.1.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-config\11.1.3\ph-config-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\schedule\ph-schedule\5.0.0\ph-schedule-5.0.0.jar;C:\Users\testuser\.m2\repository\com\helger\schedule\ph-mini-quartz\5.0.0\ph-mini-quartz-5.0.0.jar;C:\Users\testuser\.m2\repository\com\helger\web\ph-web\10.1.7\ph-web-10.1.7.jar;C:\Users\testuser\.m2\repository\com\helger\web\ph-servlet\10.1.7\ph-servlet-10.1.7.jar;C:\Users\testuser\.m2\repository\com\helger\web\ph-useragent\10.1.7\ph-useragent-10.1.7.jar;C:\Users\testuser\.m2\repository\org\eclipse\angus\angus-activation\2.0.1\angus-activation-2.0.1.jar;C:\Users\testuser\.m2\repository\com\helger\web\ph-xservlet\10.1.7\ph-xservlet-10.1.7.jar;C:\Users\testuser\.m2\repository\com\helger\photon\ph-oton-io\9.2.1\ph-oton-io-9.2.1.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-collection\11.1.3\ph-collection-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\commons\ph-dao\11.1.3\ph-dao-11.1.3.jar;C:\Users\testuser\.m2\repository\com\helger\photon\ph-oton-audit\9.2.1\ph-oton-audit-9.2.1.jar;C:\Users\testuser\.m2\repository\com\helger\photon\ph-oton-security\9.2.1\ph-oton-security-9.2.1.jar;C:\Users\testuser\.m2\repository\org\slf4j\jul-to-slf4j\2.0.9\jul-to-slf4j-2.0.9.jar;C:\projects\DBNA\updated waala\phase4-phase4-parent-pom-2.7.4\phase4-profile-peppol\target\classes;C:\Users\testuser\.m2\repository\com\helger\peppol\peppol-commons\9.3.0\peppol-commons-9.3.0.jar;C:\Users\testuser\.m2\repository\com\helger\peppol\peppol-reporting-api\2.2.2\peppol-reporting-api-2.2.2.jar;C:\projects\DBNA\updated waala\phase4-phase4-parent-pom-2.7.4\phase4-profile-dbnalliance\target\classes;C:\projects\DBNA\updated...
In the AS4 Error messages and in the non-AS4 responses