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
- Author:
- Arjen Poutsma
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFaultSubcode
(QName subcode) Adds a fault subcode this fault.Returns the fault node.getFaultReasonText
(Locale locale) Returns the reason associated with the given language.Returns an iteration over the fault subcodes.void
setFaultNode
(String uri) Sets the fault node.void
setFaultReasonText
(Locale locale, String text) Sets the specified fault reason text.Methods inherited from interface org.springframework.ws.soap.SoapElement
addAttribute, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getName, getSource, removeAttribute
Methods inherited from interface org.springframework.ws.soap.SoapFault
addFaultDetail, getFaultActorOrRole, getFaultCode, getFaultDetail, getFaultStringOrReason, setFaultActorOrRole
-
Method Details
-
getFaultSubcodes
Returns an iteration over the fault subcodes. The subcodes are returned in order: from top to bottom.- Returns:
- an Iterator that contains
QNames
representing the fault subcodes
-
addFaultSubcode
Adds a fault subcode this fault.- Parameters:
subcode
- the qualified name of the subcode
-
getFaultNode
String getFaultNode()Returns the fault node. Optional. -
setFaultNode
Sets the fault node. -
setFaultReasonText
Sets the specified fault reason text. -
getFaultReasonText
Returns the reason associated with the given language.
-