I have the below use case.
- Request is received by the ws-inbound gateway of service1.
- Service1 Passes the request to another ws-outbound gateway service2
- Service2 ws inbound gateway has an interceptor configured, which adds a custom soap header to the response
- the response from service 2 is passed to the output channel of service 1 (Final response).
I am able to see that soap header is added by printing the soap envelope in interceptor (service2), but it is not present in the final response. Any pointers to solve this issue will be helpful