Description
Background:
In SOAP 1.1, there are several pre-defined soap fault codes. Users may also set their own custom fault codes.
In SOAP 1.2, there are several mandatory soap fault codes. Users provide custom "sub" fault codes.
Problem:
The current JAXWS logic (XMLFault enum) does not respect the SOAP 1.1 custom fault codes.
Solution:
I am changing XMLFault to have a CUSTOM_SOAP11_ONLY value. In this state, the enum also contains the name of the custom qname. I am providing a unit test to verify.
Kudos:
Wendy Raschke and Lori Van Gulick found and diagnosed this problem.