Returned value on Java API call
Posted: Thu Nov 14, 2013 7:41 am
Hello,
When calling a project using the Java API (class ProjectExecutionService), is it possible to get a return message from Linoma also when no error is produced?
At the moment, in the Java code we test the return status of the service call, and if the call is in error we get the error message with "service.getMessage()", which corresponds to what was set in the message field of the "raiseError" task in GoAnywhere Directory.
But we would like to also have a return message when no error is produced: so is there a way to set a specific variable in our GoAnywhere project so that it populates the service.getMessage() on the java side? we checked the system variables documentation but didn't find any that would seem to match.
Another question: is there an API reference documentation (javadoc) for the Java API ?
Thanks in advance,
Lionel
When calling a project using the Java API (class ProjectExecutionService), is it possible to get a return message from Linoma also when no error is produced?
At the moment, in the Java code we test the return status of the service call, and if the call is in error we get the error message with "service.getMessage()", which corresponds to what was set in the message field of the "raiseError" task in GoAnywhere Directory.
But we would like to also have a return message when no error is produced: so is there a way to set a specific variable in our GoAnywhere project so that it populates the service.getMessage() on the java side? we checked the system variables documentation but didn't find any that would seem to match.
Another question: is there an API reference documentation (javadoc) for the Java API ?
Thanks in advance,
Lionel