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

XML Module

The XML deployment module generates the consolidated WSDLs, WADL and XML schemas for the API.

Configuration

The configuration for the XML deployment module is specified by the xml child element of the modules element of the enunciate configuration file. It supports the following attributes:

attribute description
prettyPrint The "prettyPrint" attribute specifies that the generated XML files should be pretty printed. Default is "true".
freemarkerProcessingTemplate The "freemarkerProcessingTemplate" attribute specifies the file that is the freemarker processing template to use to generate the IDLs. If none is supplied, a default one will be used.
freemarkerProcessingTemplateURL The "freemarkerProcessingTemplateURL" attribute specifies the URL to the freemarker processing template to use to generate the IDLs. If none is supplied, a default one will be used.

Elements

The xml element supports the following child elements:

schema

The xml element supports an arbitrary number of schema child elements that are used to configure the schema for a specified namespace. It supports the following attributes:

attribute description
namespace The "namespace" attribute specifies the namespace of the schema that is to be configured.
useFile The "useFile" attribute specifies the (already existing) file to use for this schema.
file The "file" attribute specifies name of the schema file. The default is the prefix appended with ".xsd".
location The "location" attribute specifies name of the schema location (i.e. how the schema is to be located by other schemas). The default is the name of the file.
jaxbBindingVersion The "jaxbBindingVersion" attribute specifies the JAXB binding version for this schema. (Advanced, usually not needed.)

The "schema" element also supports a nested subelement, appinfo whose contents will be inlined into the schema appinfo annotation.

wsdl

The xml element supports an arbitrary number of wsdl child elements that are used to configure the wsdl for a specified namespace. It supports the following attributes:

attribute description
namespace The "namespace" attribute specifies the namespace of the wsdl that is to be configured.
useFile The "useFile" attribute specifies the (already existing) file to use for this schema.
file The "file" attribute specifies name of the wsdl file. The default is the prefix appended with ".wsdl".

facets

Facet configuration for the module. See Facets.

Clone this wiki locally