El 29/07/2009 9:11, kodeninja escribió:
Howdy,

I want to understand the usage of the "catch" construct in BPEL 2.0. Are
there any good tutorials that explain its typical usage?

Consider the catch block below:

<catch faultName="HorribleFault" faultType="ns1:HorribleFault"
faultVariable="HorribleFaultVar">
</catch>

Here, does HorribleFaultVar need to be of type ns1:HorribleFault? Also, what
are the generic properties of HorribleFaultVar that will be available? Like,
how do I access the actual error message, error code if any, from this
variable?

Thanks,
-Kodeninja

Check this out: http://docs.oasis-open.org/wsbpel/2.0/wsbpel-v2.0.html, and look out for the Initial Example (5.1). OASIS in WS stuff is "your W3C". And luckily, ODE actually follows these standards pretty well.
--
Nelson Álvarez Salcedo
/"Verba volant, scripta manent"/

Reply via email to