Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-416

Wss4jSecurityInterceptor loosing SOAPAction header

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.5.5
    • Component/s: Security
    • Labels:
      None

      Description

      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);

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              bosakm Martin Bosak
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: