Class DecoupledFaultHandler
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.ws.addressing.soap.DecoupledFaultHandler
- 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 DecoupledFaultHandler
extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
Utility interceptor for dealing with faults occurred during processing
the one way requests with WSA FaultTo EPR pointing to a decoupled destination.
Note that this interceptor is not currently installed by default.
It can be installed using @InInterceptors and @OutInterceptors
annotations or explicitly added to the list of interceptors.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.cxf.transport.DestinationcreateDecoupledDestination(org.apache.cxf.message.Exchange exchange, org.apache.cxf.ws.addressing.EndpointReferenceType epr) voidhandleFault(org.apache.cxf.binding.soap.SoapMessage message) voidhandleMessage(org.apache.cxf.binding.soap.SoapMessage message) Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTraceMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
-
Field Details
-
WSA_ACTION
- See Also:
-
-
Constructor Details
-
DecoupledFaultHandler
public DecoupledFaultHandler()
-
-
Method Details
-
handleMessage
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage message) -
handleFault
public void handleFault(org.apache.cxf.binding.soap.SoapMessage message) - Specified by:
handleFaultin interfaceorg.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>- Overrides:
handleFaultin classorg.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
createDecoupledDestination
protected org.apache.cxf.transport.Destination createDecoupledDestination(org.apache.cxf.message.Exchange exchange, org.apache.cxf.ws.addressing.EndpointReferenceType epr)
-