Configuring Deployment Descriptors for Talend ESB (OSGi) - 8.0

Talend ESB Development Guide

Version
8.0
Language
English (United States)
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development

OSGi configuration of the web service provider can be done using the OSGi Blueprint Specification by placing this service.xml file in src/main/resources/OSGI-INF/blueprint of the service submodule. This file is ignored in the case of Tomcat deployment.

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
    xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws" 
    xmlns:cxf="http://cxf.apache.org/blueprint/core"
    xsi:schemaLocation="
        http://www.osgi.org/xmlns/blueprint/v1.0.0 
        http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
        http://cxf.apache.org/blueprint/jaxws 
        http://cxf.apache.org/schemas/blueprint/jaxws.xsd
        http://cxf.apache.org/blueprint/core 
        http://cxf.apache.org/schemas/blueprint/core.xsd
        ">

    <jaxws:endpoint id="doubleit" implementor="service.DoubleItPortTypeImpl"
        wsdlLocation="DoubleIt.wsdl" address="/doubleit">
    </jaxws:endpoint>

</blueprint>