Page 1 of 1

Returned value on Java API call

Posted: Thu Nov 14, 2013 7:41 am
by lionel
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

Re: Returned value on Java API call

Posted: Mon Nov 18, 2013 10:59 am
by Support_Jon
Hello Lionel,

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