Class Cxf3791WorkaroundInterceptor

  • All Implemented Interfaces:
    org.apache.cxf.binding.soap.interceptor.SoapInterceptor, org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>

    public class Cxf3791WorkaroundInterceptor
    extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
    According to ITI TF CP-510, SOAP Action should be ignored. CXF contains a direct contradiction to this requirement — see CXF-3791.

    This interceptor simply deletes the SOAP action from HTTP Content-Type header and is intended for incoming chains on both client and server sides.

    Author:
    Dmytro Rud
    See Also:
    SoapActionInInterceptor, SOAP 1.2 specification
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleMessage​(org.apache.cxf.binding.soap.SoapMessage message)  
      • Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor

        getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTrace
      • Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor

        addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
      • Methods inherited from interface org.apache.cxf.interceptor.Interceptor

        handleFault
    • Constructor Detail

      • Cxf3791WorkaroundInterceptor

        public Cxf3791WorkaroundInterceptor()
    • Method Detail

      • handleMessage

        public void handleMessage​(org.apache.cxf.binding.soap.SoapMessage message)
                           throws org.apache.cxf.interceptor.Fault
        Throws:
        org.apache.cxf.interceptor.Fault