I am invoking a service using FTP and need the service to return a response code or message if it fails, I have tried using the wmpublic built in service : pub.flow:setResponse which does not seem to work, does anyone have any suggestions?
Throw an exception.
Use sequence construct and built the services in it…
u can also also use log4j for logging utilities…