You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Michael Paolo Cariaso <pa...@gmail.com> on 2009/07/23 12:12:03 UTC

How to catch Unavailable Endpoint Service Exception

Hi all,

If a request was sent to an endpoint service, and the service is NOT
available, it does not return an exception even if i placed a try/catch
block on the method invoked. is there a way to extract the exception? Or,
there is no exception at all.

Thanks,

Paolo

Re: How to catch Unavailable Endpoint Service Exception

Posted by Daniel Kulp <dk...@apache.org>.
On Thu July 23 2009 6:12:03 am Michael Paolo Cariaso wrote:
> Hi all,
>
> If a request was sent to an endpoint service, and the service is NOT
> available, it does not return an exception even if i placed a try/catch
> block on the method invoked. is there a way to extract the exception? Or,
> there is no exception at all.

It defintely should be throwing an exception and our test cases that test this 
definitely do.    Not sure what would be going on.   Maybe the server isn't 
actually sending a response back and is justs "hanging" the connection.   
Would probably need a test case.

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog