Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7
-
None
-
Unknown
Description
This issue was reported in users@cxf
http://cxf.547215.n5.nabble.com/SOAPAction-tc5718944.html
When the soap action value does not match the ws-addressing's action or that action is not supported by the endpoint, an exception is raised and an appropriate SOAP fault message must be returned, which is specified in
http://www.w3.org/TR/2006/REC-ws-addr-soap-20060509/#soapfaults
Currently, there are two issues:
1. the soap fault code is correctly set but the soap action value is not correctly set to http://www.w3.org/2005/08/addressing/fault.
2. if the endpoint defines a fault type that has no message part, an NPE is thrown and this can lead to an empty response instead of a fault response.