Hello!
Is it possible to catch exceptions thrown by web service task?
My Web service defined in web service task may throw exceptions. And I want to catch them in the process and change the flow of process respectively.
From the userguide and forum I found out several ways to catch java exceptions thrown by java service task. But they are not suitable for web service task.
I tried to throw BpmnError from my web service and catch it in my process but execution of the process stopped by reason of my WS exception.
The only solution I see is to return from WS a spesial type containing WS result (if exists), error code and error messge (in case of exception). And then precess these results in script task.
Is there any other solution?