This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hi I’m badly stuck with one issue right now, if you can please shed some
light. Initially I worked with AssignMessage policy using following
settings :
target.copy.queryparams true
target.copy.pathsuffix
false
targetpath /v5/addresses/find
...
As suggested above, I tried using following
setting:
false true
false
400
{targetpath} but it
didn't worked because when I got 400 HTTP code from the provider, my
outbound response to my consumer was still 400 and it didn't got
converted to ...
Thank you so much for helping me out, yes that was one of the major
issue which was causing the outbound URL to get build up
incorrectly.Thanks once again Dino !!
Attaching the code itself here.address-v1-rev2-2019-01-31.zipmy main
objective is to set the correct targetURL using javascript code and for
host information I need to read it from LoadBalancer like this :
{targetpath}
I'm calling the javascript code from TargetEndpointPoint Preflow
:
JS-SetHeaders.js
and my javascript code is like this
:context.setVariable("targert.copy.pathsuffix", false);
context.setVariable("targert.copy.queryparams", false); var uripat...