Bookmark and Share Share

Controlling Service Invocation at Runtime

There are two attributes you can use in <directinvoke> to define runtime service invocation behavior in mashup scripts. Both attributes are optional:

  • Use the timeout attribute to set a maximum number of seconds to wait for a response. The default timeout is 5 minutes.

  • Use the onerror attribute to determine script behavior when invocation errors occur. This can be either continue to have the script continue with mashup statements or abort to stop any further mashup processing. Abort is the default.

    If you use the continue option, the EMML Reference Runtime Engine returns error information. See Error Handling for Component Services for more information.