Check out
the ReservationBP.bpel source code in the Part B folder. For help on adding BPEL
activities like Invoke, Reply, or Assign refer to the first section of this chapter and
Chapter 5 on BPEL Designer.
Chapter 10
[ 239 ]
From the Source Code ??“ Part B 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. If you are making changes, then
you need to update the JBI module again in this project. Right-click this
project and choose Edit Application Configuration.
You can see three WSDL ports are configured. Two ports use SOAP
bindings and one port uses JDBC binding.
In NetBeans, drill down to Services | Servers | Glassfish V[x] | JBI |Binding
Components. If you do not see sun-jdbc-binding, download the jar from:
http://download.java.net/jbi/binaries/open-jbi-components/main/
nightly/latest/ojc/
Then, right-click on Services | Servers | Glassfish V[x] | JBI |Binding
Components and choose Install New Binding Components and select the BC jar
that you downloaded from the above link.
Pages:
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211