Spring Web Services Framework

org.springframework.ws.soap.soap12
Interface Soap12Body

All Superinterfaces:
SoapBody, SoapElement

public interface Soap12Body
extends SoapBody

Subinterface of SoapBody 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
 Soap12Fault addDataEncodingUnknownFault(QName[] subcodes, String reason, Locale locale)
          Adds a DataEncodingUnknown fault to the body.
 
Methods inherited from interface org.springframework.ws.soap.SoapBody
addClientOrSenderFault, addMustUnderstandFault, addServerOrReceiverFault, addVersionMismatchFault, getFault, getPayloadResult, getPayloadSource, hasFault
 
Methods inherited from interface org.springframework.ws.soap.SoapElement
addAttribute, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getName, getSource, removeAttribute
 

Method Detail

addDataEncodingUnknownFault

Soap12Fault addDataEncodingUnknownFault(QName[] subcodes,
                                        String reason,
                                        Locale locale)
Adds a DataEncodingUnknown fault to the body.

Adding a fault removes the current content of the body.

Parameters:
subcodes - the optional fully qualified fault subcodes
reason - the fault reason
locale - the language of the fault reason
Returns:
the created SoapFault

Spring Web Services Framework

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