SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 94 | Next

Frank Jennings, David Salter

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

wsdl to the highlighted circle on the BPEL diagram to create a
new partner link.
When you drag-and-drop any external component into the Design view of the BPEL
file, you will be prompted to create a new Partner Link. When the Create New
Partner Link dialog box appears, enter SayHello_PL as the partner link name and
click OK.
Chapter 5
[ 99 ]
The Design view of the BPEL process shows the newly created partner link with one
operation SayHelloOperation.
Our BPEL process needs at least one receive activity. From the BPEL Palette,
drag-and-drop a Receive activity into the highlighted area in the diagram.
BPEL Designer
[ 100 ]
Now, double-click on the Receive activity to open the Property Editor.
Type ReceiveName as the name of the Receive activity. Select the Partner Link
SayHello_PL and select the only Operation available: SayHelloOperation. Now,
click the Create button, accept the defaults, and click OK. Now, you can see an Input
Variable by the name of SayHelloOperationIn configured. Click OK.
Now, our BPEL diagram shows our BPEL processing by receiving a request through
the SayHello_PL Partner Link. You can switch to the Source view and take a look
at the generated BPEL code. If you already know BPEL, you can directly edit the
code. However, it is advisable to perform all operations through the Design view
because whatever is valid in Source view may not be supported in Design view.


Pages:
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106