Reputation: 535
I have the below use case.
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
Upvotes: 2
Views: 383
Reputation: 121552
The <int-ws:outbound-gateway>
uses DefaultSoapHeaderMapper
by default.
And its logic to populate source.getSoapAction();
and source.getSoapHeader();
. But for that purpose you should configure mapped-reply-headers
for your desired headers on the <int-ws:outbound-gateway>
.
Upvotes: 1