Fixing accessExternalDTD-Error in pom.xml #1515
Replies: 2 comments 1 reply
-
Thanks for the report, @CLandsberg. Quarkus CXF calls The only way that could work is adding Anyway, a minimal reproducer would be nice, so that we are able to investigate what we could do at Quarkus CXF level. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the fast Answer. Example WSDLs can be found under https://github.com/gematik/api-telematik/releases/tag/hsk_2.0.0 |
Beta Was this translation helpful? Give feedback.
-
Hallo,
i want to use wsdl2java which include dtd's and xsds. When i build the project it fails with
'file' access is not allowed due to restriction set by the accessExternalDTD property
This can be easily fixed with adding a argument to the cli:
mvn clean compile -Djavax.xml.accessExternalDTD=file
The question is how to add this to the pom.xml?
It is not described in the Quarkus CXF User Guide.
I tried several ways like:
or the
quarkus.cxf.codegen.wsdl2java.additional-params
in the application.ymlBut it did not work.
Beta Was this translation helpful? Give feedback.
All reactions