Interface Soap12Fault
- All Superinterfaces:
SoapElement, SoapFault
Subinterface of
SoapFault that exposes SOAP 1.2 functionality. Necessary
because SOAP 1.1 differs from SOAP 1.2 with respect to SOAP Faults.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFaultSubcode(QName subcode) Adds a fault subcode this fault.@Nullable StringReturns the fault node.@Nullable StringgetFaultReasonText(Locale locale) Returns the reason associated with the given language.Returns an iteration over the fault subcodes.voidsetFaultNode(String uri) Sets the fault node.voidsetFaultReasonText(Locale locale, String text) Sets the specified fault reason text.Methods inherited from interface SoapElement
addAttribute, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getName, getSource, removeAttributeMethods inherited from interface SoapFault
addFaultDetail, getFaultActorOrRole, getFaultCode, getFaultDetail, getFaultStringOrReason, setFaultActorOrRole
-
Method Details
-
getFaultSubcodes
-
addFaultSubcode
Adds a fault subcode this fault.- Parameters:
subcode- the qualified name of the subcode
-
getFaultNode
@Nullable String getFaultNode()Returns the fault node. Optional. -
setFaultNode
Sets the fault node. -
setFaultReasonText
-
getFaultReasonText
-