SideNav > Documentation > Binding runtime configuration

Binding Runtime Configuration 

The binding runtime uses Apache CXF as the Web Services Engine. It uses a spring based configuration file to hook the yoko binding in to cxf. For details on CXF, please visit: http://cwiki.apache.org/CXF/

Spring Configuration file used:

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:foo="http://cxf.apache.org/configuration/foo"
       xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
    
    <bean class="org.apache.yoko.bindings.corba.CorbaBindingFactory" lazy-init="true">
        <property name="bus" ref="cxf"/>
        <property name="activationNamespaces">
            <set>
                <value>http://schemas.apache.org/yoko/bindings/corba</value>
            </set>
        </property>
        <property name="transportIds">
            <list>
            <value>http://schemas.apache.org/yoko/bindings/corba</value>
            </list>
        </property>
        <property name="orbClass">
            <value>org.apache.yoko.orb.CORBA.ORB</value>
        </property>
        <property name="orbSingletonClass">
            <value>org.apache.yoko.orb.CORBA.ORBSingleton</value>
        </property>
        <property name="orbArgs">
            <list>
                <value/>
            </list>
        </property>
    </bean>
</beans>

The runtime uses this file and registers the CorbaBindingFactory in to cxf service engine & the binding factory gets activated when the namespace http://schemas.apache.org/yoko/bindings/corba is used.

Also, there are the ORB properties which could be used to use another ORB. By default, the runtime uses the Yoko ORB. It is highly advised to use the Yoko ORB, if you choose otherwise, you are on your own.

To pass in your custom config file, use the java system property -Dcxf.config.file=<custom_yoko_config>.xml