public interface FaultAwareWebServiceMessage extends WebServiceMessage
WebServiceMessage
that can contain special Fault messages. Fault messages (such as SoapFault
SOAP Faults) often require different processing rules.SoapMessage
Modifier and Type | Method and Description |
---|---|
QName |
getFaultCode()
Returns the fault code, if any.
|
String |
getFaultReason()
Returns the fault reason message.
|
boolean |
hasFault()
Does this message have a fault?
|
getPayloadResult, getPayloadSource, writeTo
boolean hasFault()
true
if the message has a fault.getFaultReason()
QName getFaultCode()
String getFaultReason()
null
when no fault is present.hasFault()
Copyright © 2020 Pivotal Software. All rights reserved.