Servis-Rhino 4211B Betriebsanweisung Seite 290

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 289
transformation
type default, xslFile
xslFile file name
To invoke an adapter we create an object which contains an invocationsOptions object:
adapter The name of the adapter to invoke
procedure The name of the procedure to invoke
parameters An array of parameters
Next we can call the WL.Client.invokeProcedure(invocationOptions, resultOptions) function.
onSuccess
onFailure
invocationContext
For the callback functions the onSuccess object contains:
invocationContext
status
invocationResult
Here is an example of building an adapter that executes a BPM REST request. In this example, we
want to get a list of Process Apps. The call to achieve this is a GET request
to"/rest/bpm/wle/v1/processApps".
We start by creating a new Worklight Adapter:
We say that it will be an HTTP Adapter and give it the name "BPMRest":
Page 290
Seitenansicht 289

Kommentare zu diesen Handbüchern

Keine Kommentare