Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in EMML | Writing Mashups in EMML | Invoking Component Mashups and Mashables | <invoke>
 
<invoke>
This statement invokes an operation for a registered MashZone NextGen mashable information source or another mashup.
For more information and examples, see:
See also Working Samples for sample mashups in MashZone NextGen for <invoke>.
You can quickly and easily create this statement in Mashup Editor. See Automatically Generating <invoke> Statements in Mashup Editor.
Can Contain
Empty
Allowed In
mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while
Attributes
Name
Required
Description
service
yes
The mashable or mashup ID for the publishedMashZone NextGenmashable to invoke.
serviceversion
Optional. Reserved for future use.
operation
yes
The operation ID to invoke in this mashable or mashup.
inputvariables
An optional list of input or variable names, separated by commas, to use as input parameters to the operation. Variables must be listed in the order in which the mashable or mashup operation expects input parameters.
Do not use the $ when referring to parameters or variables.
outputvariable
The name of the variable to hold the response from this invocation. This is optional.
header
The name of a variable containing headers to use when this mashable or mashup is invoked. The payload in a headers variable must be in the form:
<header>
service-specific payload for headers
</header>
responseheader
The name of the variable to receive headers in the response from this invocation. This is optional.
timeout
The maximum number of seconds to wait for a response before terminating this invocation. The default timeout is 5 minutes.
onerror
The behavior for the mashup script if errors occur when this mashable or mashup is invoked.
Valid values include:
*abort = Stops all further mashup script processing after an invocation error. If <invoke> is inside a <try> block, any exceptions may still be caught and handled by <catch> blocks.
*continue = Continues mashup script processing after an invocation error.
Note: If <invoke> is in a <try> block with onerror set to continue, the mashup ignores any <catch> blocks.
filterexpr
An optional XPath expression to use as a filter for the result of this mashable or mashup.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release