on 09-21-2017 2:28 AM
Hi Experts,
I have a requirement to pass a value from request to response
I have successfully achieved this using below blogs
Actual Requirement : Client is asking to send the value back in response even in the case of message mapping error, lets says if a condition fails due to bad/wrong value that value should be passed on to response and send it back to client
When message mapping error occurs, message processing stops and does NOT go further till RFC receiver channel to execute put and get payload beans modules
How do i achieve this
Is there anyway where i can check value and if it is wrong pass it immediately to response with out sending it further to receiver channel
Hi Gaurav!
In case of sync-async bridge is used you can try approach when you check required field's value in Receiver determination and if it's wrong - send message to separate receiver with its own message mapping to build fault data response. And you use communication channel for that receiver in which you add NotifyResponseBean module and remove default module. Thus you close synchronous request with fault response.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav!
What is your scenario type? Is it synchronous or do you use async-sync bridge?
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.