Skip to content
Ryan Heaton edited this page Sep 17, 2015 · 1 revision

CXF Module

The CXF module assembles a CXF-based server-side application for hosting the Web service API.

Configuration

The CXF module is configured by the cxf element under the modules element of the enunciate configuration file. The cxf element supports the following attributes:

attribute description
validate The "validate" attribute (boolean) can be used to turn off CXF validation errors. Default: true
enableJaxws 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
enableJaxrs 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
useSubcontext The "useSubcontext" attribute is used to enable/disable mounting the JAX-RS resources at the rest subcontext. Default: "true".
useWsdlRedirectFilter The "useWsdlRedirectFilter" attribute is used to disable the use of the Enunciate-provided wsdl redirect filter that handles the requests to ?wsdl
jaxwsServletTransform 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.
jaxrsServletTransform 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.

Elements

jaxws-property

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.

Clone this wiki locally