What you need to do is declare a private member variable at the top of the integration script. Then in the script under the try-catch you write to that variable:
try {
catchStepTry();
}
catch (AdapterException catchStepEx) {
someStringVariable = catchStepEx.toString();
catchStepCatch();
}
then use a custom step to return someStringVariable. You can only catch AdapterException exceptions within the try-catch. So if you have a custom step within the try-catch and it throws a null pointer exception, it will not be caught.
#Adapters-and-E-Standards#Integration-Server-and-ESB#webMethods