Class SoapFaultDefinitionEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.ws.soap.server.endpoint.SoapFaultDefinitionEditor
- All Implemented Interfaces:
PropertyEditor
PropertyEditor for
where
SoapFaultDefinition objects. Takes strings of form
faultCode,faultString,localewhere
faultCode is the string representation of a QName,
faultStringOrReason is the optional fault string, and locale is the
optional string representations for the faultStringOrReasonlanguage. By
default, the language is set to English, and the fault string set to the exception
message.
Instead of supplying a custom fault code, you can use the constants SERVER or
RECEIVER indicate a Server/Receiver fault, or CLIENT or
SENDER toClient/Sender fault respectively.
For example:
RECEIVER,Server errorCLIENT,Client error{http://springframework.org/spring-ws}spring-ws:FatalError},A fatal error has occurred
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
SoapFaultDefinitionEditor
public SoapFaultDefinitionEditor()
-
-
Method Details
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-