JAXWS: Store the exception thrown from a web method implementation in a property so that it can be queried by an outbound jaxws handler ---------------------------------------------------------------------------------------------------------------------------------------
Key: AXIS2-4039 URL: https://issues.apache.org/jira/browse/AXIS2-4039 Project: Axis 2.0 (Axis2) Issue Type: Improvement Components: jaxws Reporter: Rich Scheuerle Assignee: Rich Scheuerle Scenario: A JAXWS webservice on the server throws an exception (checked or unchecked). The JAXWS engine converts the exception into a message containing a SOAP Fault. An outbound JAXWS application handler is installed. In the handleFault method, the customer wants to do some work related to the exception. For example, the customer may want to log exception information in a database. Problem: The conversion of the Exception -> SOAP Fault is lossy. Some of the information about the Exception is lost. For example, the stack trace of the exception is not captured (and should not be captured) in the SOAP Fault. Other java information is also lost. Solution: Store the Exception on a new property. The outbound JAXWS application handler can then access the exception directly to query java specific information. Next Step: I have coded the solution and verification tests. The changes are minimal and I will be committing the changes later today. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]