Right-click on the Web Service and select Test Web Service to test your Web
Service. You can go to the Services tab | Servers | GlassFish V2 | Applications |
EJB Modules and check if your web service is deployed properly. If the Web Service
is deployed, you can find NorthAirWS entry under GlassFish V2 | Applications |
EJB Modules | NorthAirEJB.
Building a Sample Application
[ 208 ]
Creating the BPEL Process
Now that we have a Web Service running, let us create a business process to invoke
the web service.
You have to create a BPEL Module and add it to a Composite Application in order
for the business process to be deployed. From the New Project wizard, select
SOA | BPEL Module.
Add BPEL_Reservation as the Project Name.
Chapter 10
[ 209 ]
Once you have created a BPEL Module, it is time to create a BPEL process.
Right-click on the Process Files and select New | BPEL Process to create a New
BPEL Process as shown in the following screenshot:
The New BPEL Process wizard guides you through various steps
involved in creating a BPEL Process. Add the Target Namespace as
http://airalliance.org/bpel/BPEL_Reservation/BP_Reservation.
Building a Sample Application
[ 210 ]
The following diagram shows a BPEL Process that does nothing. You cannot do
much with this BPEL Process as it is incomplete and misses a receive activity.
Pages:
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192