org.springframework.ws.soap.soap11
Interface Soap11Body
- All Superinterfaces:
- SoapBody, SoapElement
public interface Soap11Body
- extends SoapBody
Subinterface of SoapBody
that exposes SOAP 1.1 functionality. Necessary because SOAP 1.1 differs from
SOAP 1.2 with respect to SOAP Faults.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
Soap11Fault
addFault
Soap11Fault addFault(QName faultCode,
String faultString,
Locale faultStringLocale)
throws SoapFaultException
- Adds a SOAP 1.1 Fault to the body with a localized message. Adding a fault removes the
current content of the body.
- Parameters:
faultCode
- the fully qualified fault faultCodefaultString
- the faultStringfaultStringLocale
- the faultString locale. May be null
- Returns:
- the added Soap11Fault
- Throws:
IllegalArgumentException
- if the fault faultCode is not fully qualified
SoapFaultException
Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.