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:
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. |
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:
With Enunciate version 1.15 or lower
Ant
For more information, see Invoking Enunciate.
