Used to calculate a digest of the payload or parts of it and store the result in a message header.
We can transform part of the message, enter an XPath expression to specify the part (optional attribute). Can also define a prefix namespace mapping.
Hash
Target
Header Name:
Enter the name of the target header element which is to contain the hash value (digest).
This is a mandatory attribute
When tested first (without changing anything in the payload), the below MD5 hash was generated :
AVWgPTQU1b/X/YC/4ANlwA==
On the second test run, we added a new customer review in the OData WebShop API ( so we get a different response compare to earlier to view the disparity in MD5 Values)
As the response (input to MD5) has been changed, the resulted MD5 hash value should also be changed.
New MD5 Hash value :
rFH0pP+laZpYaZ7D13mniQ==
See the below Header (Name as per given in the configuration)
No comments:
Post a Comment