Friday, 1 August 2014

Calling a WTX map from inside Datapower box

The main intention of this post is to "Invoke a WTX map inside a Datapower box".
The purpose of this map is to convert XML  data into Fixed width data.

Step 1:- Create a Multi-Protocol Gateway with name "WTX_DP_TEST" as follows:-
           Request Type :- XML
           Response Type :- Non-XML


Step 2:- Configure the front-Side Protocol as HTTP
              Specify some unique port number and check GET Method based on ur requirement.

 Step 3:- Configure the policy with name "WTX_DP_Policy" & create a New rule for Request Side with Direction "Client To Server"
Drag the Transform Action[Transform Binary],Advanced[Fetch Action],Results action onto Rule.




 Step 4:- Configure the Transform action as shown below with providing .dpa location

Step 5:- Configure the Set Variable action as shown below with providing COntext avriables & setting Variable assignment as "1"

 Step 6:- This is the Error Rule



Step 7:- Testing the Service using SOAP - UI Tool

 



No comments: