Re: [Jolie-devel] How to handle Web service exceptions
A service-oriented programming language.
Brought to you by:
fmontesi
From: Fabrizio M. <fam...@gm...> - 2010-04-14 10:29:15
|
On Wednesday 14 April 2010 11:29:22 Leandro Sales wrote: > Hi, > > It is not clear in the jolie tutorials how to install a fault handler to a > exception thrown by a Web Service. > > To handle this kind of exception is also used the dynamic handler > installation (inst("fault_name"=>...))? > > if yes, how the "fault_name" is represented? > if no, how this kind of exception are handled? > > Thank you, > > Leandro Hi Leandro, yes, faults thrown by Web Services are handled as usual by install( faultName => Process ), where faultName is the name of the SOAP fault. The scopeName.faultName variable will contain the fault data as usual. Feel free to ask further questions should you have other problems. Bye, Fabrizio. |