Once you have successfully added a
WSDL document, you can drag-and-drop WSDL document into BPEL diagram to
create a partner service.
Now, you need to drag-and-drop WSDL_NorthAir_Reservation.wsdl file into
the diagram to create the WSDL implementation. When you drag??“and-drop the
WSDL file over the BPEL diagram automatically some parts of the diagram gets
highlighted as shown in the figure below. Ensure that you drop the file only on the
highlighted circle.
Building a Sample Application
[ 216 ]
When you drop the WSDL file on the diagram, you will be prompted to enter the
partner link information. Enter the partner link name as BPEL_NorthAirReservation
and select the WSDL File as shown in the following screenshot:
Chapter 10
[ 217 ]
Now, let us add activities to this BPEL process to make it deployable as a JBI module.
After adding receive, invoke, and reply activities, our BPEL process looks more
complete. The following figure shows semantically correct business process:
It works this way. The BPEL process receives a request for NorthAir Web Service
to process a guest itinerary. The BPEL process receives the request and invokes the
NorthAir Web Service operation processItinerary added as a partner service. Upon
getting itinerary confirmation, the BPEL process replies back to the invoking service.
Pages:
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195