how can we parse soap response message from service call out policy and check for the values within the response message.
suppose the USER ID might come in multiple times and in different xpath and i need to validate the USER ID present at all the places.how we can achieve that ?
Solved! Go to Solution.
There are a couple ways I can think of to do it.
Depending on whether you and your team are more comfortable writing and maintaining XPath or JS, you could choose one or the other.
If you give me a specific example of the response SOAP message, I can show you a specific solution.
There are a couple ways I can think of to do it.
Depending on whether you and your team are more comfortable writing and maintaining XPath or JS, you could choose one or the other.
If you give me a specific example of the response SOAP message, I can show you a specific solution.
Hi Dino,
Thanks for the response and concern.
Actually i needed to iterate the element in xml and compare with one particular value(stored in context variable). and i used the XSL transformation policy to achieve the same.
And very thankful to you, as your reply to the post https://community.apigee.com/questions/1860/how-should-the-the-optional-parameters-on-the-xsl.html helped me to use the context variables in XSL Transformation policy.
Right on, I'm glad to be able to help.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |