JAXWS Provider does not respect FaultTo when a SOAPFault is returned
--------------------------------------------------------------------
Key: AXIS2-4474
URL: https://issues.apache.org/jira/browse/AXIS2-4474
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: jaxws
Reporter: Rich Scheuerle
Assignee: Rich Scheuerle
If a JAXWS web service implementation or Provider throws and exception, the
jaxws engine creates an appropriate SOAP Fault. The SOAP Fault is returned to
the caller or sent to the FaultTo address.
However a JAXWS mode=Message Provider may return an object representing a SOAP
Fault (i.e. no exception is thrown). In such cases, the JAX-WS is failing to
recognize the SOAP Fault and the the subsequent Faul is returned to the caller
(instead of being directed to a FaultTo address).
The error is in the ProviderDispatcher. A small code change is needed to
analyze the returned object and create a "Fault" message context if necessary.
I am testing this small change and will have it done later today.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.