SOA for the Business Developer: Concepts, BPEL, and SCA (Business Developers series)

The reply activity responds to a message received by one of the following kinds of inbound message activities (IMAs): a receive activity, an onMessage event (within the pick activity), or an onEvent handler.

<reply name="confirmQuote" partnerLink="agent" operation="requestQuote" variable="quoteResponse"/>

The partner link, port type, and operation used in the reply activity are the same as the partner link, port type, and operation used in the IMA.

Consider the following port type.

<wsdl:portType name="agentPT"> <wsdl:operation name="requestQuote"> <wsdl:input message="requestMessage" /> <wsdl:output message="responseMessage" /> </wsdl:operation> </wsdl:portType>

When the BPEL process is using a combination of IMA and reply activity:

The port type implies synchronous processing, which means that the requester suspends processing while waiting for a response. The requester may treat the invocation as synchronous or asynchronous, however, depending on the runtime software that handles the interaction between the two services.

Among the attributes of the reply activity:

Among the elements in the reply activity:

Категории