Skip to end of metadata
Go to start of metadata
Icon

This tutorial demonstrates how to enable CXF, but the same pattern can be applied to support XFire.

Step 1: Disable the other modules

First edit your Enunciate configuration file. Disable the xfire module, the jaxws-ri module, and enable the cxf module:

Icon

As of Enunciate 1.16, the module is enabled by default, so enabling it in the configuration is redundant. And if you're using the maven-enunciate-cxf-plugin then you also don't have to disable any modules as they won't even be on the classpath.

enunciate.xml

Step 2: Add CXF (or XFire) to the Enunciate classpath.

Maven

For more information, see Invoking Enunciate.

With Enunciate version 1.16 or higher

As of Enunciate 1.16, there is a Maven plugin specifically for supporting CXF:

pom.xml

With Enunciate version 1.15 or lower

pom.xml

Ant

For more information, see Invoking Enunciate.

build.xml
  • No labels