This conversation is a bit muddled, but i think that gerarddoets is looking for something a bit odd.
gerarddoets, if you want it to always signal failure and exit, try this:
message = "Error:SyntaxCheck… ";
Values vv = new Values ();
vv.put (“message”, message);
vv.put (“function”, “LOGOP”);
vv.put (“level”, 4);
Service.doInvoke (“pub.flow”, “debugLog”, vv);
throw new ServiceException (message );
Good luck, i may not be understanding exactly what you are trying to do. Give it a try, if it does what you want, great! If not, let us know more details about what you are trying to accomplish.
Thanks!
-greg
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB