I have a service callout storing its response in a variable <Response>calloutResponse</Response>.
How can I copy the entire response into the proxy response? I realise I can use an assign message to copy specific components from one message to another but I can not see a simple way to simply copy the entire message (including all headers) into the response.
Solved! Go to Solution.
One easy way to copy the entire response (including headers, payload etc) in one step is to use a javascript policy:
context.setVariable("response",context.getVariable("calloutResponse"))
Where "calloutResponse" can be the response returned as part of the service callout step.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |