documentation home

Apache-CXF XML configuration

Since version 2.0, Miredot understands Apache-CXF XML configuration files describing your endpoints. Both OSGi and Spring style configurations are supported and are automatically detected. You just have to provide the location of the cxf xml configuration files.

Maven
<configuration>
    <restModel>
        <restFramework>
            <cxfServiceConfig>
                <cxfServiceConfig>/path/to/first/config/file</cxfServiceConfig>
                <cxfServiceConfig>/path/to/second/config/file</cxfServiceConfig>
            </cxfServiceConfig>
        </restFramework>
    </restModel>
</configuration>
Gradle
miredot {
    restModel {
        restFramework {
            cxfServiceConfig = [
                "/path/to/first/config/file",
                "/path/to/second/config/file"
            ]
        }
    }
}