For the purpose of this
demo, do not worry if the Queue does not exist. It will be automatically created. Just
make sure GlassFish Application Server is running. Look at our new BPEL process:
Building a Sample Application
[ 250 ]
Configure the invoke activity of SendItinerary by double clicking on it. Create the
variables as described in the previous section. While configuring the partner link,
make sure that you click Swap Roles for the one way WSDL operation as shown
in the earlier part. Build the BPEL module and add it to a composite application as
described in the first section of this chapter. Our composite application now has five
WSDL ports with an additional JMS port.
From the Source Code ??“ Part D folder
Open NorthAirEJB, ReservationBPEL, and AirAlliance_CA NetBeans
project files and go through the code. When you open them for the first
time, you will get a 'Resolve References' warning. You may need to set
the correct target server for the EJB module and set the correct path to
the ReservationBPEL jar file for the composite application. Also note
ProcessReservation.wsdl. This wsdl is the web service that initiates
the BPEL process. If you are making changes to the ReservationBP.
bpel file in ReservationBPEL project, then you need to update the JBI
module again in this project.
Pages:
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219