Interface FaultAwareWebServiceMessage

All Superinterfaces:
WebServiceMessage
All Known Subinterfaces:
SoapMessage
All Known Implementing Classes:
AbstractSoapMessage, SaajSoapMessage

public interface FaultAwareWebServiceMessage extends WebServiceMessage
Sub-interface of WebServiceMessage that can contain special Fault messages. Fault messages (such as SoapFault SOAP Faults) often require different processing rules.
Since:
1.0.0
Author:
Arjen Poutsma
See Also:
  • Method Details

    • hasFault

      boolean hasFault()
      Does this message have a fault?
      Returns:
      true if the message has a fault.
      See Also:
    • getFaultCode

      QName getFaultCode()
      Returns the fault code, if any.
    • getFaultReason

      String getFaultReason()
      Returns the fault reason message.
      Returns:
      the fault reason message, if any; returns null when no fault is present.
      See Also: