Returned value on Java API call

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts Page 1 of 1

lionel

Posts: 2
Joined: Mon Oct 28, 2013 8:47 am

Post by lionel » 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

Support_Jon

Support Specialist
Posts: 62
Joined: Thu Jul 19, 2012 9:15 am
Location: Ashland, NE

Post by Support_Jon » Mon Nov 18, 2013 10:59 am
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
2 posts Page 1 of 1