Need help on try/ catch

Hi Gurus,

I am new to webmethods ,I heard about we can use branch , exit etc to creat a try/catch block , but I don’t know the details , can anyone kindly give an example ?

Thanks,

Jason

Please refer to <webMethods_installation>/Developer/doc/DeveloperUsersGuide.pdf.

WmSamples package may also be useful.

Regards,
Djibril.

You can use the sequence below for try/catch block:

SEQUENCE (Exit on Success)
—SEQUENCE (Exit on Failure)
------Processing code here
—SEQUENCE (Exit on Done)
------Code to handle errors here (ie. getLastError)

Thanks guys

See this thread for some good discussion in this area.