10-10-2016 2:52 PM - edited 01-21-2024 9:53 PM
Hello all,
I am trying to pass values from the request to the response message mapping within a synchronous scenario. For this, I am storing values into the dynamic configuration header using a custom namespace.
This has worked for other scenarios before, but it doesn't seem to work for a SOAP to REST scenario where I can see the fields in the request message header but in the response none of these fields is available.
Also if I try to use the REST namespace instead of my custom namespace, the fields are not available in the response.
Has anybody had the same issue or a work around for this?
Peter ,
I guess the rest adapter overrides the header fileds try using DynamicConfigurationBean as well.
OR
Using Get/Put Payload Bean:
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
DynamicConfigurationBean creating new Hashtable for first time and keep the values in the Hashtable, If the Hashtable already exist in the module context then it retrieve using mp.context parameter like below and using in the module that is why you will have two times DyanmicConfigurationBean module, one will save the value in Hashtable and other one to retrieve the value from the Hashtable which is in module context. This will work for all the adapters.
But REST adapter is creating the new module data again so already saved values were lost after the RestAdapterBean module execution that is why it is not working for REST adapter.
Regards,
Praveen.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Praveen, Evgeniy,
This root cause for this issue is fixed with SAP Note 2212660 - Async/Sync Bridge with REST receiver channel is failing.
When you apply it you will be able to use DynamicConfigurationBean.
Best regards,
Dimitar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.