CXF Module
The CXF module assembles a CXF-based server-side application for hosting the SOAP endpoints.
Note that the CXF module is disabled by default, so you must enable it in the enunciate configuration file, e.g.:
<enunciate>
<modules>
<jaxws-ri disabled="true"/>
<cxf disabled="false">
...
</cxf>
</modules>
</enunciate>
You should also be aware that the CXF module is not, by default, on the classpath when invoking Enunciate. For more information,
see using CXF or XFire.
Steps
generate
The "generate" step generates the spring configuration file.
Configuration
The CXF module supports the following configuration attributes:
- The "validate" attribute (boolean) can be used to turn off CXF validation errors. Default: true
- The "enableJaxws" attribute (boolean) can be used to disable the JAX-WS support, leaving the JAX-WS support to another module if necessary. Default: true
- The "enableJaxrs" attribute (boolean) can be used to disable the JAX-RS support, leaving the JAX-RS support to another module if necessary. Default: true
- The "useSubcontext" attribute is used to enable/disable mounting the JAX-RS resources at the rest subcontext. Default: "true".
- The "useWsdlRedirectFilter" attribute is used to disable the use of the Enunciate-provided wsdl redirect filter that
handles the requests to ?wsdl
- The "jaxwsServletTransform" attribute is used to specify an XSLT transform file that will be used for additional customization of the Enunciate-generated cxf-jaxws-servlet.xml file. Default: none.
- The "jaxrsServletTransform" attribute is used to specify an XSLT transform file that will be used for additional customization of the Enunciate-generated cxf-jaxrs-servlet.xml file. Default: none.
The CXF module also supports a list of jaxws-property child elements that each support a 'name' and 'value' attribute. This can be used to configure the CXF
JAX-WS mechanism, and the properties will be passed along to the cxf configuration.
Artifacts
The CXF deployment module exports no artifacts.
