Using the DataPower WTX Transformation Component (Pipeline)
Learn how to modify a web service message using a WTX (WebSphere Transformation Extender).DataPower Policies Managing Policies
Table of Contents
The "WTX Transformation Component" is a DataPower "Pipeline" policy component that allows you to modify a web service message using a WTX (WebSphere Transformation Extender) .dpa file (for Binary messages).
This filter type performs an XML to binary or binary to XML transformation on the message that is passing through the policy. It also supports IBM WebSphere MQ based services in the Policy Manager "Management Console." Support for IBM WebSphere MQ based services requires that the SOA Software Policy Manager WebSphere MQ Support feature be installed.
Let's take a quick walkthrough of the WTX Transformation Policy Component configuration process to get your started.
The process of configuring the "WTX Transformation Policy Component" involves adding a "Description" that summarizes the purpose of the transformation, and uploading a .dpa file.
Step 1: Add Policy / Use System Policy
You can create a Pipeline Policy instance using Add Policy in the Policies > Operational Policies section.
Step 2: Modify Policy
When you Modify the Pipeline Policy, and use Add Component to add the WTX Transformation Component, the Modify Pipeline Policy will look similar to the following:
The "WTX Transformation Component" can be used in the Request Configuration and Response Configuration only and you can position the component anywhere in the request or response.
Step 3: Configure
To configure the WTX Policy Component, select the policy and click Modify Component. The Modify WTX Policy Component screen displays. Enter a description, upload a .dpa file, and commit your changes.
Step 4: Attach Policy
After you have saved your policy you can attach it to a web service or you can attach the policy at the Organization level and the policy will be active for all services defined within the organization.