I am getting a username and pwd in XML request payload. I need to assign a values for 'username' and 'pwd' values in Apigee.
we can do this in multiple ways,
1) Using extract variable
2) using soap template.
But I need to use KVM, can we do that ??
Solved! Go to Solution.
HI , I agree above comments helped me to think on such a way to get solution. As Dino said I did not use flow callouts or Java callout.
1) I used a extract variable policy to extract variables from my XML payload.
2) The moment I extracted , All the flow variables will be available. I used assin message policy to retrieve KVM's and constructed a xml request payload to the backend by using XML template (https://community.apigee.com/questions/34012/replacing-xml-node-values-with-custom-values.html).
This worked for me.