you have to do X-path and select the node for what exactly you wanna cache in context variable
for Request XSLT:-
<dp:set-variable name="'var://context/store/SOAPHeader'" value="X-path2Node"/>
In Response XSLT:-
- ShyamSiddoji 270003VYR6
Thanks for for replay.
Another thing i wanted to that i have 14 elements inside the header .so by giving the Xpath will it save the entire header tree structure ? if not then do i need to give the Xpath of individual element inside the header?.
Thanks in advance
- Selvraj 270006FBFJ
So to be specific, assuming your xsl:stylesheet has the xmlns:soap defined
<dp:set-variable name="'var://context/yourcontextname/SOAPHeader'" value="/soap:Envelope/soap:Header"/>
This will place the header element and all of its children into the context variable that you can use at other times in the processing when perhaps the INPUT message is not available.