Prev | Current Page 95 | Next

Frank Jennings, David Salter

"Building SOA-Based Composite Applications Using NetBeans IDE 6"

The
NetBeans SOA tools are still evolving at the time of writing this book.
Chapter 5
[ 101 ]
Now that you have configured a Receive activity, your BPEL should return
some result back to the caller. For that, our process should have a Reply activity.
Drag-and-drop the Reply activity from the Palette into the highlighted area after
the Receive activity.
Once you have added the Reply activity, double-click on the activity and configure
its properties. Enter ReplyFromHelloBP as the Name. Select SayHello_PL for the
Partner Link and select the operation from the drop down box (If there is only one
operation, it will be automatically selected.). Click the Create button, accept the
default name for the variable, and click OK.
BPEL Designer
[ 102 ]
After adding a Reply activity, take a look at our BPEL process. It doesn't do anything
yet, but at least looks semantically complete. You can't try to execute this business
process yet, as the variables in the BPEL are not initialized.
The objective of this BPEL process is to get a name from an external client and greet
the client. The name obtained from the client is the input variable of the Receive
activity. This variable should be copied to the output variable of the Reply activity
with a string literal 'Hello' concatenated to it.


Pages:
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
drukarki fiskalne kraków willa karmazyn międzyzdroje www.books61.hobbitstory.com terapia magnetyczna Informacje o hostingu