XJC Plugins

Stable • Since 1.5.11

CXF XJC plugins for wsdl2java code generation.

Maven coordinates

Create a new project using quarkus-cxf-xjc-plugins on code.quarkus.io or add these coordinates to your existing project:

<dependency>
    <groupId>io.quarkiverse.cxf</groupId>
    <artifactId>quarkus-cxf-xjc-plugins</artifactId>
</dependency>

Check the User guide and especially its Dependency management section for more information about writing applications with Quarkus CXF.

Usage

Check the wsdl2java section of User guide for more details about wsdl2java and XJC.

Add this extension if you want to use any of the following XJC plugins in quarkus.cxf.codegen.wsdl2java.additional-params:

  • bg - generate getFoo() instead of isFoo() accessor methods for boolean fields.

  • dv - let the generated getter methods return the default value defined in the schema unless the field is set explicitly.

  • javadoc - generate JavaDoc based on xs:documentation present in the schema.

  • property-listener - add PropertyChangeListener support to the generated beans.

  • ts - generate toString() methods in model classes.

  • wsdlextension - generate beans that can be used directly with WSDL4J as extensors in the WSDL.