Class SoapFaultDefinitionEditor

java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.ws.soap.server.endpoint.SoapFaultDefinitionEditor
All Implemented Interfaces:
PropertyEditor

public class SoapFaultDefinitionEditor extends PropertyEditorSupport
PropertyEditor for SoapFaultDefinition objects. Takes strings of form
 faultCode,faultString,locale
 
where 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 error
 
or
 CLIENT,Client error
 
or
 {http://springframework.org/spring-ws}spring-ws:FatalError},A fatal error has occurred
 
Since:
1.0.0
Author:
Arjen Poutsma
See Also: