Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support wsdlvalidator in Quarkus code generation phase #774

Open
ppalaga opened this issue Mar 20, 2023 · 0 comments
Open

Support wsdlvalidator in Quarkus code generation phase #774

ppalaga opened this issue Mar 20, 2023 · 0 comments

Comments

@ppalaga
Copy link
Contributor

ppalaga commented Mar 20, 2023

Given that we already support wsdl2java via Wsdl2JavaCodeGen I think it would be quite easy to support wsdlvalidator in the same way. One would have to check the org.apache.cxf.maven_plugin.WSDLValidatorMojo class in CXF source tree and port the necessary code to a new class implementing io.quarkus.deployment.CodeGenProvider.

wsdlvalidator should probably have configuration separate from wsdl2java, perhaps quarkus.cxf.codegen.wsdlvalidator...

Update 2023-09-20:
Since Quarkus CXF 2.4.0, it is very easy to configure to configure wsdl2java to enforce validation through application.properties, e.g.:

quarkus.cxf.codegen.wsdl2java.includes = wsdl/foo.wsdl
quarkus.cxf.codegen.wsdl2java.validate = true

I guess this is what most of the users will look for. Anyway, feel free to 👍 or comment if you need a standalone wsdlvalidator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant