0 Replies Latest reply on Feb 6, 2011 3:12 AM by David Carreras

    @WebServiceClient : How to handle connect exception ?

    David Carreras Newbie

      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 ...) ?

       

      Regards.