axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Rheinheimer (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1743) provider not handling exceptions (faults) and message is lost during fault return
Date Sat, 18 Nov 2006 00:03:37 GMT
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


Mime
View raw message