Skip to main content

Transformation configuration via Spring

To add the transformation feature to the endpoint, the transformation feature could be used:

Spring configuration

<bean id="xsltFeature" class="org.talend.esb.policy.transformation.feature.TransformationFeature">
    <property name="path" value="etc/requestTransformation.xsl"/>
    <property name="appliesTo" value="provider"/>
    <property name="message" value="request"/>
    <property name="type" value="xslt"/>
</bean>
<jaxws:client id="libraryHttp" serviceName="library:LibraryProvider"
      endpointName="library:LibraryHttpPort"
      address="http://localhost:8080/tesb-library-tutorial/services/LibraryHttpPort"
      serviceClass="org.talend.services.demos.library._1_0.Library">
    <jaxws:features>
        <ref bean="xsltFeature"/>
    </jaxws:features>
</jaxws:client>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!