Chapter 6 Building an Executable BPM: Working with Service Description Objects


Operation property sheet Input/Output tab of the operation

The Input/Output tab lets you define the type of the operation, the input message the operation can receive and the output message the operation can send.

It contains the following parameters:

Parameter Value Description
Type Allows you to define the type of the operation: Undefined, One Way, Request-Response, Solicit-Response and Notification. For more information, see table below
Input message Name Allows you to define a name for the operation input message
  Message Allows you to specify the input message an operation can receive
Output message Name Allows you to define a name for the operation output message
  Message Allows you to specify the output message an operation can receive

Type parameter

The following types of operations are available. Their differences reside in the presence and the sequence of input and output message:

Operation type Description
Undefined Default value
One Way operation Only has an input. The system that hosts the Web service just receives a message and does not need to respond. It only performs an internal work
Request-Response operation Begins with an input that is followed by an output. The system that hosts the Web service receives a message and returns a response message in a synchronous way (the caller is waiting for the response). Fault messages can also be specified and are sent as output in case of error
Solicit-Response operation Begins with an output that is followed by an input (unlike the Request-Response operation). The system that hosts the Web service sends an output message and then waits for a synchronous input response. Fault messages can also be specified to be received by the operation in place of the input message in case of error
Notification operation Only has an output. The system that hosts the Web service just sends a message without expecting a response

For more information about fault messages, see section Operation property sheet Faults tab.

Depending on the type you select for the operation, the Input message and Output message groupboxes change accordingly:


Type
Input message groupbox Output message groupbox
Undefined Empty and read only Empty and read only
One Way

(Sent by the activity)
You can type a name and select a message format Empty and read only
Request-Response

(Sent by the activity)
You can type a name and select a message format. The input message is handled first You can type a name and select a message format
Solicit-Response

(Received by the activity)
You can type a name and select a message format You can type a name and select a message format. The output message is handled first
Notification

(Received by the activity)
Empty and read only You can type a name and select a message format

Message Format parameter

You can click the list to display the list of available message formats. It contains all the message formats defined under the model. You can click the Create tool beside the Message list to create a new message format. You can also click the Properties tool beside the Create tool to display the message format property sheet.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.