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

SOAPAction header with SOAP ver 1.2 messages


    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.1.4, 2.2.0.RELEASE, 2.3.0, 3.0.0.RC1, 2.4.0
    • Fix Version/s: 3.0.0.RELEASE
    • Component/s: Core
    • Labels:


      When sending SOAP version 1.2 messages using the SaajSoapMessageFactory if no SOAP action is specified (using SoapActionCallback) then the message will still be sent with a "SOAPAction" header. The response will also have a "SOAPAction" http header. The "SOAPAction" header was replaced with the "action" parameter of the application/soap+xml MIME type in SOAP version 1.2. If a SoapActionCallback is used then the SOAP action is added in the appropriate place and the "SOAPAction" http header is removed, but that SOAPAction header should never be present for SOAP 1.2 messages. It appears the header is being added in the SaajSoapMessage constructor (around line 118 in master at the time the issue was created).


        jaminh jaminh created issue -
        jaminh jaminh made changes -
        Field Original Value New Value
        Pull Request URL https://github.com/spring-projects/spring-ws/pull/102
        gregturn Greg Turnquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.0.0.RELEASE [ 16498 ]
        Assignee Greg Turnquist [ gregturn ]
        Resolution Complete [ 8 ]
        gregturn Greg Turnquist made changes -
        Affects Version/s 3.0.0.RC1 [ 15247 ]
        gregturn Greg Turnquist made changes -
        Status Resolved [ 5 ] Closed [ 6 ]


          • Assignee:
            gregturn Greg Turnquist
            jaminh jaminh
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: