March 3, 2021
Hot Topics:

Consider GlassFish ESB v2 for SOA Tooling

  • By Kelvin Meeks
  • Send Email »
  • More Articles »

Click "Create..." to create a Reply node Output Variable.

Figure 41: Create Reply node Output Variable

Accept the defaults provided and click "Ok".

Click "Ok" to save the modifications to the Reply node's properties.

You should now have a BPEL process that looks like the following:

Click here for a larger image.

Figure 42: BPEL Receive/Reply

So, what have you accomplished so far?

  1. Imported a WSDL.
  2. Created an empty BPEL process.
  3. Associated the imported WSDL with a Partner Link.
  4. Added a Receive node to the BPEL process.
  5. Associated the Receive node properties to the input WSDL operation.
  6. Added a Reply node to the BPEL process.
  7. Associated the Reply node properties to the output WSDL operation.

What's next?

For now, you will simply stub out a response value to be returned in the Reply Message.

In the interest of brevity for this article, I've left out any interaction with a database or calling another Web Service. Covering all of the features available within the GlassFish ESB is beyond the scope of an article such as this. The intent of this article is to give you enough of an overview to whet your appetite to explore further on your own. There are suggested links provided at the end of this article if you want to explore further.

Map the BPEL Request to the BPEL Reply

Add the "Assign" node to the BPEL process:

  1. Drag an "Assign" node from the Basic Activities palette.
  2. Drop it in the available open node that is between the getTroubleTicket Receive node, and the replyTroubleTicket Reply node.

Click here for a larger image.

Figure 43: Add Assign node to BPEL Process

Select the new "Assign" node in the BPEL process and click the "Mapper" menu item

Click here for a larger image.

Figure 44: BPEL Assign Mapper

Page 12 of 17

This article was originally published on January 29, 2009

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date