Skip to content

Home

Development

IDEs

API Explorer

Releases

Release notes

Martini Runtime

Martini Desktop

Martini Online

Feature requests

Bug reports

Invoking Gloop or Flux from Groovy

If you need to invoke Gloop or Flux services in your Groovy code, there's good news for you: it's possible! And to make it even better, the process is made simpler through a wizard that generates the Gloop or Flux-invoking Groovy snippet for you.

Generating Groovy code to invoke a Gloop or Flux service is so simple, it can be done in just a few steps:

Calling Gloop or Flux services in Groovy

Calling Gloop or Flux services in Groovy

  1. Right click the Gloop or Flux service that you want to invoke from Groovy and then click Generate Invoke Gloop Code from the appearing context menu.
  2. Choose which syntax you'd like the generated code to be written in - Java or Groovy.
  3. You will be given the generated code. From hereon, you have two options:

    To have the wizard create it for you, click Next. In the following screen, enter the location and name of the .groovy file.

  4. Click Finish.