Package org.springframework.ws
Interface FaultAwareWebServiceMessage
- All Superinterfaces:
WebServiceMessage
- All Known Subinterfaces:
SoapMessage
- All Known Implementing Classes:
AbstractSoapMessage
,AxiomSoapMessage
,SaajSoapMessage
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
- See Also:
-
Method Summary
Methods inherited from interface org.springframework.ws.WebServiceMessage
getPayloadResult, getPayloadSource, writeTo
-
Method Details
-
hasFault
boolean hasFault()Does this message have a fault?- Returns:
true
if the message has a fault.- See Also:
-
getFaultCode
@Nullable QName getFaultCode()Returns the fault code, if any. -
getFaultReason
@Nullable String getFaultReason()Returns the fault reason message.- Returns:
- the fault reason message, if any; returns
null
when no fault is present. - See Also:
-