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 "Mike Rheinheimer (JIRA)" <ji...@apache.org> on 2006/11/18 01:03:37 UTC

[jira] Updated: (AXIS2-1743) provider not handling exceptions (faults) and message is lost during fault return

     [ http://issues.apache.org/jira/browse/AXIS2-1743?page=all ]

Mike Rheinheimer updated AXIS2-1743:
------------------------------------

    Attachment: patch.txt

> provider not handling exceptions (faults) and message is lost during fault return
> ---------------------------------------------------------------------------------
>
>                 Key: AXIS2-1743
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1743
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Mike Rheinheimer
>         Attachments: patch.txt
>
>
> Two problems are fixed:
> 1.  providers were not handling exceptions at all, thus returning a 500 http code, with no payload.  This is fixed.
> 2.  the message in an endpoint exception was lost due to a bug.  This is also fixed.
> Questions remain:
> 1.  I hastily added a provider fault test -- it's stuck inside the StringProvider.java and StringProviderTests.java.  You'll see it.  Ideally it should have it's own test, so if it's not appropriate to put it there, please take it out and I'll add tests for provider faults later.
> 2.  The JAXWS 2.0 spec, on page 77, says WebServiceException is for "runtime exception that is thrown by methods in JAX-WS APIs when errors occur during local processing."  Does this mean we should NOT be throwing WebServiceException back to a client in any scenario?  I'm momentarily confused.
> Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org