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,
- Posts: 2
- Joined: Mon Oct 28, 2013 8:47 am
At this time we only provide a canned response when no error is produced. So currently there isn't a way to accomplish what you are needing.
An email will be dispatched to you shortly with additional details on the API.
Thanks - Jon
- Support Specialist
- Posts: 62
- Joined: Thu Jul 19, 2012 9:15 am
- Location: Ashland, NE
Who is online
Users browsing this forum: Google [Bot] and 3 guests