Skip to main content

Policy

To enable the Transformation via the Service Registry, upload the following Transformation policy to the Service Registry and attach it to a service:

<wsp:Policy Name="wspolicy_xslt" xmlns:wsp="http://www.w3.org/ns/ws-policy">
    <wsp:ExactlyOne>
        <wsp:All>
            <tpa:Transformation xmlns:tpa="http://types.talend.com/policy/assertion/1.0"
                path="etc/responseTransformation.xsl"
                appliesTo="provider"
                message="response"
                type="xslt"/>
        </wsp:All>
    </wsp:ExactlyOne>
</wsp:Policy>
  • The type parameter only supports the xslt value. The "xslt" activates the XSLT transformation using a xslt script. For more information about the XSLT feature of Apache CXF, see http://cxf.apache.org/docs/xslt-feature.html.

  • The appliesTo parameter supports following values: consumer/provider/always/none.

  • The message parameter currently supports following values: request/response/all/none.

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!