-
Notifications
You must be signed in to change notification settings - Fork 317
Description
Ivan Brencsics opened SWS-870 and commented
WS-Addressing headers are missing from synchonous SOAP responses:
env:Header/
By debugging Spring-WS, we found that the AddressingEndpointInterceptor inserts the header values correctly in the SOAPMessage, and even the SOAPMessage parameter of the Saaj13Implementation.writeTo() contains the right WS headers. But when message.writeTo(outputStream) is called, the headers are not serialized.
If in the beginning of the method Saaj13Implementation.writeTo() we call message.saveChanges() without checking message.saveRequired(), the WS-A headers are serialized correctly. We assume that the flag that controls if save is needed might not be correctly set by a previous method.
Affects: 2.1.4
Issue Links:
- Security Headers missing with XwsSecurityInterceptor and Spring Integration [SWS-871] #945 Security Headers missing with XwsSecurityInterceptor and Spring Integration
("is duplicated by")
Referenced from: commits 06d7356