Skip to content

WS-Addressing headers missing from synchronous SOAP responses [SWS-870] #944

@gregturn

Description

@gregturn

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:

Referenced from: commits 06d7356

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions