diff --git a/core-tiger/src/main/java/org/springframework/ws/soap/server/endpoint/annotation/SoapFault.java b/core-tiger/src/main/java/org/springframework/ws/soap/server/endpoint/annotation/SoapFault.java index 3c29f250..ca0d5b69 100644 --- a/core-tiger/src/main/java/org/springframework/ws/soap/server/endpoint/annotation/SoapFault.java +++ b/core-tiger/src/main/java/org/springframework/ws/soap/server/endpoint/annotation/SoapFault.java @@ -22,6 +22,7 @@ import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import javax.xml.namespace.QName; /** * Marks an exception class with the fault elements that should be returned whenever this exception is thrown. @@ -41,6 +42,9 @@ public @interface SoapFault { /** * The custom fault code, to be used if {@link #faultCode()} is set to {@link FaultCode#CUSTOM}. *

+ * The format used is that of {@link QName#toString()}, i.e. "{" + Namespace URI + "}" + local part, where the + * namespace is optional. + *

* Note that custom Fault Codes are only supported on SOAP 1.1. */ String customFaultCode() default "";