You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2008/09/19 18:12:44 UTC

[jira] Resolved: (AXIS2-4039) JAXWS: Store the exception thrown from a web method implementation in a property so that it can be queried by an outbound jaxws handler

     [ https://issues.apache.org/jira/browse/AXIS2-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-4039.
-----------------------------------

    Resolution: Fixed

> 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
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org