Exposing a One-Way Operation

A process can expose a one-way operation to receive a message from a client application. For example, it may do this to allow a client application to start an instance of the process, to inject a piece of data or to trigger an event.

Procedure

  1. Add or select the task or event that you intend to use to expose the web service operation. This must be one of the following types:
    • a receive task
    • a message start event
    • a catch message intermediate event
  2. On the General tab of the Properties view, Service Type (for a receive task) or Implementation (for a message event) is automatically set to Web Service.

Result

TIBCO Business Studio automatically generates a default service.

Note: A task or event that is to be exposed as a one-way web service operation cannot have a Response activity (such as a message end event) associated with it. Also, the Mode of all its formal parameters must be In.