Spring Web Services Framework

org.springframework.ws.soap.soap12
Interface Soap12Fault

All Superinterfaces:
SoapElement, SoapFault

public interface Soap12Fault
extends 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
 void addFaultSubcode(QName subcode)
          Adds a fault subcode this fault.
 String getFaultNode()
          Returns the fault node.
 String getFaultReasonText(Locale locale)
          Returns the reason associated with the given language.
 Iterator<QName> getFaultSubcodes()
          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.SoapFault
addFaultDetail, getFaultActorOrRole, getFaultCode, getFaultDetail, getFaultStringOrReason, setFaultActorOrRole
 
Methods inherited from interface org.springframework.ws.soap.SoapElement
addAttribute, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getName, getSource, removeAttribute
 

Method Detail

getFaultSubcodes

Iterator<QName> 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

void addFaultSubcode(QName subcode)
Adds a fault subcode this fault.

Parameters:
subcode - the qualified name of the subcode

getFaultNode

String getFaultNode()
Returns the fault node. Optional.


setFaultNode

void setFaultNode(String uri)
Sets the fault node.


setFaultReasonText

void setFaultReasonText(Locale locale,
                        String text)
Sets the specified fault reason text.


getFaultReasonText

String getFaultReasonText(Locale locale)
Returns the reason associated with the given language.


Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.