on 10-19-2016 12:15 PM
Hi Everyone 🙂
I have a requirement wherein a value from the request message needs to be posted in a field in the response message. I have tried two solutions but unfortunately, they are not applicable in our system.
1. use getpayloadvalue bean - this is not applicable since this can be used for 7.31 and above versions only. We're working on 7.1.
2. Use dynamic configuration - this is not possible since I'm using Integrated configuration for my sync async bridge. The values are not saved and retrieved when ICos are used since the Integration Engine is bypassed.
Can this be achieved without the use of BPM?
Hi
You can use DynamicConfigurationBean to save the value from the request and retrieve in the response message as shown in below blog, this will work for ICO also there is no restriction.
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Unfortunately, I'm just getting a blank in my response message.
I'm pushing a value from a source field using the udf:
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); DynamicConfigurationKey keySource1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","Value"); if (conf != null) { conf.put(keySource1, var1); } return var1;
Then this UDF to get the value:
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); if (conf != null) { DynamicConfigurationKey keySource1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","Value"); return conf.get(keySource1); } else return "";
Then I have the following module parameters:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.