Skip to content

Wss4jSecurityInterceptor loosing SOAPAction header [SWS-416] #565

@gregturn

Description

@gregturn

Martin Bosak opened SWS-416 and commented

When the Wss4jSecurityInterceptor replaces the AxiomMessage in the SoapMessage, if the original SoapMessage already had a SoapAction set, the value is lost.

I believe, in the Wss4jSecurityInterceptor.replaceMessage() method, the following workaround should be done:

// replace the Axiom message
String tempSoapAction = soapMessage.getSoapAction();

axiomMessage.setAxiomMessage(newMessage);

soapMessage.setSoapAction(tempSoapAction);


Affects: 1.5.3

Attachments:

Referenced from: commits 7d0cc9e

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions