Class Cxf3791WorkaroundInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.openehealth.ipf.commons.ihe.ws.cxf.Cxf3791WorkaroundInterceptor
All Implemented Interfaces:
org.apache.cxf.binding.soap.interceptor.SoapInterceptor, Interceptor<org.apache.cxf.binding.soap.SoapMessage>, 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:
  • Constructor Details

    • Cxf3791WorkaroundInterceptor

      public Cxf3791WorkaroundInterceptor()
  • Method Details

    • handleMessage

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