[jboss-user] [JBoss Web Services] - @WebServiceClient : How to handle connect exception ?

David CARRERAS do-not-reply at jboss.com
Sun Feb 6 03:12:27 EST 2011

David CARRERAS [http://community.jboss.org/people/Jojopotatoe] created the discussion

"@WebServiceClient : How to handle connect exception ?"

To view the discussion, visit: http://community.jboss.org/message/585726#585726

I am using the @WebServiceClient annotation generated by wsconsume.

Everything inocation on the remote WS are ok, but when the remote WS is down i don't know how to catch (handle) exception (mainly the connect exception). I see the exception in the Jboss console (and log file).

I'd like to catch exception in my service (which call the WebServiceClient) and prevent the whole stack trace exception in the log file.

I read the user guide and i saw a chapter about handlerchain is it the way to do exception handling ? Which handler type should i use (log, RoutingHandler ...) ?


Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110206/e3564da2/attachment.html 

More information about the jboss-user mailing list