Accessing the fields within the Message Type-based variables

This recipe explains how to access fields within Message Type-based variables. We will reuse the two sample BPEL processes from the previous recipe since the request and response messages and their corresponding variables present Message Type-based variables.

Getting ready

This recipe builds on the two BPEL processes we created in the previous recipe named Manipulate1_1 and Manipulate2_0.

How to do it…

This recipe will show you how to access fields in Message Type-based variables in a BPEL process:

  1. Open the Manipulate1_1 BPEL process and add the assign activity (AssignMsgType).
  2. We assign the content from the request message to the content of the response message. We are actually performing ...

Get BPEL and Java Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.