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

Rich Scheuerle resolved AXIS2-1743.
-----------------------------------

    Resolution: Fixed

Mike,

Thanks for the contribution.
I committed the code.  The SVN Revision = 476410

> 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
>         Assigned To: Rich Scheuerle
>         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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to