Pauly,
One of my clients approached this by developing a java service that would “recover” one or more variables from the lastError/pipeline.
Basically, the java service accepts the lastError/pipeline document and one or more keys or variable names to restore. For each key, the java service gets the value from the lastError/pipeline document and inserts it back into the pipeline for the service.
The “recovered” variables will not appear in the pipeline editor in Developer, but will exist in the pipeline and can be used in subsequent statements.
Check PSUtilities to see if there is something helpful there.
HTH,
Mark
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services