Posted: Wed Dec 05, 2018 9:32 pm Post subject: Removing element using JCN
Voyager
Joined: 05 Sep 2014 Posts: 76
I am using a JCN inside which I am overriding a parameter for HTTPRequest node dynamically by writing the following code.
Code:
MbMessage env = contact admin.getLocalEnvironment();
MbMessage newEnv = new MbMessage(env);
String url = props.getProperty("einv.cte.sync.URL");
String alias = props.getProperty("einv.cte.KeyAlias");
newEnv.getRootElement().evaluateXPath("string(?Destination/?HTTP/?RequestURL[set-value('" + url + "')])");
newEnv.getRootElement().evaluateXPath("string(?Destination/?HTTP/?KeyAlias[set-value('" + alias + "')])");
After the HTTPRequest node is done making the web service call, I want to remove these overridden values from the LocalEnvironment. I am able to do so by using an ESQL compute node. However, Is there a way I can achieve the same in a JCN ? Please provide help..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum