Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6732

Allow SOAPAction to be overwritten via RequestContext property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.18, 3.2.0
    • 3.1.5, 3.0.8, 3.2.0
    • None
    • None
    • Unknown

    Description

      SoapPreProtocolOutInterceptor sets SOAPAction into PROTOCOL_HEADERS only when it's not yet set here:
      https://fisheye6.atlassian.com/browse/cxf/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapPreProtocolOutInterceptor.java?hb=true#to121

      If user reuses the client like Dispatch instance, the PROTOCOL_HEADERS is carried over multiple invocations including SOAPAction specified for the first invocation, thus the "javax.xml.ws.soap.http.soapaction.uri" property is ignored afterward. IMO the "javax.xml.ws.soap.http.soapaction.uri" standard property should precede existing SOAPAction in PROTOCOL_HEADERS.

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            igarashitm Tomohisa Igarashi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: